dcf.cymru stimulus sheet · Health and Well-being · Year 5

Cai’s school morning algorithm

Cai, his algorithm and the times on this sheet are invented for practice. The tooth brushing and hand washing advice is from the NHS.

1. The problem

Cai is in Year 5 and lives in Cardigan. He keeps missing the school bus, and he often arrives at school hungry and in a rush. His teacher asked the class to write an algorithm (a set of instructions in order) for a healthy school morning. Cai wrote the one below, but it has bugs (mistakes that make the instructions go wrong).

2. Cai’s algorithm (with bugs)

1. START: the alarm rings at 07:00. Get out of bed. 2. Put on shoes and coat. 3. Go to the toilet, then wash hands and face. 4. Get dressed in school uniform and socks. 5. Watch videos on the tablet for 30 minutes. 6. Eat breakfast. 7. Brush teeth for 2 seconds. 8. Walk to the bus stop. 9. Put a book in the bag. Put a book in the bag. Put a book in the bag. Put a book in the bag. 10. Fill water bottle. 11. END.

3. Timing card: how long each job takes Cai

JobTime it takes
Go to the toilet, then wash hands and face5 minutes
Get dressed in school uniform and socks10 minutes
Watch videos on the tabletas long as the step says
Eat breakfast15 minutes
Brush teeth2 minutes
Put a book in the bag1 minute for each book (Cai needs 4 books)
Fill water bottle2 minutes
Put on shoes and coat4 minutes
Walk to the bus stop7 minutes

The school bus leaves Cai’s bus stop at 08:10. It does not wait.

4. Health facts to help you

5. Coding words