University of Waterloo Logo and CEMC Banner

2019 Beaver Computing Challenge
(Grade 7 & 8)

Questions


Part A

Cloud Communication

Story

Smoke signals were used by different groups of ancient peoples to send messages. A very simple code using small and large smoke clouds is given below.

north east south west
Smoke Clouds Five clouds from top to bottom are as follows: small, large, small, large, small. Five clouds from top to bottom are as follows: large, large, large, large, large. Five clouds from top to bottom are as follows: large, small, large, small, small. Five clouds from top to bottom are as follows: small, small, small, small, large.

Messages are read from top to bottom. The following message contains an error. Either one small cloud should be a large cloud or one large cloud should be a small cloud.

Five clouds from top to bottom are as follows: small, large, large, large, small.

Question

What is the correct message?

  1. north
  2. east
  3. south
  4. west

Koko’s Animals

Story

Koko has six animals and needs to place each one in its own pen. Two animals cannot be placed in touching pens if one animal will eat the other. In the diagram shown, arrows point from an animal to all the other animals that it will eat.

Pens
A box is divided into three columns. The first column has one pen; the second column has two equal-sized pens divided top and bottom; the third column has three equal-sized pens divided top, middle, and bottom. In the second column, the top pen touches the pen in the first column and the top two pens in the third column while the bottom pen touches the pen in the first column and the bottom two pens in the third column.

Who Eats Who
Arrows point from the salamander and the chicken to the worm. Arrows point point from the fox and the wolf to the chicken. An arrow poins from the wolf to the sheep.

For example, the wolf will eat the chicken, but the wolf will not eat the worm.

Question

Which of the following choices is not a good placement?

(A)In the first column, the only pen has the chicken. In the second column, the top pen has the sheep and the bottom pen has the salamander. In the third column, the top pen has the worm, the middle pen has the fox, and the bottom pen has the wolf.
(B)The first column has the worm. The second column has the sheepm then the fox. The third column has the chicken, the salamander, then the wolf.
(C)The first column has the wolf. The second column has the fox, then the salamander. The third column has the worm, the sheep, then the chicken.
(D)The first column has the chicken. The second column has the sheep, then the salamander. The third column has the fox, the worm, then the wolf.

Safe

Story

A chef keeps secret recipes in a safe. It is unlocked using a circular knob with a pointer.

The following letters are placed around a circle in clockwise order: A, B, C, D, E, F, G, and H. The arrow points to the letter A.

With the pointer at A to start, the chef unlocks the safe by turning the knob clockwise and counter-clockwise alternately as the password is spelled. For example, to enter the password BH, the chef:

  1. Turns one position clockwiseThe arrow points to the letter B.
  2. Then turns two positions counter-clockwise
    The arrow points to the letter H.

We represent passwords using numbers to indicate how far to turn and arrows to show the direction. For example, BH is represented by One turn clockwise followed by two turns counter-clockwise. which means turn one position clockwise and then two positions counter-clockwise.

To retrieve the secret recipes, the chef must enter the password CHEFDG.

Question

With the pointer starting at A, which of the following will unlock the safe?

  1. 2 turns clockwise, 3 turns counter-clockwise, 4 turns clockwise, 3 turns counter-clockwise, 3 turns clockwise, then 3 turns counter-clockwise.
  2. 2 turns clockwise, 5 turns counter-clockwise, 5 turns clockwise, 1 turn counter-clockwise, 3 turns clockwise, then 3 turns counter-clockwise.
  3. 2 turns clockwise, 3 turns counter-clockwise, 5 turns clockwise, 7 turns counter-clockwise, 6 turns clockwise, then 5 turns counter-clockwise.
  4. 2 turns clockwise, 1 turn counter-clockwise, 4 turns clockwise, 3 turns counter-clockwise, 3 turns clockwise, then 2 turns counter-clockwise.

Mystery Beaver

Story

Beavers named NICOLE, KEVIN, KRISTINA, EDGAR, and KATEY play a game with their teacher. The teacher must discover the mystery beaver among them whose name satisfies these rules:

  1. The name of the beaver has the letter G or I in it.
  2. The name ends with a letter that no other name starts with.
  3. The name starts with a letter that at least one other name starts with.

