University of Waterloo Logo and CEMC Banner

2016 Beaver Computing Challenge
(Grade 9 & 10)

Questions


Part A

Boxes

Story

Boxes are shown below. Each box is labeled with its mass in kilograms.

Five boxes labelled with 1, 2, 4, 8 and 16.

Xena the delivery beaver fills out a form to order boxes. For example, to order boxes totalling exactly 9 kilograms, she fills out the form as follows:

16 8 4 2 1

Question

How should she fill out the form to order boxes totaling exactly 20 kilograms?

  1. 16 8 4 2 1
  2. 16 8 4 2 1
  3. 16 8 4 2 1
  4. 16 8 4 2 1

Propagate

Story

Roberta Beaver has purchased an old computer that only allows one digit after the decimal point in any calculation. Anything after that digit is removed. Sometimes this results in an error which is the difference between the stored value and the exact value.

For example, if we try to compute \(\frac{7}{5}\) on Roberta’s machine, this will be stored as \(1.4\) which is the exact value of \(\frac{7}{5}\). This gives an error of 0. However, if we compute \(\frac{7}{4}\), this will be stored as \(1.7\) since \(\frac{7}{4}=1.75\) and “\(5\)” will be removed from the end. This gives an error of \(0.05\).

Extra digits are removed after every operation. For example, when Roberta computes \(\left({\frac{3}{2}}\right)\times\left(\frac{2}{3}\right)\), she computes \(\frac{3}{2}\) to give \(1.5\), then \(\frac{2}{3}\) to give \(0.6\), and then \(1.5 \times 0.6\) to give \(0.9\). This gives an error of \(0.1\).

Question

If Roberta computes \(\left(\left(\frac{10}{3}\right)\times\left(\frac{10}{3}\right)\right)\times 9\), what is the error?

  1. \(0.0\)
  2. \(1.3\)
  3. \(2.8\)
  4. \(3.3\)

Secret Recipe

Story

Beavers are preparing for a Food Festival. They would like to bake a cake but their baker is on vacation.

Keith decides to try to bake the cake. He remembers that it is important to add five essential ingredients in the correct order.

When he gets to the garden shown below, he finds a white piece of paper beside all but one ingredient. The paper shows which ingredient must be added next.

A description of the garden follows.

So, for example, a yellow five-petal flower must be added immediately after a pine cone. And, since there is no paper beside the strawberry, it must be added last.

Question

Which ingredient must be added first?

  1. strawberry
  2. red four-petal flower
  3. apple
  4. pine cone

Spherical Robot

Story

The BeaverBall is a toy operated by remote control which can be used to move the toy in four possible directions:

The four directions are North (N), South (S), East (E), and West (W).

The BeaverBall operates inside a tower with its initial position shown below.

A description of the tower follows.

If the BeaverBall moves to a white square, it drops down one level falling directly onto the square below. The BeaverBall ignores commands that cause it to move outside the tower.

Question

Which of the following lists of directions will cause the BeaverBall to reach the GOAL?

  1. E, W, N, W, W
  2. E, W, N, E, S, W
  3. E, W, E, N, S, W
  4. E, N, W, S, N, E, W

Secret Message

Story

Agents Boris and Bertha communicate using secret messages.

For example, Boris wants to communicate the following message to Bertha.

MEETBILLYBEAVERAT6

He writes each character in a 4 column grid from left-to-right and row-by-row starting from the top. He puts an X in any unused spaces in the bottom row. The result is shown below.

The grid has 4 columns and 5 rows. The character in each cell in the grid is given in the following table.

Then he creates the encrypted message by reading the characters from top-to-bottom and column-by-column starting from the left:

MBYVTEIBE6ELERXTLAAX

Bertha then uses the exact same method to reply to Boris. The encrypted message she sends to him is:

OIERKLTEILH!WBEX

Question

What was the original message sent by Bertha? (It does not contain an X.)

  1. OKWHERETOMEET!
  2. OKIWILLBETHERE!
  3. WILLYOUBETHERETOO?
  4. OKIWILLMEETHIM!

