Python Loops

Python Loops

Assessment

Flashcard

Computers

9th - 11th Grade

Practice Problem

Hard

Created by

Wayground 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

Media Image

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

Media Image

Back

1,2,3,4

3.

FLASHCARD QUESTION

Front

Media Image

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?

Media Image

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

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?