Question

Who is the mystery beaver?

  1. KEVIN
  2. EDGAR
  3. KATEY
  4. KRISTINA

Movie Theatre Seats

Story

Three friends Alex, Bao, and Chiti are choosing seats in a movie theatre. The seats marked X can’t be selected because someone else has already taken them.

An alternative format for the movie theatre seats follows.

Alex, Bao, and Chiti each say what will make them happy:

For example, If they choose seats G3, G4, and G5, then Alex will be unhappy. If they choose D7, D9, and D10, then Bao will be unhappy. If they choose A7, A8, and A9, then Chiti will be unhappy.

Question

In how many ways can the three friends choose seats so that they are all happy?

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

Part B

Cleaning the Lawn

Story

After an outdoor concert, a recycling robot is assigned to pick up the eight items left on the lawn. The robot starts on the left side of the lawn as shown.

There are eight items scattered on the lawn including cups, bottles, cans, and pieces of paper.

The robot starts by identifying the closest item. The robot then moves to this item and picks it up. Then the robot identifies the remaining item that was closest to the item it just picked up, and moves to this new item. The robot continues this process until all of the items have been picked up.

Question

Which type of item will the robot pick up last?

(A) Cup
(B) Bottle
(C) Can
(D) Paper

B-taro’s Bills

Story

B-taro has exactly five bills worth the following amounts of money: \(1\), \(10\), \(100\), \(1000\), and \(10000\).

He lists all the possible total amounts of money he can make from greatest to least.

For example, \(11110\) ranks 2nd on B-taro’s list.

Question

Where does \(11010\) rank on B-taro’s list?

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

Packing Machine

Story

A machine, controlled by buttons 1, 2, 3, and 4, can drop a block from a shelf into a box or remove a block from the box.

Button
pressed
Result
1 leftmost block on the top shelf drops into box
2 leftmost block on the middle shelf drops into box
3 leftmost block on the bottom shelf drops into box
4 top block from the box is removed

Blocks that drop into the box always land on top of other blocks already in the box. For example, suppose we start as shown in Figure 1. After buttons 1, 2, 4, and 3 are pressed (in that order), we will end as in Figure 2. Notice that Block H has been removed from the box and is no longer in the picture.

Question

Suppose we start as shown in Figure 1 and then the buttons are pressed in the order: 3, 1, 1, 4, 4, 2, 3, 4. After this happens, which of the following blocks is the second from the top of the box?

  1. Block H
  2. Block O
  3. Block C
  4. Block L

Making Stitches

Story

A sewing machine can make four different types of stitches. The rules that the machine follows are shown.

A description of the diagram follows.

The machine starts a new line of stitches by following the thick blue arrow on the left.

Then the machine moves from circle to circle following in the direction of the arrows. Every time an arrow is followed, the machine makes the stitch shown on that arrow. If a circle has more than one arrow leading out of it, the user of the machine can choose to follow either one of the arrows.

The machine finishes by following the outlined arrow on the right.

Question

Which line of stitches cannot be made using the above rules?

  1. The following stitches, from left to right: diagonal down, upside down L, L, upside down L, L, upside down L, L, upside down L.
  2. The following stitches from left to right: diagonal down, upside down L, L, upside down L, L, diagonal up, diagonal down, diagonal up, diagonal down, upside down L.
  3. The following stitches from left to right: diagonal down, upside down L, L, diagonal up, diagonal down, upside down L, L, upside down L.
  4. The following stitches from left to right: diagonal down, diagonal up, diagonal down, upside down L, L, upside down L, diagonal down, diagonal up, diagonal down, upside down L.

Classifier

Story

Given an image of an animal, a machine measures various parts of the animal: head, ears, and whiskers. The height of a part is the distance from its lowest point to its highest point. The width of a part is the distance from its leftmost point to its rightmost point.
These measurements are used to identify the animal based on the chart shown.

Rabbit Beaver Bear Cat
ear height \(\frac{1}{2}\) of head height \(\frac{1}{4}\) of head height \(\frac{1}{4}\) of head height \(\frac{1}{2}\) of head height
whiskers width head width \(\frac{1}{2}\) of head width \(\frac{1}{2}\) of head width head width
head width \(\frac{1}{2}\) of head height \(\frac{1}{2}\) of head height head height head height

