Lesson module · Detail

On the way to the first school day

This module introduces sequential program execution and highlights the importance of a precise command sequence. It creates a foundation for algorithmic thinking and structured modeling of action sequences.

Time 5 minutes
Format rpgDungeon
Language Python 2
Tasks 1
Preview image: On the way to the first school day

Introduction (Original excerpt)

Welcome! Before we even write a line of code, you get to know someone: Linus Torvalds.

Didactic classification

Subjective objective

In the center of this module is the introduction to sequential processing of program instructions. It is made clear that programs are interpreted and executed as uniquely structured sequences of commands. Learners model a movement sequence through a linear arrangement of elementary control commands. The need for precise instructions is highlighted, as each individual instruction has immediate effects on the further course of the program. The connection between modeled action and its technical implementation becomes immediately tangible. This creates a basis for understanding algorithmic structures in later teaching phases.

Competence development

Didactic added value in teaching

Course of the lesson unit

1

Move Linus

Create a sequence of elementary movement commands to direct a figure through an environment in a goal-oriented manner. The focus is on the correct order of individual instructions without using more complex control structures, thereby introducing and solidifying the principle of linear program execution.

  • Didactic Focus: Sequential Processing
  • Typical Challenge: Planning the Correct Sequence of Commands

Work Assignment (Excerpt)

  1. Create a sequence of commands that leads Linus to the exit.
  2. Use one instruction per step.
  3. Pay attention to the correct order of the commands.

Example (Excerpt)

This code snippet illustrates the linear execution of movement instructions within a program.

1
2
3
4
5
bewegen()
bewegen()
bewegen()
rechts_drehen()
bewegen()

Hints for Classroom Practice

This module connects fundamental algorithmic concepts with a clear, step-by-step implementation in the form of simple program flows.

The clear task structure supports transparent lesson organization and facilitates result verification; differentiation is possible through alternative solution paths.

Request a demo access and try out the module in your own course context.