Scanner & If Statements
Quiz
•
Computers
•
5th - 12th Grade
•
Practice Problem
•
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"?
==
<=
>=
!=
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
20 questions
L4 Homework
Quiz
•
8th Grade
20 questions
Quiz ASJ
Quiz
•
12th Grade
17 questions
PSTS1 Informatika
Quiz
•
10th Grade
20 questions
Quiz
•
7th - 12th Grade
20 questions
M1_Final_Quiz1_2017
Quiz
•
7th - 8th Grade
13 questions
Five Nights At Freddy's: Security Breach Quiz
Quiz
•
KG - Professional Dev...
21 questions
Lecture Exercise Topic 1.3
Quiz
•
12th Grade
20 questions
Klaviatuuri kordamine
Quiz
•
6th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
10 questions
Module 2 Vocab
Quiz
•
5th Grade
18 questions
[AP CSP] JavaScript Programming Lesson 2025-2026
Lesson
•
9th - 12th Grade
57 questions
[AP CSP] Unit 5 Review: Internet & Cybersecurity
Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
15 questions
Google Sheets
Quiz
•
7th - 8th Grade
10 questions
Introduction to Coding
Interactive video
•
3rd - 6th Grade
