Search Header Logo

Python Loops Review

Authored by R M

Computers

9th - 12th Grade

Used 135+ times

Python Loops Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

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

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?