University of Waterloo Logo and CEMC Banner

Beaver Computing Challenge
(Grade 9 & 10)

Questions

Part A

Roped Trees

Story

Joni Beaver uses rope to mark groups of trees. The rope forms a very tight loop so that each tree either touches the rope or is entirely inside the loop. Below is an example where the rope touches exactly 5 trees when viewed from above.

Question

How many trees will the rope touch if the trees are arranged as follows (when viewed from above)?

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

Rotation Game

Story

Beavers play a simple game. The game always begins with this starting position:

In a 2 by 2 grid, the top left square is red, the top right square is green, the bottom left square is blue, and the bottom right square is yellow.

From this starting position, rotation instructions are followed. All the rotations are clockwise and one quarter of a complete turn. The possible instructions are:

For example, if the first instruction is 2R, the top-left square will be Yellow as shown below.

In a 2 by 2 grid, the top left square is yellow, the top right square is blue, the bottom left square is green, the bottom right square is red.

Question

From the starting position, what colours will the top-left square be after each of the instructions 1R, 2R, 2R, and 3R are followed in order?

  1. Red Green Blue Green Yellow
  2. Red Blue Green Blue Red
  3. Red Blue Yellow Red Green
  4. Red Red Yellow Red Blue

Sharing a Driveway

Story

Neighbours share a very long and narrow driveway. Cars parked in the driveway can only leave by backing out. A schedule has been created so that nobody is ever blocked in when they need to leave the driveway. On each day, any cars which need to leave do so before any other cars enter. Before Monday, there are no cars in the driveway. The table below gives details of how the driveway is shared over one week.

Day Number of cars leaving Number of cars entering Owners of cars and order they enter
Monday 0 2 Ariadne, Bob
Tuesday 1 3 Kate, Ben, Roy
Wednesday 2 1 Daisy
Thursday 0 2 Finn, Rose
Friday 3 1 Vincent

The driveway at the end of Monday is shown below:

There are two cars in the driveway. Ariadne's car is in front of Bob's.

Question

Whose cars will be parked on the driveway at the end of Friday?

  1. Bob, Vincent, Daisy
  2. Vincent, Ariadne, Rose
  3. Ariadne, Kate, Vincent
  4. Ariadne, Daisy, Vincent

Beaver Jump Challenge

Story

Beavers take part in an annual challenge. Starting from rock number 0, they jump clockwise from rock to rock. For example, if a beaver jumps 8 times, it ends up on rock number 3:

0 \(\rightarrow\) 1 \(\rightarrow\) 2 \(\rightarrow\) 3 \(\rightarrow\) 4 \(\rightarrow\) 0 \(\rightarrow\) 1 \(\rightarrow\) 2 \(\rightarrow\) 3

Five rocks form a circle in a pond. The rocks are labelled 0, 1, 2, 3, and 4, in order around the circle in the clockwise direction. A beaver jumps from rock 0 to rock 1.

Question

One of the beavers showed off and jumped an astonishing 129 times. On which rock did it end up?

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

Lemonade Party

Story

James made 37 litres of lemonade at home and now he wants to bring it to a celebration at school. He has several empty bottles of various sizes but he wants to use the smallest number of them to bottle exactly 37 litres of lemonade.

He has one bottle of each of the following sizes:

Question

What is the least number of bottles James needs to use?

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

Part B

Beaver Lake

Story

Beavers live in a valley surrounded by mountains. In the valley, there is a lake. The lake is surrounded by fields with either trees or stones.

A lake is surrounded by several layers of fields moving away from the lake.

Every day, beavers flood all those fields with trees that are next to the lake or flooded fields. Fields with stones are not flooded.

For example, after one day, three fields will be flooded, as shown above.

Question

After how many days in total will all the fields with trees be flooded?

  1. 4 days

  2. 5 days

  3. 6 days

  4. 7 days

Longest Word Chain

Story

Beavers play a word chain game. One beaver starts by saying a word. The other beaver must say a different word which begins with the last letter of the previous word. Then the first beaver says another word (which was not said yet) using this same rule, and so on. If a beaver is unable to say a new word, that beaver loses the game. These beavers do not know many words. In fact, they can draw their entire vocabulary like this:

An alternative format of the word chain diagram follows.

Notice that an arrow out of a word points at the next possible word(s) that can be said.

Question

What is the largest possible number of words that can be said in one game?

  1. 6
  2. 7
  3. 8
  4. 9

