Loops in Programming - JS 2 Plan

```html

LESSON PLAN

DIGITAL TECHNOLOGIES

Subject: Digital Technologies
Class: JSS 2
Term: Second Term
Week: 8
Topic: Loops in Programming
Duration: 80 Minutes (Double Period)
Date/Period: ________________________

Learning Objectives

By the end of the lesson, students should be able to:

  1. Define a loop in programming.
  2. Explain the importance of loops in programming.
  3. Differentiate between FOR and WHILE loops.
  4. Identify common loop blocks in Scratch.
  5. Create a simple program that repeats instructions using Scratch loops.

Previous Knowledge

Students have learnt about variables and control with conditions in programming. They can identify instructions and arrange them to perform simple tasks.

Instructional Materials

  • Computer system or laptop.
  • Projector or display screen, where available.
  • Scratch programming environment.
  • Charts showing repeat, forever and repeat-until blocks.
  • Whiteboard and markers.

Reference Materials

  • Digital Technologies lesson note: Loops in Programming.
  • Scratch programming environment and learning resources.
  • Teacher-prepared examples and exercises.

Presentation

Stage/Time Teacher's Activities Students' Activities
Stage 1
Introduction
5 minutes
Asks students to mention activities that involve repetition, such as clapping five times or taking repeated steps. Connects these examples to programming. Mention repeated activities and explain why the same action may need to be performed several times.
Stage 2
Meaning and Importance of Loops
10 minutes
Defines a loop as a programming structure that repeats instructions. Explains that loops reduce repeated code, save time and make programs easier to manage. Listen, take notes and give examples of tasks where loops would be useful.
Stage 3
Types of Loops
15 minutes
Explains the FOR loop as suitable when the number of repetitions is known, and the WHILE loop as one that continues while a condition remains true. Gives simple pseudocode examples. Differentiate between FOR and WHILE loops and identify situations where each may be used.
Stage 4
Loops in Scratch
15 minutes
Demonstrates the repeat, forever and repeat until blocks. Explains how each block controls repeated actions. Identify the loop blocks and describe what each one does.
Stage 5
Practical Activity
25 minutes
Guides students to create a Scratch program using the green flag, a repeat (5) block, a move (10) steps block and a wait (1) second block. Demonstrates how repeat-until can be used to continue an action until a condition is met. Build and run the program, observe the sprite's movement and modify the repetition value. Where possible, create a second program using repeat-until.
Stage 6
Evaluation and Conclusion
10 minutes
Asks oral questions, corrects misconceptions, reviews the types of loops and summarises the lesson. Answer questions, explain the difference between loop types and state one use of loops in programming.

Evaluation

  1. What is a loop in programming?
  2. State two advantages of using loops.
  3. Differentiate between FOR and WHILE loops.
  4. Name three loop blocks available in Scratch.
  5. What does the repeat (5) block do in a Scratch program?
  6. When would you use a repeat-until block?

Assignment

  1. Define a loop in programming.
  2. Explain two differences between FOR and WHILE loops.
  3. Draw or describe the Scratch repeat, forever and repeat-until blocks.
  4. Write the steps for creating a Scratch program that moves a sprite 10 steps five times.
  5. Give three examples of tasks where loops can be used.

Teacher's Reflection/Remarks

Were students able to explain loops and use Scratch loop blocks correctly? Record any difficulties encountered and provide additional practical exercises where necessary.

Remarks: __________________________________________________

Teacher's Signature: ____________________   Date: __________

```

Comments

Popular posts from this blog

Complete Computer Studies/ICT Curriculum for JSS 1 to SSS 3

90 Objective Examination Questions in Major Subjects

Number Base System