Basic Syntax
Variables and Data Types
Conditionals
Loops
Lists and Tuples
100

The first type of code we wrote this semester

What is a print statement? 

100

This data type deals with whole numbers

What is an integer? 

100

the three types of conditional statements 

What are if, elif, and else? 

100

This loop is typically used when iterating over a list or range

What is a For Loop? 

100

The purpose of a list

What is storing multiple pieces of data at a time? 

200

These need to be used when typing words or phrases in a print statement

What are quotations? 

200

The abbreviation for strings

What is str? 

200

This word means "Else If"

What is "Elif"? 

200

This loop continues until a condition is false

What is a While Loop? 

200

This is the number index that every list begins with

What is Zero? 

300

The set of rules that a language uses to create structure 

What is the definition of syntax? 

300

This happens to the decimal when I convert a float into an integer

What is it rounds up or down depending on the value? (.4 and less down, .5 and more up)

300

The purpose of this operator: >=

What is greater than or equal? 

300

the set of all possible values between 2 numbers 

What is the range? 

300

Using this command will display a single item from a given list

What is the index command? 

400

This command allows the user to print on a separate line

What is \n? 

400

The four main data types used in Python

What are Strings, Integers, Floats, and Booleans? 

400

The output for this code:

x = 5  

if x > 10:  

    print("Big")  

else:  

    print("Small")

What is "Small"?

400

The number of times a program is run

What is an iteration? 

400

These are the 3 ways that items cam be added to an already existing list 

What are append, insert, and extend? 

500

Find the error in the following program: 

Color = input "What is your favorite color?"

print("I love " + Color + "too!!")

What is no parentheses () around "What is your favorite color"?

500

The output for this code: 

Points = 77

print(float(Points))

What is 77.0? 
500

Find the error in the following code: 

x = 85

if x < 59:

print("Fail")

elif x > 60:

print("Pass")

What is no indention on print statements? 

500

The output for the following for loop: 

for i in range(2,269,2):

     print(i)


What is every even number between 2 and 268? 

500

These are the differences between a List and a Tuple (must name both for points)

What is Tuples are permanent and lists are not, and tuples use parentheses and lists use brackets?

M
e
n
u