Scanner & If Statements
Quiz
•
Computers
•
5th - 12th Grade
•
Hard
+1
Standards-aligned
Khushi H
Used 38+ times
FREE Resource
Enhance your content in a minute
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Evaluate (to true or false) each of the following expressions:
14 >= 14
15 > 15
16 != 16
18 >= 19
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Evaluate the following expression:
2 + 2 == 4
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Evaluate the following expression
Math.pow(2, 3) >= 9;
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
True/False: The body of an "if" statement will only be executed if the condition is true.
True
False
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What happens to the code in the body of an "if" statement if the condition is false?
The computer determines if it is essential to the program and if it is, then the code is executed anyway.
The code moves to a coastal city, attempting to find love and start a family. However, low waged and crushing mortgage rates lead to it moving back home where it sits, hoping that one day it will be executed.
The code is skipped.
The code stages a revolution and attempts to take over the program, ultimately unsuccessfully, which leads to it not being executed.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these can be paired with an "if" statement to represent other outcomes of a scenario?
or
else
but
sheboygan
Tags
CCSS.L.1.1G
CCSS.L.3.1H
CCSS.L.5.1A
CCSS.L.5.1E
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which symbol means "not equal to"?
==
<=
>=
!=
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
13 questions
WJEC GCSE ICT Unit 1 E-Mail
Quiz
•
9th - 10th Grade
20 questions
Advantages and Disadvantages of Collecting Data
Quiz
•
10th Grade
16 questions
Unit 8 Practice Test For CSP
Quiz
•
9th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
20 questions
DPS Jorhat - Robotics Skill Assessment
Quiz
•
6th - 8th Grade
15 questions
LA1.C1: Introduction to Small Basic
Quiz
•
9th Grade
18 questions
12AIT - All About W3C <3
Quiz
•
10th Grade - University
20 questions
Google Docs Basics Quiz
Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
