Basic Math
Variables
General Python
String Operations
100

This character is the division operator.

What is the forward slash (/) ?

100

This common variable type stores letters, numbers, and symbols.


BONUS POINTS: What symbols go around a string?

What is a string?


BONUS ANSWER: Quotation marks " " or ' '

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

These characters have the highest order of operation in Python.

What are parenthesis?

200

This variable type stores decimal numbers.

What is a float?

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 = "GIS Rules!" print words[4]
What is 'R'?
300

The result of 9 // 5

What is 1?

300

What keyword do we use to get an information from the user?

What is input()?
300
In Python, this is the smallest element of a program that can be executed.
What is a statement?
300

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

What is 'GIS Rules'?

400

To raise the number 5 to the power of 8, you must use the exponent operator. This symbol is the power operator.

What are two asterisks (**) ?

400

The way that we convert a data type to a string is...

What is str()?

OR

What is format()?

400

This built-in Python function returns the length of whatever item is inside of the parentheses.

What is len()?

400

This function returns a string with one word switched out for another word.

What is replace()?

500

Shown as '%', this operator returns the remainder of a division operation.

What is the modulus?

500

The name of taking two strings and combining them with a "+".

What is concatenation?

500

This is an error caused when the rules of Python are not followed.

What is a syntax error?

500

This string method returns a string that has been combined with an integer without needing to be converted using str().

What is format()?

M
e
n
u