Term: 2nd Term
Week: 6
Class: Senior Secondary School 2
Age: 16 years
Duration: 40 minutes of 2 periods each
Date:
Subject: Data Processing
Topic:- Program development
SPECIFIC OBJECTIVES: At the end of the lesson, pupils should be able to
- Define a program
- State the characteristics of a good program
- Outline the precautions to be taken when writing a program
- List and explain the stages in program development
- Explain program maintenance
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 I 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 the system development life cycle
|
Students pay attention
|
STEP 2
EXPLANATION
|
He explains the meaning of program and outlines the characteristics of a good program
|
Students pay attention and participates
|
STEP 3
DEMONSTRATION
|
He further outlines the precautions to be taken while writing programs, explains each stage of program development and what program maintenance mean.
|
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
PROGRAM DEVELOPMENT
A computer program can be defined as a list of instruction issued to the computer to perform a particular task. Programs are written in computer programming languages.
Characteristics of a good program
Every good program must have the following characteristics:
- Accuracy: every good program must be error free.
- Readability: the program should be easy for any programmer to read and understand.
- Maintainability: a careful written program should be very easy to amend and maintain if need be.
- Efficiency: Should have the ability to solve a particular problem skillfully.
- Generality: should be able to solve all similar problems.
- Clarity: should be straight forward and easy to understand.
- Reliability: should be depended upon at all times.
Precautions to be taken when writing a program
- Do not rush. Be careful, stable and patient when writing programs.
- No step should be skipped.
- The order of execution must be followed sequentially.
Steps in Program Development
- Problem definition: the programmer is expected first of all to understand the problem and know exactly what the problem entails. The definition of the problem must be unambiguous.
- Problem analysis: The programmer is expected to analyze the problem to determine how it will be solved, the required inputs and output
- Planning the solution: before a program is written, the algorithm or flowchart for that program must be drawn and tested before the actual coding of the program and this is called dry running a program. The flowchart therefore, is a diagrammatical representation of the steps involved in writing a given program.
- Program coding: This is the actual writing or coding of the program in a particular programming language e.g. BASIC, VBASIC, FORTRAN, Pascal, COBOL and so on.
- Disk checking: This is used to check or verify that the design represents a correct solution to a problem and it is very important to follow through the design using suitable test data.
- Problem compilation: when the coding process is completed, the program will be compiled if it is necessary. It is necessary to compile if the programming language allows it.
- Program testing: this is similar to proofreading. The written program is tested and errors corrected to check the program is able to solve the problem it is expected to solve
- Program documentation: this involves writing a detailed description about the program and some specific facts pertaining to the usage and maintenance of the program.
- Program running: this is the actual running or execution of the program with the compiler or interpreter so as to check if the desired output is generated.
PROGRAM MAINTENANCE
It is the process of updating or amending previously written program for current use
EVALUATION: 1. Explain the meaning of program
- Discuss the characteristics of a good program
- What are the precautions to be taken when writing a program?
- List and explain the stages in program development
- What is program maintenance?
CLASSWORK: As in evaluation
CONCLUSION: The teacher commends the students positively