Search Header Logo

Python 03 For Loop

Authored by codeJuniors codeJuniors

Other

4th - 9th Grade

Used 43+ times

Python 03 For Loop
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

#How many hallos will be printed?

5

None

4

6

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

for loop can

Repeat Task

Have a counter

Loop a certain amount of time

All answers are correct

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

#What is the output?

1,2,3,4,5

0,1,2,3,4

1,2,3,4

5,4,3,2,1

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

#What will happen?

"hallo" will be printed forever (Infinite loop)

"hallo" won't print at all

"hallo" will print once

Error

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does break do?

Escape the While and For Loop

helps with commenting

break code for debugging

Escape the if else statement

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

#What is the output if the user type "PYTHON"?

Welcome!

Try Again!

Error

Enter password

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

To repeat a fixed number of times use...

While loop

For loop

If loop

Indentation

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?