Python Loops Review

Python Loops Review

9th - 12th Grade

19 Qs

quiz-placeholder

Similar activities

Iteration

Iteration

9th - 12th Grade

15 Qs

For vs While

For vs While

8th - 10th Grade

20 Qs

APCSP Semester Review

APCSP Semester Review

8th - 9th Grade

20 Qs

Python - While loop

Python - While loop

9th - 10th Grade

19 Qs

APCSP Semester Review

APCSP Semester Review

8th - 9th Grade

20 Qs

While Loop

While Loop

8th - 9th Grade

20 Qs

Tin 11 - Lặp Python

Tin 11 - Lặp Python

12th Grade

23 Qs

For and While Loops in Python

For and While Loops in Python

9th - 12th Grade

16 Qs

Python Loops Review

Python Loops Review

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

R M

Used 123+ times

FREE Resource

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image
5
6
21
36

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

5

6

21

36

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image
A
B
C
D

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image
What will the following lines of code print?
A
B
C
A
C
Nothing, it will return an error.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is another way of writing the following code? 
Score = Score + 1 
Score.add(1)
score + 1
Score + Score
Score += 1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement will check to see if a is equal to b?
if a == b
if a = b:
if a != b:
if a == b:

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

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?