Java Syntax specifies a block of code to be executed when the condition is true.
REVIEW QUIZ FOR & WHILE LOOP

Quiz
•
Computers
•
10th Grade
•
Medium
Richard Avila
Used 24+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if
else
else if
if else
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It is a Java Syntax that selects one of many code blocks to execute. Most of the time, they coded as "cases."
Java Loop
Java Operator
Java Switch
Java Math
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
for (int x = 5; x < 10; x++) {
System.out.print(x);
}
5 6 7 8 9
5 6 7 8 9 10
5 4 3 2 1 0
4 5 6 7 8 9 10
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Java Syntax executes the block of code repeatedly until a specified condition is reached.
Strings
Operators
Arrays
Loops
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int i = 0;
while (i <= 5) {
System.out.println(i); i++;
}
What will be the output?
0 1 2 3 4
0 1 2 3 4 5
1 2 3 4 5
1 2 3 4
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int x = 20;
int y = 18;
if (x > y) {
System.out.println("x is greater than y");
}
Is the statement TRUE or FALSE?
TRUE
FALSE
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Java Syntax specifies a block of code to be executed when the condition is false.
else
if
else if
if else
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Programming

Quiz
•
1st - 10th Grade
15 questions
C Programming Concepts

Quiz
•
10th Grade
10 questions
AP Computer Science-Quiz 2(G10)

Quiz
•
9th - 12th Grade
10 questions
Arrays

Quiz
•
10th - 12th Grade
14 questions
Exploring Computer Science

Quiz
•
10th - 12th Grade
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
10 questions
Java Print Statements Warm-Up

Quiz
•
9th - 12th Grade
10 questions
Week 3 Arduino Basics Quiz

Quiz
•
7th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade