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

GSE 301 Theory Questions: Concept Of Entrepreneurship Using Descriptive Phrases And Sentences

300 Level Introduction To Entrepreneurial Skills Practices exam questions and detailed answers. Download the answers…

1 hour ago

GES 301 Theory Questions: Entrepreneurship Challenges In Nigeria – Feasibility Studies Vs Business Plans

300 Level Introduction To Entrepreneurial Skills Practices exam questions and detailed answers. Download the answers…

2 hours ago

GES 301 Theory Questions: Time Management And Business Plan

300 Level Introduction To Entrepreneurial Skills Practices exam questions and detailed answers. Download the answers…

2 hours ago

GES 301 Theory Questions: Rationales For Entrepreneurship In Nigeria

300 Level Introduction To Entrepreneurial Skills Practices exam questions and detailed answers. Download the answers…

2 hours ago

ENG 301 Theory Questions: Business Feasibility Study

300 Level Introduction To Entrepreneurial Skills Practices exam questions and detailed answers. Download the answers…

2 hours ago

GCE 301 Theory Questions: Types Of Entrepreneur And Entrepreneurial Skills

300 Level Introduction To Entrepreneurial Skills Practices exam questions and detailed answers. Download the answers…

19 hours ago