REVIEW QUIZ FOR & WHILE LOOP

REVIEW QUIZ FOR & WHILE LOOP

10th Grade

10 Qs

quiz-placeholder

Similar activities

C++ dasar

C++ dasar

10th - 12th Grade

9 Qs

Evaluación IV Parcial INTAE

Evaluación IV Parcial INTAE

10th Grade

14 Qs

C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

LA7.C7: Turtle Graphics

LA7.C7: Turtle Graphics

9th Grade - University

14 Qs

Arrays, 2D Arrays, and ArrayLists

Arrays, 2D Arrays, and ArrayLists

9th - 12th Grade

15 Qs

python A

python A

10th Grade

13 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Паскаль. Основные команды

Паскаль. Основные команды

8th - 11th Grade

10 Qs

REVIEW QUIZ FOR & WHILE LOOP

REVIEW QUIZ FOR & WHILE LOOP

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Richard Avila

Used 24+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java Syntax specifies a block of code to be executed when the condition is true.

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?