Section 1 - Generations of Programming Languages
Section 1 - Generations of Programming Languages
1
A first generation (programming) language (1GL) is a grouping of programming languages that
are machine level languages used to program first-generation computers. It is also known as 1st
generation language or machine level language. The instructions are made of binary numbers,
represented by 0s and 1s.
2
CATEGORIES OF PROGRAMMING LANGUAGES
Java is an object-oriented language (language that is organized around "objects" rather than
"actions") similar to C++ , but simplified to eliminating language features that cause common
programming errors.
Structured Query Language (SQL) is a standard computer language for relational database
management and data manipulation. SQL is used to query, insert, update and modify data.
PROgramming LOGic (PROLOG) It uses a form of mathematical logic (predicate calculus) to solve
queries on a programmer-given database of facts and rules.
C is a high-level and general purpose programming language that is ideal for developing firmware or
portable applications.
COBOL (COmmon Business-Oriented Language) is a business-based programming language
designed for exclusive use in mainframe computers.
Pascal is a reliable and efficient programming language; it is mainly used to teach programming
techniques. It uses control structures with reserved words which include if, then, else, while, etc.
Beginner's All-purpose Symbolic Instruction Code ( BASIC) is primarily used as a tool for teaching
fundamental programming principles.
FORmula TRANslator (FORTRAN) Is a programming language designed for numeric computation and
scientific computing.
An assembly language is a low-level programming language for microprocessors and other
programmable devices.
A Binary Digit (Bit) is the smallest unit of information in a computer. It is used for storing information
and has a value of true/false, or on/off.
3
PROGRESS QUIZZES - (54 marks)
4. Name SIX high-level programming languages and describe them. (12 marks)
8. Procedural languages are part of the generations of computer language except ______. (1 mark)
11. Second generation languages are converted into machine language by a / an ________. (1 mark)
12. _________________ is a computer term, symbol or name used to define or specify a computing
function. (1 mark)
13. _________________ language is suitable for machines to understand but very difficult for the
human programmer to interpret and learn. (1 mark)
16. Say what languages are the following codes written in: (4 marks)
a. ADD XY, 60 b. 11100110 c. ACCEPTNum3 d. Print(“HIThere!\n”);
18. A (an) ____________ converts the programmer’s procedural language program into machine
language. (1 mark)
4
19. _______________ languages require the use of objects. (1 mark)
20. The computer speaks one main language, which is _____________ language. (1 mark)
22. What programming code is the following computer program written in? (1 mark)
23. Study the programming code in Question 22 and state which line does the following: (3 marks)
a. Processing
b. Storage
c. Output
24. Study the programming code in Question 22 and state which line(s) do / does the following:
(5 marks)
a. Input
b. Prompting
c. Declares variables