Ibic-2019-Class 11-12
Ibic-2019-Class 11-12
Question / Challenge
Natasha doesn't know where the robot is. What is the shortest sequence of
commands that she can send to the robot, so that it reaches the square with a
star?
For example, a certain group of islands has a map shown on the left. Once all the
bridges are built, its bridges system would be as shown on the right.
--------------------------
Page 1 of 15
IBIC - 14th International Challenge on Informatics and Computational Thinking 2019
Student Level (Class 11 & 12)
Time Allowed: 150 minutes
Question / Challenge
How many bridges does one need to build in the map below?
A) 7 B) 8 C) 9 D) 10
T3. A bag of candies
Peti has a bag of candies. There are 4 green, 4 yellow and 4 red candies in the bag.
Peti plays with his friend and they have some rules: the friend has three turns to
take out a candy from the bag and he has to collect them in a bowl.
Each time he takes out a green candy, he has to put it in the bowl and he takes
out one more candy from the bag (though it is still considered as the same turn)
If he takes out a yellow candy, he eats it right away without putting it in the
bowl.
If he takes out a red one, he has to put it in the bowl immediately.
Question / Challenge
What is the maximum number of candies that can be in the bowl after the third
turn?
A) 5 B) 6 C) 7 D) 9
--------------------------
Page 2 of 15
IBIC - 14th International Challenge on Informatics and Computational Thinking 2019
Student Level (Class 11 & 12)
Time Allowed: 150 minutes
That is, every symbol on the left is replaced with one of the sequences of symbols
it points to.
For example, using these rules several times, Stephen can make these two bracele
ts.
Stephen made four bracelets for four of his friends, using the same rules. One of
the friends broke the bracelet and made a mistake trying to fix it.
--------------------------
Page 3 of 15
IBIC - 14th International Challenge on Informatics and Computational Thinking 2019
Student Level (Class 11 & 12)
Time Allowed: 150 minutes
Question / Challenge
Which of the four bracelets below is the one with the mistake?
A)
B)
C)
D)
Question / Challenge
Which table setting is correct?
A) B)
C) D)
--------------------------
Page 4 of 15
IBIC - 14th International Challenge on Informatics and Computational Thinking 2019
Student Level (Class 11 & 12)
Time Allowed: 150 minutes
T6. Sawmill
To build a log house you need logs of the right length. Logs arrive with various
lengths, and the factory below puts each log with a length between 60 cm and
160 cm on a truck.
The logs arrive at the left of the factory. The different parts of the factory are:
Switch S automatically prioritises logs from two streams into one stream.
Switch A allows logs of length >= 60 cm to pass and sends away shorter
logs.
Switch B allows logs of length > 160 cm to pass and sends the rest to the
truck.
Switch C activates a saw to saw the log in two. The first one will be 160 cm
long and immediately send it to the truck. The remaining log passes on for
more processing.
Probe A and Probe B are used to count the number of logs sent to the
truck.
Question / Challenge
Three logs of different sizes (60 cm, 140 cm and 360 cm) are sent to the factory.
When all of the logs have been completely processed, what are the values
counted by the probes?
--------------------------
Page 5 of 15
IBIC - 14th International Challenge on Informatics and Computational Thinking 2019
Student Level (Class 11 & 12)
Time Allowed: 150 minutes
Question / Challenge
For the following order of beavers exiting the network: BGBGBG what is the
order they entered the network?
The king created an encoded map. Circles denote provinces and two circles are
connected by a line if the corresponding provinces border each other. To confuse
the thieves, the king made three more false encoded maps.
--------------------------
Page 6 of 15
IBIC - 14th International Challenge on Informatics and Computational Thinking 2019
Student Level (Class 11 & 12)
Time Allowed: 150 minutes
Question / Challenge
Which map is real?
A) B)
C) D)
A) A B) B C) C D) D
--------------------------
Page 7 of 15
IBIC - 14th International Challenge on Informatics and Computational Thinking 2019
Student Level (Class 11 & 12)
Time Allowed: 150 minutes
Question / Challenge
If we rank all the possible prices, with the most expensive at the top, that B-taro
can pay without getting change, where does ฿11010 rank?
This machine will produce white glass only if two white glass
units are inserted. Any other combination inserted will produce
colored glass.
This machine will produce colored glass only if two colored glass
units are inserted. Any other combination inserted will produce
white glass.
This machine will turn colored glass into white glass or white
glass into colored.
She made the following system:
--------------------------
Page 8 of 15
IBIC - 14th International Challenge on Informatics and Computational Thinking 2019
Student Level (Class 11 & 12)
Time Allowed: 150 minutes
Question / Challenge
What kind of glass could be inserted into the machines at A, B, C and D so that
the resulting glass is white?
In other words:
number * number: multiplication
string * number: string duplication
string * string: error
number + number: addition
string + string: concatenation
string + number: error
number + string: error
Question / Challenge
Look at the following line:
...><(((°>......><(((°>......><(((°>......><(((°>...
Which expression correctly produces the four fish swimming from left to right?
Look carefully, some solutions might produce wrong patterns, some solutions
might produce errors.
Hint: in any case "*" is evaluated before "+" (Operator Precedence)
A) (3*"." + "><" + 3*"(" + "°>" + 3*".")*"2"*2
B) (3*"." + "><" + 3*"(" + "°>")*2*2 + 3*"."
C) (3*"." + "><" + "3"*"(" + "°>" + 3*".")*2*2
D) (3*"." + "><" + 3*"(" + "°>" + 3*".")*2*2
--------------------------
Page 9 of 15
IBIC - 14th International Challenge on Informatics and Computational Thinking 2019
Student Level (Class 11 & 12)
Time Allowed: 150 minutes
For example, if we have Flight #1 landing at 6:10 AM, Flight #2 landing at 6:25 AM
and Flight #3 landing at 6:26 AM, then Flight #1 and Flight #2 cannot be assigned
the same corridor whereas Flight #3 can be assigned the same corridor as Flight
#1, but not the same corridor as Flight #2.
You are the Air Traffic Controller at the airport today and your job is to assign
corridors for the scheduled flights shown in the table below.
Flight Time
9W2400 7:00
9W1321 7:21
AI561 7:20
AI620 7:18
EK427 7:03
SG147 7:12
Question / Challenge
What is the minimum number of corridors needed to ensure that all the above
flights land according to the rules?
A) 0 B) 3 C) 4 D) 8
--------------------------
Page 10 of 15
IBIC - 14th International Challenge on Informatics and Computational Thinking 2019
Student Level (Class 11 & 12)
Time Allowed: 150 minutes
Notes:
It takes 1 hour to move from one square to another if there is no snow in either
square.
It takes 2 hours to move from one square to another if snow needs to be cleared.
It takes no time for the robot to turn around in a cleared square.
The robot does not need to go to an igloo, just clear the square in front of it’s
entrance so the people can walk out.
Question / Challenge
What is the minimum time the robot needs to accomplish the task?
--------------------------
Page 11 of 15
IBIC - 14th International Challenge on Informatics and Computational Thinking 2019
Student Level (Class 11 & 12)
Time Allowed: 150 minutes
Question / Challenge
For the flight routes shown above, what is the maximum number of routes the
airline can drop?
A) 6 B) 7 C) 8 D) 9
T16. Counter
In this machine, there are four bars that can tilt.
A bar tilted to the left = 0
A bar tilted to the right = 1
When a ball drops and lands on a bar, the bar tilts and the ball rolls off.
Question / Challenge
What will the counter be after 5 balls have been dropped?
--------------------------
Page 12 of 15
IBIC - 14th International Challenge on Informatics and Computational Thinking 2019
Student Level (Class 11 & 12)
Time Allowed: 150 minutes
Question / Challenge
What is the maximum number of toys that she can put into the boxes, so that all
the conditions above are satisfied?
A) 1 B) 2 C) 3 D) 4
Question / Challenge
What is the most amount of money you can make dropping off these 7 packages?
A) 23 B) 24 C) 25 D) 26
--------------------------
Page 13 of 15
IBIC - 14th International Challenge on Informatics and Computational Thinking 2019
Student Level (Class 11 & 12)
Time Allowed: 150 minutes
T19. Visits
Little Tom is at home and wants to visit all his relatives. To use some of the roads
he has to pay a fee (they are shown in the picture below). If he uses a road more
than once, he doesn't have to pay again. Some of the roads are blocked by rocks,
so they cannot be used.
Question / Challenge
What is the minimum amount of money Little Tom must have in order to be able
to visit all his relatives?
A) 7 B) 14 C) 23 D) 29
T20. Red Riding Hood
Red Riding Hood wants to pick up flowers from her grandmother's garden. The
garden is divided into several parts, each part having a certain number of flowers
planted inside. Red Riding Hood starts her journey from the part on the top left
and makes her way down to the part on the bottom right going just down or
right.
--------------------------
Page 14 of 15
IBIC - 14th International Challenge on Informatics and Computational Thinking 2019
Student Level (Class 11 & 12)
Time Allowed: 150 minutes
Question / Challenge
What is the maximum number of flowers that she can collect during her journey?
A) 35 B) 38 C) 58 D) 41
The bees only fly horizontally and vertically on this field, so the distance between
two tiles is the sum of the horizontal distance and the vertical distance. For
example, the distance between C4 and D7 is 4 (3 tiles vertically plus 1 tile
horizontally).
Question / Challenge
Where should the beekeeper place the hive so that the sum of distances from the
hive to every flower is minimum? (possible locations are marked with on the
map)
A) D5 B) C7 C) E5 D) A9
--------------------------
Page 15 of 15