Python Flashcard 7 (Loops)

Python Flashcard 7 (Loops)

Assessment

Flashcard

Other

6th - 8th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Look at this code, how many times will it loop? Options: 50, 90, 0, 4

Back

4

2.

FLASHCARD QUESTION

Front

What is another way of writing the following code? 
Score = Score + 1 

Back

Score += 1

3.

FLASHCARD QUESTION

Front

What are the two main types of loops that we have learned about in Python? Options: IF Function & Variables, FOR and WHILE Loops, Forever and Fixed Loop, Data Types and Numbers

Back

FOR and WHILE Loops

4.

FLASHCARD QUESTION

Front

What is the word used to describe repetition in programming?

Back

Iteration

5.

FLASHCARD QUESTION

Front

The program above

Back

prints all the odd numbers between 1 and 20

6.

FLASHCARD QUESTION

Front

for i in 100 :
print ( i )

Back

Syntax error

7.

FLASHCARD QUESTION

Front

Repeats a statement or group of statements while a given condition is TRUE. It tests the condition before executing the loop body.

Back

while loop

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?