Search Header Logo

Python Iteration

Authored by Mr Abbas

Computers

9th Grade

Used 96+ times

Python Iteration
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

39 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

To repeat until a particular condition is true use

while loop
for loop
if loop
indentation

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The second part of if, that is executed when the condition is false

if
else
for
input

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Data type that can only be true or false

int
string
bool
float

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A variable that can hold a collection of values, often called an array in other programming languages

list
int
string
constant

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The character that must be at the end of the line for if, while, for etc.

:
;
.
,

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Tells the interpreter that the code which follows is a function

const
int
def
while

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Converts a number to a string

str()
int()
parseInt()
convert

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?