You have eight Kinder Surprise Eggs (http://en.wikipedia.org/wiki/Kinder_Surprise)
but are told
that one is missing its toy inside and is
hence lighter than the rest. You don't want to open this egg and face the disappointment of finding no toy. Luckily, you also have a balance: you
load both pans of the balance, and whichever side is heavier sinks. If both pans contain the same weight, the balance stays level. Describe a process
for discovering which egg is the empty egg.
Note: You don't want to simply shake each egg to find the one without the toy because you may damage the chocolate egg.
You have a four litre bucket, a seven litre bucket and an endless supply of water. How to obtain exactly five litres of water?
Here are the OCTranspo instructions for getting from CU to the VIA Rail station. Think of three things that could go wrong for
someone trying to follow these instructions.
***
At 21:32, walk to stop CAMPUS / COMMONS (6612) (1 min.).
At 21:33, take Bus route 4 (OC Transpo) direction Hurdman. At 21:48,
arrive at station HURDMAN 1D (3023) (15 min.).
Walk to station HURDMAN 1B (3023) for transfer.
Wait 4 minute(s).
At 21:53, take Bus route 94 (OC Transpo) direction Millennium. At 21:55,
arrive at station TRAIN 1A (3024) (2 min.).
Walk to VIA Rail. Arrive at 21:58 (3 min.).
***
There is a circle centred at coordinate (x0,y0) = (100,100) with radius r=5. Given some point (x,y) how can you determine if the point is inside the circle or not? [You need a bit of math here.]
You have 5 lights in a row and their positions are fixed. Each light can be either on or off (and no light is burnt out). How many different configurations of the lights (each being off or on) are there? What if there were 8 lights in a row? What if there were 32 lights in a row?
Note: For all of your sketches, the output window should have width and height at least 200 (but do not make them extremely large).
Draw a picture of a sailboat. Use at least 3 different shapes (Processing functions). The three different shapes should be easily identified.
Draw a red triangle with a thick blue outline, an orange rectangle with a thin black outline and yellow circle with no outline. None of the objects should touch.
Draw a five-pointed yellow star on a blue background.
Draw the your name. Use the line() function and any shapes that you need. You do not have to use your actual name, but the name you use should have at least 3 letters in it.
Bonus: Using the curve() function draw your name using cursive writing or in calligraphic form. Use the strokeWeight() function to improve the look of your name.