Basic Math
Variables
Flow Control
General Python
String Operations
100
This character denotes the division operator.
What is the forward slash (/) ?
100
This common variable type stores letters, numbers, and symbols.
What is a string?
100

The statement used to check conditions

What is an 'if' statement?

100
To comment a line in Python, you use this/these character(s).
What is a pound sign (#) ?
100

This operator "glues" two strings together.

What is the concatenation (+) operator?

200

9* 2/ 3 +6

What is 12 ?

200
This variable type stores decimal numbers.
What is a float?
200

The part of code that repeats code statements.

What is al oop?

200
This commonly used Python data structure contains a collection of items referenced by a numeric index.
What is a list?
200

Identify the letter printed from these lines of code: words = "GISRules!" print words[4]

What is 'u'?

300

The integer result of 9 / 5 without rounding up

What is 1?

300

The function used to store user input in variables.

What is input()?

300

What is the value of 'x' after the following Python code has completed executing?

x = 100

for n in range(1,5):

print(x)

What is 

100

100

100

100?

300

This is a list that can not be changed

What is a tuple?

300

Identify the letters printed from these lines of code: words = "GIS Rules!" print words[2]

What is 'S'?

400

These characters have the highest order of operation in Python.

What are parenthesis?

400
Data stored as a string is surrounded by these.
What are quotes?
400

Output:

n = 10

while n<100:

print n

What is 10 infinitely?

400
Python will warn on a logic error, but it will warn (and possibly error) on this type of error.
What is a syntax error?
400

The keyword used to take in user input

What is input()?

500
Denoted as '%', this operator returns the remainder of a division operation.
What is the modulus?
500
To determine the variable type of a variable, you would use this function.
What is type()?
500

The following Python code loops forever. The statement this code is missing

n = 10

while n<100:

print n

What is a increment statement/ break?

500
This built-in Python function returns the length of many objects, including Lists.
What is len()?
500

The output of this code segment

print("Apple"+5)

What is Apple5

M
e
n
u