Python Loops

Python Loops

Assessment

Assessment

Created by

Helen Dinsmore

Computers

9th - 11th Grade

847 plays

Medium

Student preview

quiz-placeholder

12 questions

Show answers

1.

Multiple Choice

30 sec

1 pt

Media Image

Look at the following code, what will it generate

1,2,3,4,5,6,7,8,9,10,11,12

0,1,2,3,4,5,6,7,8,9,10,11,12

1,2,3,4,5,6,7,8,9,10,11,12,13

0,1,2,3,4,5,6,7,8,9,10,11,12,13

2.

Multiple Choice

30 sec

1 pt

Media Image

What does the following program display?

1,2,3,4

1,2,3,4,5

counter,counter,counter,counter,counter

0,1,2,3,4,5

3.

Multiple Choice

30 sec

1 pt

Media Image

Media Image
Media Image
Media Image

1,2,3,4

4.

Multiple Choice

30 sec

1 pt

When do you know when you come to the end of the loop?

Its states End loop

The command End is given

The indentation stops

5.

Multiple Select

45 sec

1 pt

if you wished a loop to repeat 3 types whwt should you use?

For counter in range(0,5):

For counter in range(1.3):

For counter in range(0.3):

6.

Multiple Choice

30 sec

1 pt

Media Image

what is the name of the variable used in the following code?

counter

print

for

#

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Find a similar activity

Create activity tailored to your needs using

Quizizz AI
Python - Loops & Lists

15 questions

Python - Loops & Lists

assessment

7th - 11th Grade

Understanding Loops in Python

10 questions

Understanding Loops in Python

assessment

10th Grade

FOR Loops Python

12 questions

FOR Loops Python

assessment

9th - 12th Grade

Iteration - for loop

17 questions

Iteration - for loop

assessment

9th Grade

Programming with For Loops

12 questions

Programming with For Loops

assessment

7th - 9th Grade

Loops in Python !

15 questions

Loops in Python !

assessment

11th Grade

for loop 2

14 questions

for loop 2

assessment

6th - 12th Grade

Loops / Sets - Python

10 questions

Loops / Sets - Python

assessment

11th - 12th Grade