About 30 minutesSolo, then compare with a partnerPencil
On the AP CSP exam, a robot on a grid gets used to test whether you can read code exactly the way a computer does. Nothing here needs a computer. You just need to keep track of where the robot is and which way it’s facing. This first set uses only three commands: move, turn left, and turn right.
Work each question on paper first. Trace the robot’s moves with your pencil
right on the grid, one line of code at a time.