Question

What type of animal does the machine identify the following image as?

A face is drawn on an 8 by 8 grid. The head has width 8 and height 8. The ears have height 2. The whiskers have width 4.

  1. Rabbit
  2. Beaver
  3. Bear
  4. Cat

Part C

Wood Allergies

Story

For some beavers, eating some types of wood will make them sick. Ang is making appetizers out of wood for a party. Each appetizer is made from one type of wood and each appetizer is large enough to feed all the beavers. Ang has a list of the beavers attending the party, and the types of wood that they can eat without getting sick.

Name Wood They Can Eat
Ang willow, oak, ash, maple
Baadi willow, oak, poplar
Chakor oak
Dalma ash, birch
Edgard willow, maple, birch
Filipa oak, ash
Georgios poplar, maple

Ang wants to make as few appetizers as possible. However, she wants to make sure that every beaver can eat at least one appetizer without getting sick.

Question

How many appetizers should Ang make?

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

Swapping Cats

Story

Four cats stand in a line as shown.

From left to right, the cats are brown, grey, orange, and black.

The line-up can be changed by performing a swap. A swap is performed by exchanging the positions of any two cats in the line. Two cats do not need to be side-by-side for a swap to occur.

Question

If exactly two swaps occur, one after the other, then which of the following line-ups cannot be the result?

  1. Orange, black, brown, grey.
  2. Brown, orange, black, grey.
  3. Orange, black, grey, brown.
  4. Black, grey, brown, orange.

Cancelled Flights

Story

The dashed lines in the diagram represent all Bebras Air flights. Each flight operates in both directions. The airline is popular because its customers are able to fly between any two cities (possibly stopping in one or more cities in between).

A description of the diagram follows.

The airline wants to cancel some flights but it still wants its customers to be able to fly between any two cities.

Question

What is the maximum number of flights that Bebras Air can cancel?

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

Triple Trouble

Story

A beaver puts each of four toys into boxes labeled W, X, Y, and Z. Each box can hold any number of toys.

At least one of the three conditions in each row of the table shown is satisfied.

Condition 1 Condition 2 Condition 3
a toy is in X no toy is in Y no toy is in Z
a toy is in W a toy is in X no toy is in Z
no toy is in X no toy is in Y a toy is in Z
no toy is in W no toy is in X no toy is in Y
no toy is in X a toy is in Y no toy is in Z

Question

What is the minimum possible number of empty boxes?

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

Farmer’s Report

Story

Farms are divided into square fields. There is always a farmhouse in the centre square. Every year, farmers must decide whether a field will grow wheat or grass. They must report the total number of wheat fields in each row and column. An example of a report is shown below.

A 3 by 3 grid of 9 squares. The farmhouse is in the centre square and the remaining two squares in the middle column are wheat fields, as is the middle square in the first column. The remaining squares are grass fields. The numbers 1, 2 and 0 are placed below the first, second, and third columns, respectively. The number 1 is placed to the right of each row.

The totals given are accurate because there is one wheat field in each row, one wheat field in the left column, two wheat fields in the middle column, and no wheat fields in the right column.

Question

In each of the following reports, each dark green square, except the centre square containing the farmhouse, represents either a wheat field or a grass field. Which report could contain accurate totals?


  1. A 5 by 5 grid with only the farmhouse indicated. Below each column there is a number; from left to right they are 2,2,3,2,3. To the right of each row there is a number; from top to bottom they are 3,2,1,2,4.

  2. A 5 by 5 grid with only the farmhouse indicated. The numbers below the columns are 3,0,1,1,2. The numbers to the right of the rows are 3,0,3,2,1.

  3. A 5 by 5 grid with only the farmhouse indicated. The numbers below the columns are 0,3,3,1,1. The numbers to the right of the rows are 0,3,3,1,1.

  4. A 5 by 5 grid with only the farmhouse indicated. The numbers below the columns are 4,1,0,3,3. The numbers to the right of the rows are 4,1,0,3,2.