Python 1
python 2
python 3
python 4
python 5
100

True or false?

While loop : it is a repetition statement that will repeat a code block a known 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 application did we use for python coding?

PyCharm

200

What data type is text?

 strings

200

What is missing in this line of code:

print(hello world")

 opening quotes

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 is noun in this line of code:

print("top of the spooky",   noun  ,".")

 variable

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 are the 3 selection commands you learned?

 if, elif, else

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

What is the output?

1,2

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??

for num in range (0,15,3):

    print(num)

a-0,3,6,9,12

b-0,3,6,9,12,15

a-0,3,6,9,12

500


What is the output?

15

500

What symbol comes after an if statement?

 :

500

What comes after an if statement?

 elif statement or else

M
e
n
u