Material:
OZOBOTs we suggest to have an Ozobot every two students.
Card with Path
Procedure:
STEP 1
Write a code for moving the OZOBOT on a rectangular trajectory on the provided grid: in this step please avoid using repetition cycle.
Upload the code on the OZOBOT and run it.
STEP 2
Write a code for moving the OZOBOT on a square trajectory: in this step please avoid using repetition cycle.
Upload the code on the OZOBOT and run it.
Is there any difference in coding a rectangular or a square trajectory at this level?
STEP 3
Write a code for moving the OZOBOT on a rectangular trajectory, using repetition cycle.
Upload the code on the OZOBOT and run it.
STEP 4
Write a code for moving the OZOBOT on a square trajectory, using repetition cycle.
Upload the code on the OZOBOT and run it.
Why is it possible to use a repetition cycle in coding these trajectories?
Is there any difference in coding a rectangular or a square trajectory at this level?
Extensions:
Use functions and variables to define figure’s dimensions