Python Loops

Python Loops

Assessment

Flashcard

Computers

9th - 11th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

11 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Look at the following code, what will it generate? Options: 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

Back

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

2.

FLASHCARD QUESTION

Front

What does the following program display? Options: 1,2,3,4, 1,2,3,4,5, counter,counter,counter,counter,counter, 0,1,2,3,4,5

Back

1,2,3,4

3.

FLASHCARD QUESTION

Front

Back

Media Image

4.

FLASHCARD QUESTION

Front

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

Back

The indentation stops

5.

FLASHCARD QUESTION

Front

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

Back

counter

6.

FLASHCARD QUESTION

Front

Which of the following is an acceptable variable name?
no-text,
8text,
no_text,
no_text$

Back

no_text

7.

FLASHCARD QUESTION

Front

What is the name of the environment in Python that write your programs and then test them out? Options: Shell, Window, IDLE, CLI

Back

IDLE

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?