Python Loops

Python Loops

Assessment

Flashcard

Other

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

24 questions

Show all answers

1.

FLASHCARD QUESTION

Front

The program above

Back

prints all the odd numbers between 1 and 20

2.

FLASHCARD QUESTION

Front

The equivalent of the above for loop using the while syntax would be

Back

Media Image

3.

FLASHCARD QUESTION

Front

The above program prints

Back

Numbers 1 to 10 in reverse order

4.

FLASHCARD QUESTION

Front

The program above prints each number between 1 and 10

Back

as many times as the number itself

5.

FLASHCARD QUESTION

Front

The program above prints each number between 1 and 10

Back

as many times as the number itself

6.

FLASHCARD QUESTION

Front

How many times will 1 be printed? *Hint: the reversed function makes no difference :)

Back

3

7.

FLASHCARD QUESTION

Front

What is the output? Options: Syntax error, prints numbers 0 to 100, prints numbers 1 to 100, prints numbers 0 to 99, prints numbers 1 to 99

Back

Syntax error

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?