University of Waterloo Logo and CEMC Banner

2024 Beaver Computing Challenge
(Grade 9 & 10)

Questions

Part A

Beaver Robot

Story

Beaver Robot can say sentences containing exactly 3 words.

6 words in Box 1: I, YOU, BEAVERS, CAN, HELP, PLEASE. 8 words in Box 2: LOVE, LIKE, CAN, ME, HELP, NEED, YOU, US. 6 words in Box 3: HELP, SWIM, CARROTS, LOVE, YOU,
WATER.

Question

Which sentence below cannot be said by Beaver Robot?

  1. CAN YOU HELP
  2. BEAVERS CAN SWIM
  3. I LOVE YOU
  4. YOU NEED ME

Rattle

Story

A baby’s rattle is made of a clear circular tube with colourful balls inside. When the baby shakes the rattle, some balls can move through the tube. An example of the rattle before and after it is shaken is shown.

Four images of the tube
with 5 different coloured balls. The first shows all balls at the bottom
end. Moving clockwise, they are ordered red, yellow, green, blue, pink.
The second and third show the red bead moving clockwise around the tube,
followed by the yellow bead. The fourth shows all balls at the bottom.
Moving clockwise, they are ordered green, blue, pink, red, yellow.

While there is room for the balls to move, there isn’t room for one ball to move past another ball.

Question

Which of the following could be the baby’s rattle after it has been shaken again?

  1. All balls are at the
bottom end of the tube. Moving clockwise, the balls are ordered blue,
pink, red, yellow, green.
  2. All balls are at the
bottom end of the tube. Moving clockwise, the balls are ordered red,
yellow, blue, green, pink.
  3. All balls are at the
bottom end of the tube. Moving clockwise, the balls are ordered yellow,
blue, pink, red, green.
  4. All balls are at the
bottom end of the tube. Moving clockwise, the balls are ordered pink,
yellow, red, green, blue.

Miracle Plant

Story

A miracle plant seedling has a stem and two buds. It looks like this:

It takes one day for a bud to sprout a new stem and two new buds.

For example, two days after a seedling is planted, the miracle plant looks like this:

Question

Over time, the miracle plant becomes quite large and magnificent. How many days ago was the seedling planted?

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

Typos

Story

Luisa is typing a list of countries that border Argentina but her custom keyboard has malfunctioned. For most keys, when she presses the key, the character on the key to its right is displayed instead. The one exception is that when she presses the rightmost key in a row, the character on the leftmost key in that row is displayed.

For example, if she presses the key with the letter D, then F is displayed. If she types the key with the letter P, then # is displayed.

A keyboard with keys
arranged into four rows and eight columns, but with no key in the rightmost spot in the bottom row. Every key has a unique symbol on it. An alternative format for the keyboard follows.

Question

If Luisa wants to press keys so that BRAZIL is displayed, what keys should she press?

  1. V, E, #, X, G, J
  2. V, E, #, $, J, G
  3. V, P, S, X, T, K
  4. V, E, #, $, G, J

Superbebras

Story

In the computer game Superbebras, the background and the illusion of motion is created using a sequence of tiles.

Tiles added to the right end of the sequence are chosen according to the rules in the diagram below. Arrows point directly from each tile to the only tile(s) that can be added immediately to the right of it.

A description of the
diagram follows.

For example, a tile immediately to the right of tile 3 can only be tile 3 or tile 2.

Question

Which of the following images is not a possible Superbebras background?

  1. Six tiles in row. From left to right, they
are tiles 2, 1, 2, 3, 3, 2.
  2. Six tiles in row. From left to right, they
are tiles 1, 2 ,1, 3, 2, 4.
  3. Six tiles in row. From left to right, they
are tiles 2, 4, 2, 2, 3, 3.
  4. Six tiles in row. From left to right, they
are tiles 3, 3, 3, 3, 3, 3.

Part B

Book Return

Story

At the Hardwood Library, there is usually a long line of beavers waiting for the librarian to help them return their books. At this particular library, book returns are processed by quantity. That is, the beaver with the fewest books to return is helped first.