Part B

Late for Dinner

Story

Beaver Bob’s friends have invited him to dinner in Beaver Town at 7:00 pm. He leaves his house (Beaver Bob’s house) at 10:00 am. Bob wants to buy a gift for his friends at the Beaver Market. He also needs to pick up his son Rob at Beaver School before he drives to Beaver Town. It does not matter whether he buys the gift or picks up his son first. Bob’s car currently has enough fuel left to drive for 4 hours so he also needs to visit the Gas Station to refuel his car. Once he refuels his car, he can drive for another 9 hours. The time in hours it takes to travel between locations is indicated on the map. Bob can arrive early at his friends’ place but he cannot be late.

An alternative format for the map follows.

Question

Which route should Bob follow after leaving his house?

  1. Beaverlake \(\rightarrow\) Gas Station \(\rightarrow\) Beaver Tower \(\rightarrow\) Beaver Forest \(\rightarrow\) Beaver School \(\rightarrow\) Beaver Forest \(\rightarrow\) Beaver Market \(\rightarrow\) Beaver Town
  2. Beaver Mountains \(\rightarrow\) Beaver Tower \(\rightarrow\) Beaver Market \(\rightarrow\) Beaver Forest \(\rightarrow\) Beaver School \(\rightarrow\) Beaver Town
  3. Beaverlake \(\rightarrow\) Gas Station \(\rightarrow\) Beaver Tower \(\rightarrow\) Beaver Market \(\rightarrow\) Beaver Forest \(\rightarrow\) Beaver School \(\rightarrow\) Beaver Town
  4. Beaver Mountains \(\rightarrow\) Gas Station \(\rightarrow\) Beaver Tower \(\rightarrow\) Beaver Forest \(\rightarrow\) Beaver School \(\rightarrow\) Beaver Town

Log Mover

Story

Leslie the Beaver must drag logs one at a time through the system of canals and stations shown below. The logs must be dragged through canals in the direction of the arrows. The number in each arrow is the maximum total number of logs that can ever be dragged through the corresponding canal.

A description of the system of canals follows.

Question

What is the maximum number of logs that Leslie can drag from the start station to the terminal station?

  1. 4
  2. 5
  3. 6
  4. 7

Chain

Story

Cindy wrote a computer program which can be used to paint a chain of squares and triangles.

The following instructions make the program draw single shapes:

There is also a repeat instruction \(N[I]\) where \(N\) is a number and \(I\) is a sequence of instructions. This command makes the program repeat the instruction sequence \(I\) exactly \(N\) times in a row.

For example, the instruction sequence s 2[T t] S makes the program paint this chain:

The chain shows, in order from left to right: small square, big triangle, small triangle, big triangle, small triangle, big square.

Question

Which instruction sequence will make the program paint the following chain?

The chain shows, in order from left to right: big square, small triangle, small square, big triangle, small triangle, small square, big triangle, small triangle, small square, big triangle, small triangle, big square.

  1. s 3[t s T] t s
  2. S 3[t s T] S
  3. S 3[t s T] t S
  4. S 2[t s T] t S

Synchronized Robots

Story

Three robots work as a team in the warehouse shown below. The warehouse is a 6-by-6 grid.

A description of the warehouse grid follows.

When the team gets a direction symbol (N, S, E, or W), each robot moves one grid square in that direction at the same time.

After following a list of direction symbols, each robot picks up whatever object there might be in the same square as the robot. The robots do not pick up any other objects they encounter during their movements. The robots ignore movements that make them move outside the boundaries of the grid.

For example, if we give the list N, N, S, S, E to the team, then robot A will pick up a cone, robot B will pick up a ring, and robot C will pick up a cone.

Question

What list can be sent to the team so that the team picks up exactly a sphere, a ring, and a cone?

  1. N, E, E, E
  2. N, E, E, S, E
  3. N, N, S, E, N
  4. N, E, E, S, W

Firefighter

Story

