Java Control Structures

Java Control Structures

11th Grade - Professional Development

39 Qs

quiz-placeholder

Similar activities

2023-2024 Fall final study guide

2023-2024 Fall final study guide

9th - 12th Grade

37 Qs

Java Control Flow and Collections

Java Control Flow and Collections

11th Grade - Professional Development

39 Qs

Java Basics

Java Basics

11th - 12th Grade

35 Qs

Latihan 1 PBO XI RPL 2

Latihan 1 PBO XI RPL 2

10th Grade - University

40 Qs

FINAL_EXAM (CFP_122)

FINAL_EXAM (CFP_122)

University

35 Qs

Exception in Java

Exception in Java

University

41 Qs

CS A 3.1 Boolean Expressions

CS A 3.1 Boolean Expressions

9th - 12th Grade

34 Qs

ย้อนหลัง กลางภาค Java ระดับต้น

ย้อนหลัง กลางภาค Java ระดับต้น

KG - University

40 Qs

Java Control Structures

Java Control Structures

Assessment

Quiz

Computers, Education, Instructional Technology

11th Grade - Professional Development

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?