Loops & Iteration

Loops & Iteration

Professional Development

10 Qs

quiz-placeholder

Similar activities

Pivot Tables

Pivot Tables

Professional Development

10 Qs

Design Basics of Substation  engineering

Design Basics of Substation engineering

Professional Development

10 Qs

Soal PPPK Pedagogik 4

Soal PPPK Pedagogik 4

Professional Development

15 Qs

Trg@home 1

Trg@home 1

Professional Development

10 Qs

Pre and Post Test

Pre and Post Test

Professional Development

10 Qs

Pre & Post Test QCC

Pre & Post Test QCC

Professional Development

10 Qs

Microsoft 365

Microsoft 365

Professional Development

11 Qs

SLS PS 2.0 Types of Learning Experiences (LE)

SLS PS 2.0 Types of Learning Experiences (LE)

Professional Development

10 Qs

Loops & Iteration

Loops & Iteration

Assessment

Quiz

Professional Development

Professional Development

Practice Problem

Hard

Created by

Elankayer Sithirasenan

Used 3+ 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

1 min • 1 pt

A loop that iterates for a specific number of times is called a

while loop

if - then - else

for loop

no loop

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A while loop will continue to iterate as long as the condition remains

true

false

true or false

true and false

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

when will this while loop terminate ?

number = 100

number = 1

number = 0

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

what will be the value of count at the print statement ?

number of lines in the document

number of words in the document

number of characters in the document

zero

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

what will be the value of count at the last statement ?

count = 100

count = 50

count = 10

count = 0

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

if

dayName = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']

what will be dayName[2] ?

Mon

Tue

Wed

Thu

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

For a while loop to function correctly, what has to be true from the following statements (select one) ?

parameters in the loop condition should be always true

parameters in the loop condition should be always false

parameters in the loop condition should change within the loop

parameters in the loop condition should not change within the loop

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?