Python Data
Python Iteration
Random Python
Python Statements
If, elif and else
100

True or false?

While loop : it is a repetition statement that will repeat a code block a counted number of times

false

100

True or false?

Repeating a block of code forever or for a set number of times is called a loop.

True

100

What command do you get user response?

 input()

100

True or false ?

All the statements below the while loop with tab spacing are part of the loop. This code block will be repeated when the condition is true.

True

100

What are the 3 selection commands you learned?

 if, elif, else

200

What data type is text?

 string or character

200

What is missing in this line of code:

for   in loop:

i or another loop marker 

200

For Python code that needs repeated, it needs to be ___ under the loop.

A-bolded

B-indented

C-underlined

D-colored

B-indented

200

What symbol will multiply numbers?

 *

200

What command term could follow an if statement on the next line of code?

else or elif

300

What data type is 3.56?

  float

300

In Python, a ________ loop repeats a code block as long as the condition of the code is True.

While 

300

What data type is the number 3?

 int

300

What is a variable?

 stored piece of information

300

What command should you use instead of multiple if statements?

elif

400
What is the result of: print("5"+"3")


 53

400

This loop can only be used when the programmer knows the number of times a code is to be repeated.

For 

400

Are they the same: Cat and cat

 NO

400

A condition is :

A- a statement that is either True or False

B- an integer

C- a string

D- a list

A- a statement that is either True or False

400

In our relpit.com application is an IDE, what does this stand for?

Integrated Development Environment

500

In programming, what is iteration?

A- The repetition of steps within a program

B- A decision point in a program

C- The order in which instructions are carried out

D- Testing a program to make sure it works

A- The repetition of steps within a program

500

In programming, what is iteration?

A- The repetition of steps within a program

B- A decision point in a program

C- The order in which instructions are carried out

D- Testing a program to make sure it works

A- The repetition of steps within a program

500


What is the output?

15

sum starts at 0 and each value of i is added through the loop. 

0+1, 1+2, 3+3, 6+4, 10+5 

500

What symbol comes after an if statement?

 :

500

What is the output?

1,2