Lesson Notes By Weeks and Term - Senior Secondary 2

Program development II

Term: 3rd Term

Week: 2

Class: Senior Secondary School 2

Age: 16 years

Duration: 40 minutes of 2 periods each

Date:       

Subject:      Computer studies and ICT

Topic:-       Program development II

SPECIFIC OBJECTIVES: At the end of the lesson, pupils should be able to

  1. Outline the precautions to be taken when writing a program
  2. List and explain the stages in program development

INSTRUCTIONAL TECHNIQUES: Identification, explanation, questions and answers, demonstration, videos from source

INSTRUCTIONAL MATERIALS: Videos, loud speaker, pictures, Data Processing for senior Secondary Education by Hiit Plc, WAPB Computer Studies for Senior Secondary II by Adekunle et  al, On-line Materials.

INSTRUCTIONAL PROCEDURES

PERIOD 1-2

PRESENTATION

TEACHER’S ACTIVITY

STUDENT’S ACTIVITY

STEP 1

INTRODUCTION

The teacher reviews the previous lesson on program development

Students pay attention

STEP 2

EXPLANATION

He outlines the precautions to be taken while writing programs

 

Students pay attention and participates

STEP 3

DEMONSTRATION

He further explains each stage of program development

Students pay attention and participate

STEP 4

NOTE TAKING

The teacher writes a summarized note on the board

The students copy the note in their books

 

NOTE

PRECAUTIONS TO BE TAKEN WHEN WRITING A PROGRAM

  1. Do not rush. Be careful, stable and patient when writing programs.
  2. No step should be skipped.
  3. The order of execution must be followed sequentially

 

STAGES IN PROGRAM DEVELOPMENT

  1.       Problem Definition: Entails defining and understanding the problem statement and deciding the boundaries of the problem. In this phase we need to understand the problem statement, what is our requirement, what should be the output of the problem solution? These are defined in this first phase of the program development life cycle.
  2.     Problem Analysis: The requirements like variables, functions, or resources to solve the problem are gathered.
  3.     Algorithm/Flowcharting: During this phase, a step by step procedure to solve the problem using the specification given in the previous phase is developed.
  4.     Desk checking: This involves manual checking of the logic of a program for correctness
  5.    Coding: This phase involves using a programming language to write or implement actual programming instructions for the steps defined in the previous phase. In this phase, we construct actual program. That means we write the program to solve the given problem using programming languages like C, C++, Java etc.,
  6.     Program compilation: Compilation is the process whereby the source program (program written in other language different from machine language), is translated into machine readable code. A compiler does the job of compilation.
  7.         Testing & Debugging: During this phase, we check whether the code written in previous step is solving the specified problem or not, i.e. check whether input data will provide desired output or not.
  8. Maintenance: During this phase, the program is actively used by the users. If the user encounters any problem or wants any enhancement, then we need to repeat all the phases from the starting, so that the encountered problem is solved or enhancement is added.
  9.          Documentation: Program documentation includes hard-copy or electronic manuals that enable users, program developers, and operators to interact successfully with a program, e.g. user manual (a description of software commands and troubleshooting guide).

 

 EVALUATION: 1. What are the precautions to be taken when writing a                                 program?

  1. List and explain the stages in program development

CLASSWORK: As in evaluation

CONCLUSION: The teacher commends the students positively