Loops

Loops

10th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

Grupi II_mesimi online

Grupi II_mesimi online

12th Grade

10 Qs

Ciência de Dados - Cálculo da Probabilidade de Sucesso

Ciência de Dados - Cálculo da Probabilidade de Sucesso

12th Grade

10 Qs

Luyện tập Bài 20. Câu lệnh lặp for (T1)

Luyện tập Bài 20. Câu lệnh lặp for (T1)

9th - 12th Grade

10 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Network Security

Network Security

9th - 11th Grade

10 Qs

Bài tập trắc nghiệm C++(tiếp)

Bài tập trắc nghiệm C++(tiếp)

3rd Grade - University

10 Qs

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

Basic Printf

Basic Printf

1st - 10th Grade

10 Qs

Loops

Loops

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Medium

Used 16+ times

FREE Resource

AI

Enhance your content in a minute

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

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

Access all questions and much more by creating a free account

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

Already have an account?