Twists and Turns

Story

Tom lives in a city with a lot of twists and turns. His mom forgot her phone at home and asked Tom to bring it to her at work. She sent Tom the following street map to help him find his way.

A 6 by 6 table with each cell containing either an obstacle or arrows marking one or more directions. An alternative format for the street map table can be found at the end of the Story.

The map is a table with rows \(A\), \(B\), \(C\), \(D\), \(E\), \(F\), and columns 1, 2, 3, 4, 5, 6. Tom starts in the first row and column (location A1) and his mom is located in the last row and column (location F6).

There is one symbol at each location on the map. The symbols have the following meanings:

Question

According to the map, which of the following is a valid route from Tom to his mom?

  1. A1 (Down) B1 (Down right) B2 (Down right) B3 (Down right) C3 (Down) D3 (Down left) E3 (Down right) E4 (Obstacle) F4 (Down right) F5 (Down right) F6 (Mom)
  2. A1 (Down) B1 (Down right) B2 (Down right) B3 (Down right) B4 (Up left) C4 (Down right) D4 (Down right) D5 (Down right) D6 (Down) E6 (Down left) F6 (Mom)
  3. A1 (Down) B1 (Down right) B2 (Down right) B3 (Down right) C3 (Down) D3 (Down left) E3 (Down right) F3 (Down right) F4 (Down right) F5 (Down right) F6 (Mom)
  4. A1 (Down) B1 (Down right) B2 (Down right) B3 (Down right) C3 (Down) D3 (Down left) D4 (Down right) D5 (Down right) D6 (Down) E6 (Down left) F6 (Mom)

Three Friends

Story

Bob Bicycle, Alice Skateboard, and Jenny Scooter are each playing at a different intersection in the 8-by-8 grid below. They want to choose an intersection where they can all meet to show off their different vehicles.

A grid with three vehicles and four intersections marked. A description of the grid can be found at the end of the Story.

They will each travel to the chosen location moving only horizontally and vertically along grid lines.

Question

Which intersection should be chosen, so the three friends travel the shortest total distance?

  1. the intersection marked by a green circle ()
  2. the intersection marked by a red square ()
  3. the intersection marked by a blue triangle ()
  4. the intersection marked by a yellow rhombus ()

Timetabling

Story

Bebras Tech offers the following evening classes:

Three beavers would like to sign up for these courses:

Bebras Tech wants to squeeze these courses into as few evenings as possible such that:

Question

What is the least number of evenings needed for Bebras Tech to schedule these courses?

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

Part C

Bulbs

Story

An amateur electrician connected 6 bulbs (numbered 1, 2, 3, 4, 5, and 6) to 6 switches (labelled A, B, C, D, E, and F). Each switch operates exactly one bulb but nobody knows which one. Each switch can be either up or down, but we don’t know which position corresponds to the bulb being on and which position corresponds to the bulb being off. To make matters worse, this could be different for different switches.

Four experiments were conducted to determine which switch is connected to which bulb. The results of these experiments including the position of the switches and on/off status of the bulbs are shown below.

An alternative format for the diagram follows.

Question

Which switch is connected to which bulb?

  1. C \(\rightarrow\) 1, E \(\rightarrow\) 2, D \(\rightarrow\) 3, A \(\rightarrow\) 4, F \(\rightarrow\) 5, B \(\rightarrow\) 6
  2. C \(\rightarrow\) 1, F \(\rightarrow\) 2, E \(\rightarrow\) 3, A \(\rightarrow\) 4, D \(\rightarrow\) 5, B \(\rightarrow\) 6
  3. C \(\rightarrow\) 1, F \(\rightarrow\) 2, D \(\rightarrow\) 3, E \(\rightarrow\) 4, A \(\rightarrow\) 5, B \(\rightarrow\) 6
  4. C \(\rightarrow\) 1, F \(\rightarrow\) 2, B \(\rightarrow\) 3, A \(\rightarrow\) 4, D \(\rightarrow\) 5, B \(\rightarrow\) 6

Nesting Dolls

Story

Wooden toy dolls have different widths and heights. They are hollow and can be separated into two parts. This means that a doll can be nested inside any other doll that is both wider and higher.

For example, a doll with width 5 and height 5 fits inside a doll with width 10 and height 10, which in turn fits inside a doll with width 20 and height 20. After this, only one doll is visible.

