This Pseudocode exercise is from the CoderZ Amazon Cyber Robotics Challenge (2020) Teacher's Guide (page 23):
Pseudocode, Compare and Refine: Draw those Shapes (20 - 30 minutes)
Overview:
Students will use pseudocode to write two sets of simple instructions. One to draw a square and the other a rectangle. Students will then look for places where using iteration, repeat loops, could shorten their code and make it more efficient.
Materials:
> Graph paper
> Pen or pencil