1lesson Plan Grade 8 Coding Robotics t1 Wk1 Wk2
1lesson Plan Grade 8 Coding Robotics t1 Wk1 Wk2
Learning intentions (What will Success Criteria (How will learners show that they 1. Problem-Based Learning (PBL):
o Present scenarios (e.g., grid navigation, crane
learners learn?) have learned?) operations) as problems to solve.
• Learners will understand what an • Learners can predict the outcomes of a pre-written o Encourage critical thinking and collaboration.
algorithm is through problem-solving algorithm. 2. Cooperative Learning:
• Learners can test and debug instructions. o Assign roles in group activities (e.g., navigator,
activities. debugger).
• Learners will predict the outcomes of • Learners can write and present clear step-by-step o Rotate roles to ensure all learners participate.
pre-written algorithms. instructions to navigate a grid. 3. Pair Programming:
• Learners can explain how algorithms relate to everyday o Learners work in pairs to write and test
• Learners will write, test, and debug algorithms.
tasks.
step-by-step instructions to navigate • Learners can identify and fix errors in pre-written and o Swap roles between driver and navigator.
a grid. 4. Deliberate Practice:
self-created algorithms. o Start with simple tasks and gradually increase
• Learners will collaborate with peers to • Learners demonstrate effective collaboration in groups complexity.
present and explain their solutions. or pairs. 5. Science of Learning:
• Leaners will debug simple errors in o Use dual coding (combine visuals and text) to
step-by-step instructions. explain concepts.
o Use retrieval practice to review previous
lessons.
Page 1 of 22
Page 2 of 22
Page 3 of 22
Page 4 of 22
• Arrange desks for pairs or small groups to work collaboratively. • Instruct learners to:
• Test the example navigation algorithm on the grid to ensure clarity during the o Write a step-by-step algorithm to swap Crate A (on the left) with Crate B (on
the right).
demonstration.
o Use simple, clear language, such as:
2. Introduction (5 Minutes):
▪ "Move Down, Grab, Move Up, Move Right."
o Explain the Concept: • Remind learners to double-check their instructions for completeness and accuracy.
▪ Start by saying: "An algorithm is a set of step-by-step instructions to solve a
problem. Today, we'll learn how to write algorithms to navigate a grid." Step 2: Testing and Debugging
o Use a Visual Example: • After learners write their algorithms:
▪ Display a pre-drawn 4x4 grid on the board or a slide. Place a starting point o Groups swap their algorithms with another group.
(e.g., A1) and an end point (e.g., C3). o One group "acts out" the algorithm using the commands provided, while the
other observes and evaluates.
▪ Walk learners through an example algorithm, narrating each step:
• Encourage learners to identify errors (e.g., missing steps, incorrect sequence) and
▪ "Step 1: Move right to B1."
suggest corrections.
▪ "Step 2: Move down to B2." • Allow groups to revise and retest their algorithms.
▪ "Step 3: Move right to C2."
▪ "Step 4: Move down to C3." 4. Reflection and Optimization (10 Minutes):
▪ Emphasize that each step must be precise to avoid errors. • Facilitate a group discussion to consolidate learning:
o Highlight Key Ideas: o Guiding Questions:
▪ "Each move in the grid represents one step in the algorithm, just like steps 1. "What errors did you find, and how did you fix them?"
in a recipe."
▪ Expected responses: "We missed a grab command," or
"We placed the crate in the wrong spot because we
▪ "If we skip or misplace a step, the algorithm won't work as intended." skipped a step."
2. "How can we make the instructions shorter or more efficient?"
3. Activity (25 Minutes): ▪ Encourage learners to think about combining steps or
o Step 1: Writing Algorithms removing unnecessary moves.
• Divide learners into pairs or small groups. 3. "Why is it important for algorithms to be precise and clear?"
▪ Highlight that unclear instructions can lead to errors,
• Distribute 4x4 grid templates.
wasted time, or unintended outcomes, just like in real-
• Challenge learners to write an algorithm to navigate from a given starting point (e.g., world coding tasks.
A1) to an endpoint (e.g., C4) on the grid. • Wrap-Up:
• Encourage learners to: o Say: "Debugging and optimizing algorithms is a critical part of coding and
o Use arrows (→, ↓, ↑, ←) or descriptive text (e.g., “right,” “down”) to write each robotics. These skills help us solve problems efficiently and accurately."
step.
o Keep instructions clear and sequential. Teaching Methodologies & Classroom Management
o Step 2: Testing Algorithms 1. Problem-Based Learning (PBL):
• Groups exchange their algorithms with another group. o Present scenarios (e.g., grid navigation, crane operations) as problems to
• Each group tests the algorithm they received by tracing the path on the grid with solve.
o Encourage critical thinking and collaboration.
arrows or markers.
Page 5 of 22
• Observe whether the algorithm successfully reaches the endpoint. 2. Cooperative Learning:
Step 3: Debugging Algorithms o Assign roles in group activities (e.g., navigator, debugger).
o Rotate roles to ensure all learners participate.
• If the algorithm doesn’t navigate the grid successfully:
3. Pair Programming:
o Groups identify errors (e.g., missing steps, incorrect directions). o Learners work in pairs to write and test algorithms.
o Suggest corrections and revise the algorithm. o Swap roles between driver and navigator.
• Encourage groups to retest their corrected algorithms to ensure accuracy. 4. Deliberate Practice:
o Start with simple tasks and gradually increase complexity.
5. Science of Learning:
4. Reflection (5 Minutes):
o Use dual coding (combine visuals and text) to explain concepts.
o Facilitate a class discussion using these guiding questions: o Use retrieval practice to review previous lessons.
1. "How is navigating a grid similar to solving problems in coding?"
▪ Expected responses: "We have to follow steps in the right order,
just like in coding."
2. "What happens if a step is missing or incorrect?"
▪ Expected responses: "The program won't work, or it might lead
to the wrong result."
3. "How does debugging help improve algorithms?"
▪ Expected responses: "It helps us find and fix mistakes, so the
algorithm works correctly."
o Conclude with: "Debugging is an essential part of coding because it ensures our
instructions are clear and accurate."
LEARNER ACTIVITIES:
o See the Learner Activity Worksheets below.
Page 6 of 22
1.
2.
3.
4.
5.
6.
Page 7 of 22
7.
8.
9.
10.
11.
12.
Reflection Questions:
• Was your algorithm easy to follow?
• What happened if a step was unclear or missing?
Page 8 of 22
This activity will help you practice writing and testing step-by-step instructions, called algorithms,
to navigate a robot through a grid.
Objective:
Write and debug algorithms to navigate a 4x4 grid.
Symbols
Use the following symbols to help you understand the robot's movements:
➡ Move Forward
↩Turn left
↪ Turn right
TASK:
Work in pairs to complete the following tasks. Follow the steps below:
1. Predict (5 minutes):
Look at the provided 4x4 grid and predict where the robot will end up following this algorithm:
a. ➡ Move forward 1 step
b. ↪ Turn right
c. ➡ Move forward 1 step
d. ↩Turn left
e. ➡ Move forward 1 step
A B C D
2. Run (5 minutes):
Act as the robot and follow the instructions exactly as written. Compare the result to your
prediction.
Page 9 of 22
__________________________________________________________________________
__________________________________________________________________________
3. Investigate (5 minutes):
Identify any errors in the instructions or execution. Write down what went wrong:
Error(s):
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
4. Modify 10 minutes:
Rewrite the instructions to fix any errors. Use the space below to write your updated
algorithm:
New Algorithm:
1. __________________________________________________________
2. __________________________________________________________
3. __________________________________________________________
1
1
2
2
3
3
Guiding Questions:
1. Did the robot follow the path you expected? Why or why not?
__________________________________________________________________________
__________________________________________________________________________
Page 10 of 22
Page 11 of 22
Grade 8: Week 2
Activity 1: The Mushroom Maze
1. Sad →
2. Tail →
3. Talky →
Figure 2: GRIT
Answers
Figure 1: Activity Mushroom Maze
1. Sad __________________ D1
2. Tail __________________A4
3. Talky_________________C3
Reflection Questions:
• Did each beaver end up at their mushroom successfully? Why or why not?
__________________________________________________________________________
__________________________________________________________________________
• How does following arrows relate to writing an algorithm?
Page 12 of 22
__________________________________________________________________________
__________________________________________________________________________
Page 13 of 22
Objective
Scenario
The crane in a shipping yard can move crates using the following commands:
1. Left
2. Right
3. Up
4. Down
5. Grab
6. Release
The crane starts with Crate A on the left position and Crate B on the right position. Your task
is to write a set of instructions to swap the positions of the two crates.
Section 1: Question
Which is he correct set of instructions to swap the position of the two crates? Write down the
letter of the correct answer in the appropriate block on your answer sheet
A. (Down, Grab, Up, Right, Right, Down, Release, Up) (Down, Grab, Left, Down, Release,
Up) (Down, Grab, Up, Right, Down, Release, Up)
B. (Down, Grab, Up, Right, Down, Release, Up) (Right, Down, Grab, Up, Left, Left, Down,
Release, Up) (Right, Down, Grab, Up, Right, Down, Release)
C. (Down, Grab, Up, Right, Down, Release, Up) (Right, Down, Grab, Up, Left, Left, Down,
Release, Up) (Right, Grab, Up, Right, Down, Release)
Page 14 of 22
D. (Right, Right, Down, Grab, Up) (Left, Left, Down, Release, Up)
Swap your algorithm with another group. One group will act out the crane's movements while
the other observes. Test to see if the instructions successfully swap the crates.
• Is anything unclear?
1.
2.
3.
Section 3: Reflection
Page 15 of 22
MEMO
Objective:
3. Pull the right shoelace under the left shoelace and tighten to form the base knot.
5. Wrap the left shoelace around the base of the right loop.
6. Push the left shoelace through the small hole formed near the base.
4. Pour the boiling water into the cup, over the tea bag.
Page 16 of 22
o Yes, it was clear because the steps were detailed and written in the correct sequence.
o The task could not be completed properly. For example, in tying shoelaces, if the step to
pull the left shoelace through the small hole was unclear, the knot could not be tied.
Teacher Notes:
• When acting as the "robot," exaggerate following their instructions literally (e.g., pretending not to
know where the tea bag is if the algorithm doesn't specify). This helps learners see the importance
of clarity and precision.
• Use the reflection questions to prompt critical thinking about the role of algorithms in daily tasks
and coding.
• Highlight that debugging (fixing unclear or missing steps) is part of improving any algorithm.
Page 17 of 22
Objective:
TASK
Predicted Path:
Investigation of Errors:
1. Potential Error(s):
o Learners may not follow the sequence precisely, leading to deviations from the correct
path.
2. Error Identification:
o Ensure learners document issues, e.g., "Turned left instead of right at Step b," or "Missed a
forward move."
Possible Corrected Algorithm (There are more than one correct answer)
Scenario:
Algorithm:
Page 18 of 22
1. Did the robot follow the path you expected? Why or why not?
Sample Answer:
o Yes, the robot followed the expected path because the algorithm was written correctly.
However, errors occurred during execution due to misunderstanding the turn directions.
o I reviewed the steps and realized the turn directions were reversed in one step. I corrected
the mistake by specifying the correct direction (e.g., turning right instead of left).
This activity emphasizes step-by-step thinking and debugging, foundational skills in coding. Encourage
learners to be precise in their instructions and critical in their reflections. Use their answers to the guiding
questions to assess their understanding of algorithmic thinking and debugging.
Page 19 of 22
WEEK 2
Objective:
Correct Answers:
1. Sad: D1
o Path: Follow the arrows starting from Sad's initial position to reach square D1.
2. Tail: A4
o Path: Follow the arrows starting from Tail's initial position to reach square A4.
3. Talky: C3
o Path: Follow the arrows starting from Talky's initial position to reach square C3.
1. Did each beaver end up at their mushroom successfully? Why or why not?
Sample Answer:
o Yes, all the beavers reached their mushrooms because the arrows provided clear and
precise instructions, and the steps were followed in the correct sequence. If any beaver
missed its mushroom, it would indicate that some steps were skipped or executed
incorrectly.
2. How does following arrows relate to writing an algorithm?
Sample Answer:
o Following the arrows is like executing an algorithm because it involves performing a
sequence of predefined steps. If the sequence is followed exactly as intended, the task is
completed successfully. Algorithms, like the arrows, must be clear, step-by-step, and
unambiguous to achieve the desired result.
This memo provides the correct final positions for each beaver and highlights the importance of sequence
and clarity in algorithms. Encourage learners to reflect on the process and link it to real-world coding
Page 20 of 22
scenarios where following step-by-step instructions is essential. Use their answers to the reflection
questions to assess their understanding of the relationship between the activity and algorithmic thinking.
Page 21 of 22
Objective:
Apply your understanding of algorithms to design step-by-step instructions for a crane to swap the
positions of two crates.
Section 3: Reflection
1. What did you learn about algorithms from this activity?
Sample Answers:
• Algorithms must follow a clear and logical sequence to be effective.
• Small errors in an algorithm can lead to incorrect or incomplete outcomes.
• Testing and debugging are essential to ensure the algorithm works as intended.
2. Why is it important for each step in an algorithm to be precise and clear?
Sample Answers:
• Computers and machines rely on exact instructions to function correctly.
• Ambiguity or missing steps can lead to incorrect actions or failures.
• Clear instructions save time and resources by reducing the need for repeated corrections.
Page 22 of 22