Loops
Variables
Operations
Functions
Logic
100

Type of loop that repeats a block of code a specific number of times.

What is a "for" loop?

100

A container that stores a value.

What is a variable?

100

The result of the expression 4 + 3 * 2.

What is 10?

100

The parameter in the function below:

def square(number):
   return number * number


What is num? 

100

Answer (True or False) to the following condition when x = 9.

(x != 9)

What is False?

200

A loop that starts at 1 and ends at 5 repeats this many times.

What is 5?

200

If x = 10 and then x = x + 5, this is the new value of x.

What is 15?

200

The result of the operation (3 + 1) * 9.

What is 36?

200

The name of the function in the code below:

def greet():    
   print("Hello!")


What is greet?

200

The output of the following code:

number = 5

if(number > 10):
   print("I'm bigger than 10!")

What is blank or nothing?


300

This is what the loop below prints

for i in range(3):
    print("Hi")

 What is "Hi" printed 3 times?


300

This is why programmers use variables instead of typing numbers directly into code.

What is to store values so they can be reused or changed?

300

The result of the operation 3 x 5 + 5?

What is <Syntax Error> or Error?

(You can't use the letter "x" as a multiplication symbol!)

300

Why functions are used in computer programs.

What is to keep code organized and avoid repetition?

300

The word that tells the computer to check something. 

What is if?

400

The reason we use loops instead of writing the same lines over and over.

What is to avoid typing the same code over and over?

400

Type of variable that stores text inside quotation marks.

What is a String?

400

The result of integer division: 7 // 2.

What is 3?
400

Word that is used to create a function in Python.

What is def?

(def means "define)

400

Type of variable used to tell is something is True or False.

What is a Bool or Boolean?

500

A loop that never stops running.

What is an infinite loop?

500

What this code prints

name = "Ava"
age = 13
print("name + age")

name + age

500

This operator (%) gives you this type of result.

What is remainder?

500

The purpose of the word "return" in a function.

What is to return a value?

500

The following code's output:
Hint: If something is false, it won't run the code that comes after it!
if(False or False):
   print("Python")
elif(True and True):
   print("Snake")

What is Snake?