The mayor of Beaverville is looking for volunteer firefighters. A map showing the possible volunteers’ homes and how they are connected by roads is shown below. He wants to ensure that every home in the town is either the home of a volunteer or is connected by a single road to the home of a volunteer.

9 homes are connected by 10 roads. Each road connects 2 homes together. Bob is connected to Ann, Cid and Dan. Hal is connected to Dan, Gus and Ian. Eve is connected to Cid and Ian, and Fay is connected to Cid and Ian.

Question

What is the minimum number of volunteers the mayor needs?

  1. 1
  2. 2
  3. 3
  4. 4

Part C

Find the Thief

Story

The famous Blue Diamond was stolen from a museum. A thief swapped it for a cheap green imitation diamond.

The day it was stolen, 2000 people entered the diamond room one by one. Inspector Bebro must find the thief by interviewing some of these people. He has a list of all 2000 people in the order they entered the room. The only question he can ask a person is:

Was the diamond green or blue when you saw it?

The thief will lie and say green but everyone else will tell the truth.

Question

Inspector Bebro is very clever and will use a strategy where the number of people interviewed is as small as possible. Which of the following statements can he say truthfully?

  1. I can guarantee that I will find the thief by interviewing at most 20 people.
  2. Interviewing 20 people will not be enough (unless I am lucky) but I can certainly find the thief by interviewing fewer than 200.
  3. This is going to be a difficult job: I will need to interview at least 200 people, but possibly as many as 1999 people.
  4. I cannot promise anything. If I am very unlucky, I might need to interview every single visitor.

Swinging Monkeys

Story

A maple tree is surrounded by two oak trees and two palm trees as follows:

The oak trees and palm trees alternate and circle the maple tree.

Five types of bananas, P, Q, R, S, T, are placed in the trees with a different type in each tree. The monkey is hungry and takes the same amount of time to eat any banana. The monkey starts on a tree and begins by eating a banana. The monkey then swings to other trees and eats bananas on those trees. It takes the monkey

The monkey eats bananas of type P, Q, S, R, T, R, P in that order.

Question

What types of bananas can possibly be in the maple tree if the total amount of time the monkey swings is as small as possible?

  1. P or Q or T
  2. P or S or T
  3. Q or S or T
  4. Q or R or S

Room Assignment

Story

A family of five beavers is moving into a new 4-level underground apartment that looks like the figure below. Each circle in the figure represents a space and each line represents a one-meter long tunnel.

A description of the diagram follows.

The beavers want to choose spaces for their bedrooms. If a space is remodelled into a bedroom, all of the spaces in the lower levels connected to that bedroom can no longer be used.

Each beaver has their own daily routine and goes out of their bedroom several times a day.

Question

If we want to minimize the total distance that all beavers travel in one day, at which level should Sarah’s bedroom be located?

  1. The 1st level
  2. The 2nd level
  3. The 3rd level
  4. The 4th level

L-Game

Story

Kiki and Wiwi are playing L-Game on a 4x4 board. The player who can no longer play a piece loses. They take turns placing L-shaped pieces one at a time with Kiki playing first so that

The diagram below illustrates a possible board after each player has placed a piece once.

A description of the diagram follows.

Question

Starting from an entirely empty board, how many of Kiki’s nine possible first moves guarantee that Kiki will win no matter what?

  1. 0
  2. 1
  3. 2
  4. 3

Magic Potions

Story

Betaro Beaver discovered five types of magic potions with the following effects:

Betaro put each magic potion into a different cup and additionally put water into a sixth cup. Betaro labelled the cups A to F and forgot to record which cup contains which magic potion!

Betaro called Taki for help. She solved the problem by experimenting on three of their other friends:

In Figure 1, the effects are longer ears, longer teeth, and a white nose. In Figure 2, the effects are longer ears, and white eyes. In Figure 3, the effects are curly whiskers, and a white nose

Question

Which one of the cups contains pure water?

  1. Cup A    
  2. Cup B     
  3. Cup C      
  4. Cup D