Java Control Structures

Quiz
•
Computers, Education, Instructional Technology
•
11th Grade - Professional Development
•
Medium
Ciandra Pancho
Used 72+ times
FREE Resource
39 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
allows selection of specific sections of code to be executed
decision control structures(if,else,switch)
repetition control structures(while,do-while,for)
branching statements(break,continue,return)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
allow executing specific sections of code a number of times
decision control structures(if,else,switch)
repetition control structures(while,do-while,for)
branching statements(break,continue,return)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
allows redirection of program flow
decision control structures(if,else,switch)
repetition control structures(while,do-while,for)
branching statements(break,continue,return)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
allows us to change the ordering of how the statements in our programs are executed
decision control structures
repetition control structures
control structures
branching statements
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
specifies that a statement(or block of code) will be executed if and only if a certain boolean statement is true.
if-else statement
if statement
else if statement
nested if-else statement
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output?
int grade = 68;
if(grade > 60) {
System.out.println("Congratulations!");
}
"Congratulations!"
Congratulations!
Syntax Error
Compilation Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output?
int grade = 68;
if(grade > 60) {
System.out.println("Congratulations!");
System.out.println("You passed!");
}
Congratulations!
You passed!
"Congratulations!"
"You passed!"
Congratulations
You passed
Create a free account and access millions of resources
Similar Resources on Wayground
35 questions
SKT5 : Bab 3 : c) Standard Library, Subaturcara, Tatasusunan

Quiz
•
10th - 12th Grade
40 questions
Java Quiz

Quiz
•
University
37 questions
AP CSA Review Set #1

Quiz
•
9th - 12th Grade
40 questions
STS GANJIL KONSENTRASI KEAHLIAN 11 RPL

Quiz
•
11th Grade
40 questions
Penilaian Akhir Semester Ganjil - PBO Kelas XI RPL -SMK_AB

Quiz
•
11th Grade
34 questions
PL PGSQL

Quiz
•
University
35 questions
GUIA NO 4 FINAL JUEGO DINAMICO

Quiz
•
9th - 12th Grade
35 questions
Quiz PBGTM Kelas XI

Quiz
•
11th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade