Variables in Programming Js 2 Plan

LESSON PLAN

VARIABLES IN PROGRAMMING

Lesson Details Information
SubjectDigital Technologies
ClassJSS 2
TermSecond Term
Week4
TopicVariables in Programming
Duration80 Minutes (Double Period)
Date/Period________________________

1. Learning Objectives

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

  1. Explain the meaning of a variable in programming.
  2. State the uses of variables in computer programs.
  3. Give examples of information that can be stored in variables.
  4. Create and name variables correctly in Scratch.
  5. Use Scratch variable blocks to set and change values in a simple program.

2. Previous Knowledge

Students have been introduced to block-based programming using Scratch and have practised arranging programming blocks to control sprites and create simple animations.

3. Instructional Materials

  • Computers or laptops.
  • Scratch programming environment.
  • Projector or display screen.
  • Sample Scratch programs containing variables.
  • Whiteboard and markers.
  • Coding exercises and activity sheets.

4. Reference Materials

  • Digital Technologies lesson note on Variables in Programming.
  • Scratch interface and built-in help resources.
  • Teacher-prepared examples and practical exercises.

5. Lesson Presentation

Stage/Time Teacher's Activities Students' Activities
Stage 1: Introduction
5 minutes
Asks students how they record examination scores or count items. Introduces the idea of storing information that may change. Respond to questions and give everyday examples of changing values.
Stage 2: Meaning of Variables
10 minutes
Defines a variable as a named storage location for data. Explains examples such as Score, Age, Count and StudentName. Listen, take notes and identify information that can be stored in variables.
Stage 3: Uses and Naming
15 minutes
Explains how variables store information, keep scores, count events and support calculations. Demonstrates meaningful variable names. Give examples of variable uses and suggest suitable names for different types of information.
Stage 4: Creating Variables in Scratch
15 minutes
Demonstrates opening the Variables category, selecting Make a Variable and creating a variable named Score. Explains the set, change, show and hide blocks. Observe the demonstration and follow the steps on their computers where available.
Stage 5: Practical Activity
25 minutes
Guides students to create a Score variable, set it to 0 when the green flag is clicked and increase it by 1 when a sprite is clicked. Checks their programs. Create the variable, join the correct blocks, run the program and observe how the score changes after each click.
Stage 6: Evaluation and Conclusion
10 minutes
Asks oral questions, corrects misconceptions and summarises the meaning, uses and manipulation of variables. Answer questions, demonstrate understanding and state what they have learnt.

Total Duration: 80 Minutes

6. Evaluation

Ask students the following questions:

  1. What is a variable in programming?
  2. Mention four uses of variables.
  3. Give three examples of meaningful variable names.
  4. How do you create a variable in Scratch?
  5. Differentiate between the set and change variable blocks.
  6. Describe how to create a simple score counter in Scratch.

7. Assignment

  1. Define a variable and state three uses.
  2. List five examples of variable names and the information each can store.
  3. Explain three guidelines for naming variables correctly.
  4. Describe a Scratch program that sets Count to 0 and increases it by 1 whenever a sprite is clicked.

8. Teacher's Reflection

Were students able to explain variables, create them in Scratch and use variable blocks correctly? Identify students who need additional practical guidance.

Teacher's Remarks: ______________________________________________

Head Teacher's Signature: _______________________________________

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