Observe
Describe exactly what is visible. Separate observations from guesses.
Observe the dice. Test a hypothesis. Use evidence. Revise your thinking. That is how computer scientists turn a mystery into an algorithm.
Begin with the clues
Polar bears, they come in pairs.
How many polar bears do you see?
They sit around the hole in the ice
like petals around a flower.
Fish swim in a hole.
How many fish are in the sea?
Look below.
Take control.
Fish eat plankton, so they hang out
How many plankton?
where the fish are not.
They travel in groups of seven.
Try multiplying the spots.
Investigate with a partner
Describe exactly what is visible. Separate observations from guesses.
Propose one rule for bears, one for fish, and one for plankton.
Choose a roll that could prove your rule wrong. Record the evidence.
Keep what the evidence supports and revise what it does not.
Interactive lab
Count from the top faces only. Enter your three predictions, then verify the complete roll.
After the reveal
Once your class has investigated, open the explanation. Notice how each thinking move maps to a core computer science practice.
An odd face has one center pip, so 1, 3, and 5 each contain one hole.
On an odd face, count the pips around the center: 0 on a 1, 2 on a 3, and 4 on a 5.
Fish are below each hole. Opposite sides of a standard die add to 7, so fish beneath an odd face equal 7 minus the top value.
Plankton appear where fish do not: on even faces. Each visible pip represents a group of 7 plankton.
You compared examples to find relationships that repeat.
You split one large mystery into smaller bear, fish, and plankton problems.
You ignored unneeded details and represented each die with the few facts that affect the result.
You turned the pattern into precise steps using sequence, selection between odd and even faces, and iteration across every die.
You tried inputs, compared predicted and actual outputs, and revised an incorrect rule.
The rule as pseudocode
holes ← 0
bears ← 0
fish ← 0
plankton ← 0
FOR EACH die
IF die is odd
holes ← holes + 1
bears ← bears + (die - 1)
fish ← fish + (7 - die)
ELSE
plankton ← plankton + (die × 7)