Skip to content / Đến nội dung
ThichHocToan.com

Bebras 2022 - Level 5 Question 15

BEBRAS · Bebras 2022 - Level 5

Question 15

On Beaver Island, carrots grow in 5 rows with 7 carrots in each row, as shown below.

Question illustration

The beavers use a robot to harvest the carrots with these instructions:
- P – Find a carrot in the same row and harvest it.
- F – Go straight along the same row.
- D – Go down to the next row.
- U – Go up to the next row.
- R – Turn right by 90 degrees.
- L – Turn left by 90 degrees.

Numbers can represent repeated instructions. For example, 3P means harvest 3 carrots in the same row. Which of the following instructions can make the robot harvest all the carrots?
  1. 2(P 6(F P) R D R) (P 6(F P) L D L) 7P
  2. R 3(P 4(D P)L F L)(P 4(U P) R F R)
  3. 2(P 6(F P) R D R P 6(F P) L D L) P 6(F P)
  4. 5 (7P D) 7P