Categories: Lesson Notes

SS3 Second Term Computer Studies Lesson Note – High Level Languages II

The content is just an excerpt from the complete note for SS3 Second Term Computer Studies Lesson Note – High Level Languages II. Check below to download the complete DOCUMENT

WEEK 6.       

TOPIC: HIGH LEVEL LANGUAGES (HLL)

CONTENT

  • Interpreted Language (i) BASIC (ii) Compiled Language PASCAL, COBOL, C, FORTRAN.
  • Features of BASIC, C, PASCAL, COBOL.
  • Advantages of HLL over ML and LLL.

Sub-topic 1:   Interpreted Language

They are languages that must be read and then executed directed, with no compilation stage. A program called the interpreter is used to read each line of grogram following the program flow, converts it to machine code and it is used to interpret again if the line is executed again.

Compiled Language

Compiled languages are transformed into an executable form before running. They are of two types: (a) machine code generation: some compilers compile source code directly into machine code. This is the original mode of compilation, and languages that are directly and completely transformed to machine-native code in this way may be called ‘truly compiled’ languages e.g. PASCAL. (b) intermediate representation: a language that is compiled to an intermediate representation, is that which can be optimized or saved for later execution without the need to read the source file again. When the intermediate representation is saved it is often represented by a bite-code. The intermediate representation must then be interpreted or further compiled to execute it. E.g. Java.

Advantages of HLL over ML and LLL

  1. HLL makes a complex programming simpler, whereas low level languages tend to produce more efficient code.
  2. They are considered simply to use due to the numerous technical details, which must be remembered in ML and LLL.
  3. Ease of modification and maintenance.
  4. Greater portability for a program.

Sub-topic 2:   Features of BASIC

The features of True BASIC included in the above program include:

The first statement is an optional PROGRAM header. The inclusion of a program header is good programming style.

To gain full access to the note: DOWNLOAD FILE

Sunday

Share
Published by
Sunday

Recent Posts

List of Universities Offering Veterinary Medicine in Nigeria

Veterinary medicine is the branch of medicine that deals with the prevention, diagnosis, and treatment…

4 months ago

List of Universities Offering Anthropology in Nigeria

Anthropology is the scientific study of human beings and their cultures. It encompasses a wide…

4 months ago

List of Universities Offering Sociology in Nigeria

Sociology is the scientific study of human society, culture, and behavior. It examines the social…

4 months ago

List of Universities Offering Social Work in Nigeria

Social Work is a profession dedicated to helping individuals, families, and communities to cope with…

4 months ago

List of Universities Offering Religious Studies in Nigeria

Religious studies is an academic discipline that explores the beliefs, practices, and history of various…

4 months ago

List of Universities Offering Public Administration in Nigeria

Public administration is the field of study and practice that focuses on the organization and…

4 months ago