Skip to content
Tactiverge

Olympiad · Practice · public practice problem

Explorer division (School Level 1)
Robotics

Where did the grid robot end up?

Difficulty 3 of 59 points in 4 partsSuggested time ~15 min (never timed here)

The problem

A floor robot moves on a grid of 0.5 m squares. It starts at square (0, 0) facing north (towards larger y; east is larger x). Its program is: FORWARD 4, TURN RIGHT 90°, FORWARD 3, TURN RIGHT 90°, FORWARD 1. Each FORWARD moves that many whole squares.

  1. Part (a) · 2 points

    What is the robot's final x coordinate (in squares)?

    squaresTolerance: exact

  2. Part (b) · 2 points

    What is its final y coordinate (in squares)?

    squaresTolerance: exact

  3. Part (c) · 2 points

    Which way is it facing at the end?

  4. Part (d) · 3 points

    How far is it, in a straight line, from where it started?

    mTolerance: ±1 %

Checked so far: 0 of 9 automatically marked points. Nothing is saved.

Stuck? Hints, then the worked solution

Written with AI assistance. Review status: technically-checked (answers recomputed independently with units verified by automated tests); not yet reviewed by an educator or judge.