Pseudo code drawing

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.

CreatorMikko Muilu
SubjectMath, ICT, physical education
Length45 minutes
Pedagogical ApproachPhenomenon-based learning
CompetencesStudents learn the idea of pseudo code and algorithm
GradesStudents aged 9-12.
TechnologiesPen 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

Leave a Reply

Discover more from Computational Thinking and Acting

Subscribe now to keep reading and get access to the full archive.

Continue reading