Coding #1
Coding #2
Random Trivia #1
Random Trivia #2
Random Trivia #3
100

Describe what this code will do:

RegularPolygon(150, 200, 125, 6, fill='indigo', border='black')

Produces a regular hexagon centered at (150, 200) with a radius of 125 with the border and fill and shown.
100

What are the two fonts that are used in our CMU version of Python?

arial and monospace

100

Before "hello" was introduced into the language, what word did people use when answering the phone? 

(Hint: Pirates)

"Ahoy" (Thomas Edison coined the term "hello" by the way)

100

What national holiday, the unofficial end of summer, was first observed in 1894?

Labor Day

100

What ever-popular blonde doll did Jack Ryan create in 1958?

Barbie

200

Describe what this code will do:

def onMouseRelease(mouseX, mouseY):

Circle(mouseX, mouseY, 40, fill='lightSteelBlue')


When the mouse is released a circle of radius 40 with the fill shown is produced where your mouse is

200

What would this code do?

Label('TARGET', 200, 300, fill='red', size=65, bold=True)

Draw a label that say "TARGET" in bold red that is centered at (200, 300) with a font size of 65.

200

What term did Vice President Alben Barkley coin as a shorthand for his position?

"Veep"

200

In 1915 President Wilson designated what holiday as the second Sunday in May?

Mother's Day

200

Pong, introduced by Atari in 1975, was what new type of game?

Atari

300

Explain what this code would do.

Changes the width and height of the oval based on mouse position.

300

What would this code do?

def onMousePress(mouseX, mouseY):

Line(200, 300, mouseX, mouseY, fill='limeGreen', lineWidth=5)

Star(mouseX, mouseY, 20, 6, fill='hotPink', roundness=70)

Circle(mouseX, mouseY, 8, fill=gradient('orange', 'yellow'))

Draws a flower where the mouse is clicked and a stem that is attached to it starting at (200, 300)...which is where the vase was in this particular exercise.

300

What famous Florida region takes its name from the Spanish word cayos, meaning "small islands"?

The Keys; off the tip of Florida
300

What holiday is the number-one day for sales for fresh cut flowers?

Valentine's Day

300

What popular board game features Chance and Community Chess cards?

Monopoly

400

def onMouseMove(mouseX, mouseY):

dot1.centerX = mouseX

dot1.centerY = mouseY

dot3.centerX = mouseX

dot3.centerY = 400 - mouseY


Dot 1 follows the mouse exactly and Dot 3 reflects Dot 1 in a vertical movement.

400

Explain what this code would do:

belly = Circle(200, 230, 70, fill='white', border='black', borderWidth=15)

def onMousePress(mouseX, mouseY):

belly.radius += 3

if (belly.radius > 100):

hungryLabel.visible = True


When the mouse is pressed the belly gets bigger.  Once the belly get's above a radius of 100, a hungry label is shown.

400

Texas congressman Maury Maverick coined a term to describe meaningless government chatter.  The word sounds like a turkey call.  What is it?

Gobbledygook

400

What spring holiday was originally called "Decoration Day"?

Memorial Day

400
What board game was marketed as a "Sweet little game for sweet little people"

Candy Land

500

Explain what this code will do.

if (mouseX < 200):

greenPolygon.addPoint(mouseX, mouseY)

pinkPolygon.addPoint(400 - mouseX, mouseY)

When the mouse is clicked on the left side a point gets added to the green polygon.  Also

a reflecting point gets added to the pink polygon.

500

Describe what this code will do:

connect = Polygon(fill='orangeRed', border='black')

def onMousePress(mouseX, mouseY):

connect.addPoint(mouseX, mouseY)


When the mouse is pressed, a point is added to connect to the polygon that is already showing.

500

What great American author (whose real name is Samuel Clemens) took for his name a riverboat phrase meaning "water two fathoms deep"?

Mark Twain

500

What two states celebrate "Patriots Day"?

Maine and Massachusetts

500

What popular "course" game did Garnet Carter introduce in 1927 (Hint: windmills)

Mini-golf