Loops

Loops

10th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

Gmetrix JavaScript Session 3 Test

Gmetrix JavaScript Session 3 Test

9th - 12th Grade

10 Qs

SURATNO HADI SAPUTRA

SURATNO HADI SAPUTRA

KG - University

10 Qs

3.7 - Bagian 2 - X RPL 1

3.7 - Bagian 2 - X RPL 1

10th Grade

10 Qs

KS4 Programming Techniques (1)

KS4 Programming Techniques (1)

8th - 10th Grade

10 Qs

Robotics/Coding Pop Quiz

Robotics/Coding Pop Quiz

4th Grade - Professional Development

10 Qs

Pseudocode Practice Quiz

Pseudocode Practice Quiz

9th - 12th Grade

7 Qs

Hari 3 - Kuis Coding dan Perkenalan Al

Hari 3 - Kuis Coding dan Perkenalan Al

3rd Grade - University

10 Qs

Loops

Loops

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Used 16+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A do ... while loop is a:
conditional loop
unconditional loop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A for loop is an example of a:
conditional loop
unconditional loop

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is boolean logic required for conditional loops?
It enables the condition to be expressed
it keeps the loop going for ever

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When will this loop end?
for (int i =0; i < 50; i++){
System.out.println("hello");
}
after 50 repetitions
after 1 repetition
when a condition is met
after 100 repetitions

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When will this loop end?
do {
  system.out.print("hello");
  i = i + 1;
  } while (i<20);
when i = 21
when i = 10
when the condition is not met
when i = 50

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You can have an IF without and else but not an else without an IF
True
False