Lesson Notes By Weeks and Term - Senior Secondary 1

Programming language

Term: 2nd Term

Week: 8

Class: Senior Secondary School 1

Age: 15 years

Duration: 40 minutes of 2 periods each

Date:       

Subject:      Computer Studies and ICT

Topic:-       Programming language

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

  1. Highlight the features of each level of programming language
  2. Distinguish between the various levels of programming language
  3. List some examples of programming languages

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 programming languages

Students pay attention

STEP 2

EXPLANATION

He highlights the features of each level of programming language

 

Students pay attention and participates

STEP 3

DEMONSTRATION

He compares the various levels of programming languages with one another. He also lists some examples of programming languages

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

FEATURES/CHARACTERISTICS OF EACH LEVEL OF PROGRAMMING LANGUAGE

  1. Machine language

i. These instructions consist of binary numbers (set of 0’s and 1’s)

ii. This language is machine dependent i.e. instructions written for a particular type of computer can only be executed on that particular machine.

iii. It is very hard for people to write and understand thus making the programs error prone.

iv. Each CPU design has its own machine language, which is the set of instructions that the CPU of that machine understands and executes.

 

  1. Assembly language

i. Uses mnemonics (symbolic operation codes) and operands (symbolic storage address).

ii. Machine dependent

iii. For any assembly language instruction, one machine language instruction is generated.

iv. It illustrates fundamentals of computer construction and operation.

 

  1. High level languages

i. Machine independent: programs written or compiled on one type of Computer can be executed (run) on different type of computer that has different architecture.

ii. It uses instructions that seem English-like and thus closer to human understanding.

iii. Easy to detect errors

iv. Consists of well-defined syntax and standard.

v. Requires a compiler to translate into machine language before the computer can execute them.

vi. Programs written in HLL are called source code and the compiled version is called object code.

 

Comparison of levels of Programming Languages

MACHINE LANGUAGE

ASSEMBLY LANGUAGE

HIGH LEVEL LANGUAGE

Difficult to learn, write and debug

It is difficult but easier than machine language

It is easier to learn, write and debug

It is machine dependent

Machine dependent

Machine independent

Does not require a translator

Requires a translator called Assembler

Requires a translator called a compiler or interpreter

Instructions consist of binary digits (1’s and 0’s)

Instructions consist of symbols and mnemonics

Instructions consist of English-like words, symbols and numeric.

EXAMPLES OF PROGRAMMING LANGUAGE

The following are some of the many programming languages:

Python, Ada, Algol, APL, BASIC, C, C++, C#, COBOL, FORTRAN, Java, JavaScript, LISP, Pascal, PHP, Perl, Python, Visual Basic etc

 

EVALUATION:    1. State the features of the each level of programming                                   language

  1. Discuss the differences between the levels of                    programming language
  2. List four examples of programming languages

CLASSWORK: As in evaluation

CONCLUSION: The teacher commends the students positively