Variables and Data Types
Strings
Arithmetic
Input / Output
Mystery
100

How can you declare a variable called x with the value of 1?

What is x = 1?

100

Can strings have spaces in them?

What is yes?

100

What is the output of the following code

print(1 + 1)

What is 2?

100

What is the error, if any, in the following code?

print(x,y)

What is no error?

100

How do you create comments in Python?

What is using """ or # to comment out line(s)?

200

What is the data type of 2.2? 

What is a float?

200

What are the two symbols you can use to surround text to make it a string?

What is ' and "?

200

Which operation comes first in Python's order of operations?

  1. *
  2. +
  3. -

What is *?

200

What is the error, if any, in the following code?

x = input("Input a number")
print(x + 1)

What is not casting the input into an int?

200

Which of the following is an invalid name for a variable in Python?

  1. _best_coder
  2. 2ndCoder
  3. BESTCODER

What is 2ndCoder?

300

Can the name of a variable be changed?

What is no?

300

What will be the output of "Steel" + "City"

  1. Steel City
  2. SteelCity
  3. Error

What is SteelCity?

300

What is the output of the following code

print(5 + 10 / 2)

What is 10.0?

Remember the order of operations!

300

Where can Python programs take input from?

What is the terminal or console?

300

Is code being used to run this Jeopardy game?

What is yes?

400

How can you cast the string "15" into an integer?

What is int("15")?

400

Which of the following are strings? There can be more than one string.

  1. String
  2. "String"
  3. 'String'
  4. "(String)"

What is "String", 'String', and "(String)"?
No partial credit!

400

What is the operation for raising a value to a power in Python?

i.e. How would you calculate 2^10 in Python?

What is **?

400

What is the error, if any, in the following code?

x = input()

What is no error?

400

What is the error, if any, in the following code?

print("Thank " + "you" + " for", "playing!")

What is no errors?

500

What is the output of the following code?

print(int(6.6) / 2)

What is 3.0?

500

Does the following code run without any errors?

print("Hello')

What is no?

500

What is the output of the following code?

print(2 * 10 % 7)

What is 6?

500

What is the error, if any, in the following code?

x = int(input("Input your age"))
print("You are " + age + "years old")

What is concatenation is impossible between integers and strings?

500

What is the output of the following code?

x = 5
x += 2
x *= 2
print(x)

What is 14?

M
e
n
u