Representing algorithms

EasyMediumHard
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
Question 47
Medium

A planetary exploration rover is placed in a 6×6 6\times6\,6×6 survey grid at cell Y14, initially facing West (indicated by the ◀ symbol).

Planetary rover on a 6x6 grid with columns U-Z and rows 10-15

The rover executes the following algorithm:

Forward(2)
TurnLeft()
Forward(1)
TurnRight()
Forward(2)

Draw the path of the rover through the grid by listing the sequence of cells visited in order (starting with Y14), and state its final cell and facing direction.

[3]

Representing algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Representing algorithms