The librarian can process one book per minute. After processing all of the books returned by a particular beaver, the librarian next helps the beaver waiting in line with the fewest books to return.

One morning, five beavers come to the library to return their books. Their time of arrival and their number of books are shown in the table:

Name Time of Arrival Number of Books
Luciano 9:00 4
Rui 9:02 6
Cene 9:03 3
Manuel 9:05 4
Priscilla 9:12 1

Luciano arrives right when the library opens, so the librarian processes Luciano’s books first.

Question

In which order will the beavers be helped?

  1. Luciano, Rui, Cene, Manuel, Priscilla
  2. Luciano, Cene, Rui, Manuel, Priscilla
  3. Luciano, Cene, Manuel, Rui, Priscilla
  4. Priscilla, Cene, Luciano, Manuel, Rui

Magical Fruit

Story

A magician can transform one type of fruit into another. The magical transformations are denoted by M. The fruit that the transformation is applied to is put inside brackets and the fruit that the transformation produces is put on the right after an equals sign. Six magical transformations are shown in the table below. For example, the top-left entry in the table describes a magical transformation that can be applied to an apple to produce a pear.

  1. M(apple)=pear
  2. M(pear)=banana
  3. M(lime)=pineapple
  4. M(pineapple)=grapes
  5. M(grapes)=apple
  6. M(banana)=lime

Transformations can be combined. For example, since we know

M(apple)=pear

we can write the following combined transformation:

M(M(apple))=M(pear)=banana

Question

What fruit is produced by the following combined magical transformation?

M(M(M(M(M( banana )))))
  1. lime
  2. pear
  3. apple
  4. grapes

Bebracelet

Story

Rory is making Bebracelets. He takes numbered beads from a tube, one at a time. For each bead, he is allowed to put it on the string if:

For each bead that Rory is allowed to put on the string, he then chooses whether to put it on the string or discard it. For example, if bead 2 is the last bead on the string, and bead 5 is the next bead from the tube, then Rory may put bead 5 on the string or discard it.

Now, Rory is making a new bracelet from the beads in this tube:

A tube with nine beads in a row. Starting at the opening of the tube and moving in, the beads are numbered 5, 1, 3, 2, 4, 8, 6, 7, 9.

Question

What is the largest number of beads that Rory can put on the string?

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

Hermit Crabs

Story

Hermit crabs wear shells in order to protect themselves. As hermit crabs grow, their shells become too small and the hermit crabs need to look for larger shells to wear.

An assortment of new shells has just been washed ashore. Several hermit crabs have gathered to try on these new shells. In the following diagram, the letters represent the hermit crabs and the numbers represent the new shells. A single line connecting a letter to a number means that the hermit crab has determined that the shell is a good fit. If there is no line connecting a letter to a number then the hermit crab has determined that the shell is not a good fit.

Letters A through H in a top row and numbers 1 through 8 in a bottom row. A is connected to 1, 3, and 4; B to 1, 2, and 8; C to 3; D to 3 and 4; E to 3 and 4; F to 2, 5, and 7; G to 5 and 6; and H to 5, 6, 7, and 8.

Question

If a shell can only be worn by one hermit crab, and a hermit crab can only wear one shell, then what is the maximum number of hermit crabs that can wear one of these new shells?

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

Railway Network

Story

In the land of Bebravia, there are six towns. All food is grown in Quandaria and transported by train to the other towns. The train routes are indicated by lines drawn between towns in the diagram. The arrow on each line indicates the direction in which trains carrying food are allowed to move.

A description of the
diagram follows.

Bebravia is not large so there is more than enough time for many trains to travel between any two towns. The only limitation is the daily capacity on each train route: the number on each line indicates the maximum number of trains that can travel along that route on one day.

Question

In one day, what is the largest number of trains that can travel from Quandaria to Pixleton?

  1. 13
  2. 16
  3. 19
  4. 12

Part C

Card Values

Story

Five types of cards are labelled with the letters \(P\), \(Q\), \(R\), \(S\), and \(T\) on one side. On the opposite sides, the cards are labelled with exactly one of the numbers 1, 2, 4, 8, and 16, in some random order. For each letter, all cards with that letter have the same number on the opposite side (e.g. all cards with \(P\) on one side have the same number on the opposite side.)

