Scanner & If Statements

Quiz
•
Computers
•
5th - 12th Grade
•
Hard
Khushi H
Used 38+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
14 >= 14
15 > 15
16 != 16
18 >= 19
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
2 + 2 == 4
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
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
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which symbol means "not equal to"?
==
<=
>=
!=
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Arrays in Java

Quiz
•
9th - 12th Grade
15 questions
JavaScript Quiz

Quiz
•
9th - 10th Grade
20 questions
קלט פלט משתנים והוראות השמה

Quiz
•
7th Grade - University
20 questions
Kuis Informatika kelas X TF dan KDS

Quiz
•
10th Grade
20 questions
Sistem Komputer

Quiz
•
10th Grade
19 questions
Java Base

Quiz
•
9th - 12th Grade
23 questions
Important Keys

Quiz
•
9th Grade
20 questions
Basic JavaScript Review

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade