Symbols and Math
Basic Input and Output
Communication
Theory
Ms Prince
100

These symbols are used to perform the four basic math operations in Python.

What is +, -, * and /?

100

This command allows the user to answer questions by providing text to the program.

What is input?

100

True or False: Variable names should start with numbers and can contain special characters

What is
False?

100

Eclipse is an IDE which stands for…

What is Integrated Development Environment?

100
Another subject that Ms Prince teaches at Havergal.

What is Math?

200

These two commands allow you to recreate the quadratic formula

What is math.sqrt() and math.pow() or **?

200

If the underlined value is inputted by the user to a variable called word, provide the code that would output this sentence.

Bowser is the best!

print (word, “is the best!”)
print (“{} is the best!”.format(word)

200

These are the four elements of a properly documented program header in code.

What are 
#name
#date
#program name
#purpose

200

This is what you write when you create a program. (two words)

What is source code?

200

Ms Prince's son.

Who is Callum?

300

This command allows you to ensure that answers are properly rounded to the highest whole number.

What is math.ceil?  

Or

What is round(variable, 0)?

300

To print labelled output with two variables.
a= “Ms. Buzanis”
b= “Mr. Cardinale”
Ms. Buzanis and Mr. Cardinale are teaching grade 9 extended math this year

What is

print (“{}, and {} are teaching grade 11 CS this year!”).format(a,b)

300

These variable types share similar commands and both work for storage.

What are strings and lists?

300

This is the part of the IDE that runs through your code line by line.

What is the compiler?

300

The house that Ms Prince is in.

What is Edith Nainby?

400

These two lines of code will allow you to generate a random number from
2 to 15.

What is the following:

import random

random.randint(2,15)

400

This command would be used to print the exact statement:

“To be or not to be” by Hamlet

What is
print ("\"To be or not to be\" by Hamlet")

400

True or False: Python3 will calculate this statement as 0.5 not 0.

print (½)

What is True?
it would be 0 in Python2 and 0.5 in Python3.

400

This is the part of the IDE that takes the 0s and 1s and turns them into a running program.

What is the virtual machine?

400

The University Ms Prince attended?

University of Waterloo 
500

This command allows you to ensure that all answers are set to two decimal places.

What is the format command?

a = format(a, ‘.2f’)

500

This command allows me to convert an integer that is inputted to a floating point in one line.

What is 

val = float(input(b))?

500

This variable type is a list of items that cannot be changed enclosed by regular brackets.

What are tuples?


500

This is what we call the orange box that includes all of the parts of the software the make the program become runnable.

What is the interpreter?

500

The competitive sport Ms Prince did for 17 years. 

What is Figure Skating?