
Python Loops Review
Authored by R M
Computers
9th - 12th Grade
Used 133+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
5
6
21
36
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
5
6
21
36
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
A
B
C
D
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will the following lines of code print?
A
B
C
C
A
C
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?