Test: the sand-carrying robot → Edition

DASHBOARD

SHOE

Elementary instructions

Put 1 shovelful in the wheelbarrow
Transports sand to B
Empties wheelbarrow
Wheelbarrow back to A

Checks

There's still sand in A?
The wheelbarrow is full?

Logical operators

AND
OR
NOT

Control structures

IF
THEN
ELSE
END IF
REPEAT
UNTIL
WHILE
DO
END WHILE



Test: the sand-carrying robot → Execution

Dashboard

Running the program

Step by step execution

Test conditions

Initial test conditions...

Test result

Test result...


© Rupert Meurice de Dormale 2024 (update of the 1995 version)

All rights reserved. Copying in whole or in part prohibited without written permission of the author.

Exercice extrait du livre "Images pour programmer" du Professeur Charles Duchâteau (CeFIS, Université de Namur, Belgique)

The drawings of the robots are by Jean-Baptiste Sonnet.

adresse