Python 03 For Loop

Python 03 For Loop

4th - 9th Grade

15 Qs

quiz-placeholder

Similar activities

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

Edublocks Year 7

Edublocks Year 7

7th Grade

20 Qs

python (coding)

python (coding)

3rd - 6th Grade

20 Qs

Python - Selection (IF statements)

Python - Selection (IF statements)

9th - 12th Grade

17 Qs

Computer Programming Vocabulary - Per 1& 3

Computer Programming Vocabulary - Per 1& 3

5th - 7th Grade

15 Qs

Q4 Project

Q4 Project

9th - 12th Grade

12 Qs

Python Programming

Python Programming

3rd Grade - University

17 Qs

Python Basics Quiz

Python Basics Quiz

6th - 10th Grade

15 Qs

Python 03 For Loop

Python 03 For Loop

Assessment

Quiz

Other

4th - 9th Grade

Medium

Created by

codeJuniors codeJuniors

Used 41+ times

FREE Resource

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

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?