Term: 2nd Term
Week: 8
Class: Junior Secondary School 2
Age: 13 years
Duration: 40 minutes of 2 periods each
Date:
Subject: Computer studies
Topic:- BASIC
SPECIFIC OBJECTIVES: At the end of the lesson, pupils should be able to
INSTRUCTIONAL TECHNIQUES: Identification, explanation, questions and answers, demonstration, videos from source
INSTRUCTIONAL MATERIALS: Videos, loud speaker, textbook, pictures
INSTRUCTIONAL PROCEDURES
PERIOD 1-2
PRESENTATION |
TEACHER’S ACTIVITY |
STUDENT’S ACTIVITY |
STEP 1 INTRODUCTION |
The teacher revises the previous lesson on BASIC |
Students pay attention |
STEP 2 EXPLANATION |
She lists the operators in BASIC |
Students pay attention and participates |
STEP 3 DEMONSTRATION |
She explains each of the operators in BASIC |
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
BASIC
OPERATORS IN BASIC
Operators in BASIC Operators are symbols used in carrying out operations in any program.
There are three types of operators in BASIC. These are;
The following table shows arithmetic operators used in BASIC.
Arithmetic operator |
Meaning |
Example |
+ (Plus sign) |
Addition |
6 + 8 |
- (Minus sign) |
Subtraction |
15 - 7 |
* (Asterisk) |
Multiplication |
9 * 4 |
/ (Forward slash) |
Division |
30 / 6 |
^ (Caret sign) |
Exponentiation |
6 ^ 2 (ie 6 * 6) |
The order of operation is based on BEDMAS, alternatively PEMDAS.
E.g Convert the following arithmetic expressions to BASIC equivalent:
2
Solution
4 * 5 + 15
20 + 15 =35
2
Solution
(a * b + c * d)
2
The following table shows the relational operators used in BASIC.
Comparison operator |
Meaning |
Example |
= |
Equal to |
C4 = B2 |
< |
Less than |
A < B |
> |
Greater than |
D1 > B2 |
<= |
Less than or equal to |
A<=B |
>= |
Greater than or equal to |
A>=B |
<> |
Not equal to |
A<>B |
EVALUATION: 1. List and explain the operators in BASIC
CLASSWORK: As in evaluation
CONCLUSION: The teacher commends the students positively