Variable Types
Print/Input
Math
Loops and Functions
General
Functions Category
Loops
Math operators
100

variable = "this"

String

100

What does this output? print("Hello, World")

Hello, World

100
How do you print the sum of the variables a and b
print(a+b)
100
what does this statement do?

for i in range of 4():

     print "hello"

print hello four times
100
Who just joined the Bruins?
Rick Nash or Chris Breen or Brian Giota or Nick Holden
200
variable = 22
Integer
200
How would you get an input from the user and assign it to a variable named name?
name = input()
200
print "a" + "b"
ab
200
what word is used to define a function?
what is def
200

Who invented the world wide web?

Sir Tim Berners-Lee

300
variable = 55.5
Float
300
How do you ask the user to enter their integer age?
age = int(input())
300
print "a" * 3
aaa
300
How does Python know what code is part of a function or loop?
what is indented
300
what TV show/comedy group is python named for?
Monty Python
400
variable = True
Boolean
400
What does a float input look like?
decimal = float(input())
400
print "a" + str(3)
a3
400
how do you used the function called move_forward?
move_forward()
400
what does AI stand for in computer science?
Artificial Intelligence
500
What is a variable and what are 2 types of variables?
Something that stores a value.

string, integer, float, boolean

500

How do you print Area: 50 using a variable for area called var_area 

print "Area: " + str(var_area)
500
print "a" + 3
error message
500
what is wrong with this function?


def Make_table():

   forward(30)

   left(90)



what is capital M
500
How do you print the type of the variable x?
print type(x)
500
We want Tracy the Turtle to move forward 30. What is wrong with this code?

forward = 30 

no equals and need parenthesis

forward(30)

500

what is wrong with this loop syntax?


for i in range(4)

    print "hello"




no : 


for i in range(4):

500

what is 17 % 3? 

2

% is the modulus operator, returns the remainder

M
e
n
u