Loops & Iteration

Loops & Iteration

Professional Development

10 Qs

quiz-placeholder

Similar activities

The Power of Habit

The Power of Habit

Professional Development

6 Qs

Python Functions

Python Functions

Professional Development

10 Qs

Process Quiz 1

Process Quiz 1

Professional Development

10 Qs

Understanding the OODA Loop

Understanding the OODA Loop

Professional Development

9 Qs

MS Excel

MS Excel

Professional Development

15 Qs

7290-158 Diagnosing Chassis faults L2

7290-158 Diagnosing Chassis faults L2

Professional Development

9 Qs

Quiz 4 Earthing and Lightning Protection

Quiz 4 Earthing and Lightning Protection

Professional Development

10 Qs

Stoma & Wound Care

Stoma & Wound Care

Professional Development

6 Qs

Loops & Iteration

Loops & Iteration

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Elankayer Sithirasenan

Used 3+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?