Loops

Loops

10th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

S2 Sphero Knowledge Check 2

S2 Sphero Knowledge Check 2

11th Grade

10 Qs

Hari 3 - Kuis Coding & Perkenalan AI

Hari 3 - Kuis Coding & Perkenalan AI

1st Grade - University

10 Qs

Explaining Scratch Code - Basics

Explaining Scratch Code - Basics

5th - 11th Grade

10 Qs

Quiz 13 - For Loops

Quiz 13 - For Loops

11th Grade

10 Qs

Robotics/Coding Pop Quiz

Robotics/Coding Pop Quiz

4th Grade - Professional Development

10 Qs

Python

Python

10th Grade

8 Qs

Loops

Loops

10th - 12th Grade

6 Qs

[AP CSP] Unit 4 Review: Functions and Lists

[AP CSP] Unit 4 Review: Functions and Lists

9th - 12th Grade

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