University of Waterloo Logo and CEMC Banner

2018 Beaver Computing Challenge
(Grade 7 & 8)

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

Beaver Graffiti

Story

Beaver graffiti consists of three different symbols: fish, flower, and leaf.

Sequences of symbols are built using two steps:

  1. One of the symbols is drawn once or twice.
  2. One of the symbols is is drawn once to the left of the current sequence and once to the right of the current sequence.

Step 1 happens first and exactly one time. Step 2 may happen any number of times. Here are five examples:

Question

Which of the following is not an example of beaver graffiti?

  1. fish fish fish
  2. flower leaf fish leaf flower
  3. leaf flower fish leaf leaf fish flower leaf
  4. leaf leaf leaf leaf fish leaf leaf leaf leaf leaf

Computer Science Museum

Story

A museum has received statues of five famous computer scientists. However, there is only room to display one statue at a time. They must decide the order in which the statues will be displayed. They come up with the following rules:

Question

What is one order in which the statues could be displayed?

  1. Turing, Hopper, Lovelace, Gates, Berners-Lee
  2. Turing, Berners-Lee, Hopper, Gates, Lovelace
  3. Turing, Gates, Hopper, Lovelace, Berners-Lee
  4. Turing, Berners-Lee, Lovelace, Hopper, Gates

Balloons

Story

Mark goes to a birthday party. A room at the party is decorated with balloons in rows:

Mark can’t see colours clearly. For him, yellow (C) looks the same as green (A), and blue (D) looks the same as red (B).

Question

Which two rows of balloons look the same to Mark?

  1. Row 1 and Row 4
  2. Row 2 and Row 4
  3. Row 1 and Row 2
  4. Row 1 and Row 3

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

Visiting Friends

Story

Livia wants to visit all of her friends in five villages using public transportation. She visits them in one journey, without visiting a village more than once, and she returns home at the end of her journey. The number of coins it costs to travel on the direct route between each pair of villages is shown below.

A description of the diagram follows.

For example, it would cost Livia a total of 11 coins to visit villages in the order:

Home \(\rightarrow\) B \(\rightarrow\) E \(\rightarrow\) A \(\rightarrow\) D \(\rightarrow\) C \(\rightarrow\) Home.

Question

What is the least possible total cost for Livia’s journey?

  1. 7 coins
  2. 8 coins
  3. 9 coins
  4. 10 coins

Connect the Islands

Story

People of Kastoria use only one rule to decide where bridges are to be built:

They choose one number called the bridge number. If the sum of the populations of two islands is greater than the bridge number, a bridge is built between the islands. Otherwise, a bridge is not built between the two islands.

The six islands of Kastoria and their populations are shown below. The bridges built using the above rule are also shown.

Six islands are each labelled with a number. The numbers are 11, 20, 18, 25, 12, and 9. There are bridges between the islands with numbers 18 and 20, 20 and 25, 18 and 25, and 12 and 25.

Question

What bridge number was chosen?

  1. 34
  2. 35
  3. 36
  4. 37

Outdoor Soccer

Story

Mr. Castor is planning for his class to play soccer outside in the schoolyard. Several issues must be considered:

Mr. Castor has the following related information:

Weather Forecast

Monday Tuesday Wednesday Thursday Friday
Weather Condition Sunny Rainy Rainy Sunny Sunny
Wind Speed 5 km/h 24 km/h 13 km/h 7 km/h 40 km/h

Schoolyard Reservations

Monday Tuesday Wednesday Thursday Friday
Class Ms. Garcia - - - -

Question

What day should Mr. Castor plan to play soccer on?

  1. Tuesday
  2. Wednesday
  3. Thursday
  4. Friday

Flag Codes

Story

Beavers communicate by holding flags held horizontally or vertically . Five different letters (P, Q, R, S, and T) can be sent by using the following codes:

  1. Horizontal flag
  2. Vertical flag
  3. Vertical flag Horizontal flag
  4. Horizontal flag Horizontal flag Vertical flag
  5. Vertical flag Horizontal flag Horizontal flag Vertical flag

Sequences of letters are sent using the codes for each letter in the sequence in order. Beaver Adanma sends this:

Vertical flag horizontal flag horizontal flag vertical flag horizontal flag horizontal flag vertical flag horizontal flag

Question

What sequence of letters could Adanma be sending?

  1. QPPTP
  2. TSQ
  3. RPQSR
  4. RPSP

Part C

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

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

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

Park Walk

Story

A map of a park is shown below. Green circles represent trees and brown lines represent paths. Trees are labelled with letters but note that some letters are used to label more than one tree.

Two families walk in the park along paths from tree to tree. Each time they visit a different tree, they write down the letter of that tree, even if they have visited the tree before.

Both families started walking at the same time and the amount of time it took them to walk along any path from one tree to another was constant.

Question

How many times did the two families meet at a tree?

  1. one time
  2. two times
  3. three times
  4. never