Multiple copies of each type of card are gathered to form a deck. Fala, Grace, and Hari each draw the smallest possible number of cards from the deck so that the numbers on their cards add up to their own age.

Question

Which number is on the cards that have the letter \(S\) on them?

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

Finding Treasure

Story

Captain Bojana is looking for a treasure hidden on an island. The island is divided into 16 regions, each marked with a letter from A to P as shown.

A square map divided into a 4 by 4 grid of square regions. Each region is labelled with a different letter from A to P.

Captain Bojana can enter any number of regions into a special device and the device will tell her whether or not the treasure is in one of those regions. For example, if she enters regions A, C, and D into the device and the device shows "yes", then the treasure is in exactly one of regions A, C, or D.

Question

What is the least number of times Captain Bojana needs to use the device to guarantee she will determine which region contains the treasure?

  1. 4
  2. 6
  3. 8
  4. 12

Floor Patterns

Story

A machine uses gates to redirect a sequence of balls in order to produce a pattern on the floor when viewed from above. Each ball follows a path directed by the gates. After a ball passes through a gate, the gate switches direction, sending the next ball the other way, as shown below.

A description of the
diagram follows.

In the example above, the gate initially opens to the left, sending the first ball left. As the first ball goes through the gate, it causes the gate to switch so that it will send the next ball to the right. As the second ball goes through the gate, it causes the gate to switch back again.

Every ball is labelled with one or more shapes. When a ball hits the floor, the pattern produced on the floor is triple the shape(s) shown on that ball. When two or more balls land at the same location, their patterns will combine on the floor. The pattern created on the floor by the example above is shown below.

Three yellow squares are scattered on the left side of the floor and a mixture of three blue circles and three red rectangles are scattered on the right side of the floor.

Question

Which sequence of balls will create the following pattern on the floor?

A mixture of three yellow squares and three blue circles are scattered on the left side of the floor. Six pink triangles are scattered in the middle of the floor. A mixture of three yellow squares and three red rectangles are scattered on the right side of the floor.

  1. A description of Options
A through D follows.

Balloon Machine

Story

A machine creates different designs by inflating long, skinny balloons attached to the edges of a square frame. There are five balloons labelled A, B, C, D, and E, arranged around the frame as shown.

Balloon A is on the top side of the square. D and E are on the bottom side with D to further to the left than A and E further to the right than A. B and C are on the left side with B above C.

All balloons start deflated. To create a design, the machine reads a sequence of letters, from left to right, and inflates the corresponding balloons in that order. When a particular balloon is inflated, it will continue to extend until it reaches either another balloon or the opposite edge of the frame.

For example, starting with all balloons deflated, if the machine reads the sequence E C, then it will create the following design.

Balloon E, on the bottom side of the square, is inflated so that it is long and thin. It extends vertically to meet the top side of the square, to the right of Balloon A. Balloon C, on the left side of the square, is inflated so that it is long and thin. It extends horizontally to meet Balloon E.

Question

Starting with all balloons deflated, the machine reads a sequence consisting of the five letters A, B, C, D, and E in some order and creates the design shown. How many different possibilities are there for the sequence?

Balloon B extends horizontally from the left side to the right side. Balloon A extends vertically from the top side to balloon B. Balloon E extends vertically from the bottom side to Balloon B. Balloon C extends horizontally from the left side to Balloon E. Balloon D extends vertically from the bottom side to Balloon C.

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

Word Chains

Story

Mr. Castor is teaching his students how to read. To help them learn he creates word chains, which are sequences of words in which exactly one letter in a word is changed in order to create the next word. For example, MUG → MUD → MAD → FAD is a word chain.

Mr. Castor has the following nine words: BOT, SAD, BAT, CAB, COT, BAD, COB, CAT, and SAT. He groups them into three word chains, each with three words, so that each of the nine words is used in exactly one of the word chains.

Question

Which of the following cannot be one of Mr. Castor’s three word chains?

  1. SAD → BAD → BAT
  2. COT → COB → CAB
  3. BAT → CAT → COT
  4. CAT → CAB → COB