Space | Substitute Teacher
Students will practice basic coding thinking by planning and debugging a simple space mission using sequences and conditionals. This lesson is designed for a substitute teacher and can be completed with minimal prep using discussion, paper, or a quick unplugged activity.
| Term | Definition |
|---|---|
| algorithm | A step-by-step set of instructions to complete a task. |
| sequence | The order in which instructions are carried out. |
| debug | To find and fix mistakes in code or instructions. |
| condition | A rule that changes what happens if something is true or false. |
| program | A set of instructions a computer follows. |
Say: 'Today we are coding a spacecraft mission to the Moon or Mars.' Ask students what could go wrong if instructions are out of order.
Share ideas and listen for examples of order and mistakes.
Define algorithm, sequence, and debug. Model a simple space mission on the board, such as: power on, launch, orbit, land. Intentionally mix up one step and ask students to notice the problem.
Repeat the vocabulary and identify the incorrect step order.
Write a short mission with 5 to 6 steps on the board, including one error. Example: '1. Put on helmet. 2. Launch rocket. 3. Refuel after launch. 4. Check controls. 5. Land on Moon.' Ask students how to fix it.
Discuss in pairs or as a class, then suggest a corrected sequence.
Give students a simple prompt: 'Write 4 to 6 instructions to send a rover to collect a moon rock.' Remind them to use clear order and include one if-then condition if possible.
Write their own sequence and, if ready, add one condition such as 'If the path is blocked, stop and reroute.'
Invite 2 to 3 students to read their mission plans. Quickly check for logical order and clear instructions.
Share work and explain one choice they made.
Review the key idea: coding depends on clear order and careful debugging, especially for space missions. Ask students to complete the sentence: 'A good coder checks the sequence because...'.
Collect or review the student mission plans for correct sequence, at least one debugging fix, and use of vocabulary. Use participation during discussion as a quick formative assessment.