This exercise is planned to explain how pseudo code works and how it can be followed by anyone. Indentation is important (as it is in Python). The same can be communicated with parenthesis, but intendation is chosen here.
| Creator | Mikko Muilu |
| Subject | Math, ICT, physical education |
| Length | 45 minutes |
| Pedagogical Approach | Phenomenon-based learning |
| Competences | Students learn the idea of pseudo code and algorithm |
| Grades | Students aged 9-12. |
| Technologies | Pen and paper |
Exercise 1:
Give students a pen, a paper sheet and these instructions:
Begin procedure
Draw a circle
Draw an eye
Draw an eye
Draw an ear
Draw an ear
Draw a mouth
Draw a tooth
Draw a tooth
Draw a tooth
Draw a tooth
Draw a tooth
Draw a tooth
Draw a tooth
Draw a hair on top of the head
Draw a hair on top of the head
Draw a hair on top of the head
Draw a hair on top of the head
Draw a hair on top of the head
Draw a hair on top of the head
Draw a hair on top of the head
Draw a hair on top of the head
Draw a hair on top of the head
Draw a hair on top of the head
Draw a hair on top of the head
Draw a hair on top of the head
Draw a hair on top of the head
Draw a hair on top of the head
Draw a hair on top of the head
Draw a hair on top of the head
Draw a hair on top of the head
Draw a hair on top of the head
Discussion:
There was a lot of repetition, right? How about using some loops?
Exercise 2:
Begin procedure
Draw a circle
Repeat 2 times:
Draw an eye
Repeat 2 times:
Draw an ear
Draw a mouth
Repeat 7 times:
Draw a tooth
Repeat 18 times:
Draw a hair on top of the he

