Basic data types and data structures
Conditional Execution
Repetitive Execution
Operations and Functions
Miscellaneous
100

How to change an integer variable into a string.

What is the str() function?


100

The symbol that signals to python a block of code is starting.

What is a Colon (:)

100

This is what happens when the condition in a while statement is false.

What is nothing!   

Or more accurately:

What causes the while loop to stop executing.  

100

The operator symbol utilized for concatenating str() variables in Python

What is the Plus sign (+)

100

What the "A" stands for in PEMDAS

What is Addition

200

The three data types we learned

What are integer, String, and boolean?

200

The two possible values for a boolean statement

What are True and False

200

A statement that can finish the execution of a loop?

Break

200

%

What is the modulus operator.

200

The three types of errors we learned in class.

What are syntax error, runtime error and logic error?

300

How to create a str() variable in Python

What are quotes or the str() function?

300

Selection

(The definition, not an example).

What is running one block of code vs another based on a condition?

The example is an if statement.

300

A loop that runs a specific number of times.

A For loop. It is a loop that has a definite iteration window or length.

300

Three essential (non-optional) elements for defining a function

What are: Keyword def, function name, colon. 

E.g., def function_name():

Parameters are OPTIONAL!

300

This is how Python knows where there is a blocks of code (e.g., functions, conditional, loops)?

A colon : followed by identation.

400

It always returns a string variable

What is the input function?

400

The first statement is a boolean comparison that checks if the two values are equal and the second statement assigns a value to a variable.

What is a == b  vs.  a = b?

400

The while loop repeats indefinitely.

What is an Infinite loop which happens when the condition in the while statement is always True.

400

Causes the function to stop and transforms the function call into the value in the statement.

What is a Return statement?


400

The function that is not included in PEMDAS that we need to know.

What is Modulus %?

500

Two Characteristics of variables in python.

What are name and type?

500

This is when you put an if statement inside another if statement.  Or in general any conditional statement inside another conditional statement

What is a Nested if statements, or in general nested conditional statements.

500

Iteration.

What is repeating a block of code based on a condition?

500

The function of the 3 parameters in the range statement.

What is:

Where to start

The number before it stops

The increment

500

Three functions built into Python that you have used.

Note: Karel functions are not built into Python!

What are str(), print(), input(), range(), int()

M
e
n
u