On the other hand, a doll with width 20 and height 20 cannot fit inside a doll with width 25 and height 15. Also, a doll with width 25 and height 15 cannot fit inside a doll with width 20 and height 20. So, if these are the only two dolls, they will both always be visible.

Ian has the following collection of dolls and starts fitting them inside each other.

Seven dolls. The dimensions of the dolls, given as width by height, are 45 by 45, 30 by 15, 25 by 35, 50 by 30, 40 by 25, 10 by 10, and 20 by 20.

Question

What is the fewest possible number of dolls that are visible after Ian is done?

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

Plane Signals

Story

Jana and Robin play outside with their toy plane. Jana stands on a hill and Robin collects the plane after each landing. The plane always lands in long grass, which means, after landing, it is only visible from the hill and not up close. So, Jana uses a beacon and the following code to send Robin signals guiding her to the plane.

Direction Left Right Towards the hill Away from the hill
Code A beacon pointing up A beacon pointing up A beacon pointing to the right A beacon pointing up A beacon pointing to the right A beacon pointing up A beacon pointing to the right A beacon pointing up A beacon pointing to the right

Unfortunately, there is a problem. Some signals received by Robin have multiple meanings. For example, suppose Jana sent the following signal to Robin:

A beacon pointing up A beacon pointing up A beacon pointing to the right A beacon pointing up A beacon pointing up

Jana could mean either Left, Towards the hill, Left or she could mean Left, Right, Left, Left.

Jana and Robin have to revise the code to fix this problem.

Question

For which of the following codes do all signals have only one meaning?

  1. Direction Left Right Towards the hill Away from the hill
    Code Up beacon Up beacon Right beacon Up beacon Right beacon Right beacon Up beacon Right beacon Up beacon Right beacon
  2. Direction Left Right Towards the hill Away from the hill
    Code Right beacon Up beacon Right beacon Up beacon Up beacon Right beacon
  3. Direction Left Right Towards the hill Away from the hill
    Code Up beacon Right beacon Right beacon Up beacon Right beacon Right beacon Right beacon Up beacon Up beacon Right beacon
  4. Direction Left Right Towards the hill Away from the hill
    Code Up beacon Right beacon Right beacon Right beacon Up beacon Up beacon Right beacon Right beacon Up beacon Up beacon

Rows and Columns

Story

A game board with four pieces on it is shown below together with a diagram representing it.

Four circles marked with letters lie on an 8 by 8 grid of squares. Circle A is in the second square in the second row. Circle B is in the second square in the fifth row. Circle C is in the sixth square in the fifth row. Circle D is in the second square in the sixth row.    Four circles labelled A, B, C, and D. Lines connect A to B, B to D, and D to A. An edge also connects C to B.

The diagram is drawn in the following way

Rich draws a diagram for the following board in the same way.

Six circles on an 8 by 8 grid. There are circles in the second, fifth, and seventh squares in the second row, and circles in the second, fifth, and seventh squares in the fifth row.

Question

Which of the four diagrams might Rich have drawn?


  1. Seven circles arranged to form the six vertices of a hexagon and the centre of the hexagon. Lines connect adjacent vertices of the hexagon and connect each vertex to the centre of the hexagon.

  2. Four circles arranged to form the vertices of a rectangle. The top and bottom sides of the rectangle each have an additional circle at their midpoint. Lines connect adjacent circles around the perimeter of the rectangle. Also, lines join the each of the two midpoint circles to the two vertices of the rectangle on the opposite side.

  3. Three circles arranged to form a large triangle, with a horizontal base and top vertex. Three other circles form a small triangle, with horizontal base and top vertex, inside the large triangle. Lines join adjacent vertices on each triangle. Also, lines join each vertex on the large triangle to the corresponding vertex on the small triangle.

  4. Six circles arranged to form the six vertices of a hexagon. Lines connect adjacent vertices of the hexagon. Also, a line connects the first vertex of the hexagon to the third, the third to the fifth, and the fifth to the first forming a triangle inside the hexagon.

Find the Prize

Story

Your friend is thinking of an integer between 1 and 63 (inclusive).

They offer to give you money if you guess the integer they are thinking of.

If you guess the number on your first guess, you win $1000. Every time you guess incorrectly, your friend will take $10 away from the prize money, but also tell you whether your guess was above or below the integer they were thinking of.

You find a strategy that guarantees you win at least $N, regardless of the number your friend is thinking of.

Question

What is the largest possible value of \(N\)?

  1. $990
  2. $950
  3. $500
  4. $370