Comprehensive Study Notes on Programming Languages and Their Generations
Categorization of Programming Languages
Programming Languages are classified into two () primary categories:
Low level Languages: These consist of the and generation of languages.
High level languages: These consist of the , , and generation of languages.
Low Level Languages ( and Generations)
Generational Classifications:
Generation: This level uses machine language or binary code.
Generation: This level utilizes abbreviated code.
Advantages of Low Level Languages:
Execution Speed: The code runs very fast.
Efficiency: These languages are efficient because the code is directly executed by the Central Processing Unit (CPU).
Disadvantages of Low Level Languages:
Machine Dependency: Low level languages are machine-dependent, which means the code can only work on a particular computer.
Complexity: A programmer may become confused by the massive amount of 's and zeros required for coding.
High Level Languages (, , and Generations)
General Characteristics:
High level languages utilize English like statements to facilitate programming.
Generational Classifications and Examples:
Generation: Examples include Pascal and C.
Generation: These are characterized as procedural languages; for example, SQL.
Generation: This generation mimics the actions of humans, such as a robot or AI (Artificial Intelligence).
Advantages of High Level Languages:
Ease of Writing: These languages are easier to write because they employ English like statements.
Portability: These languages are not machine dependent.
Disadvantages of High Level Languages:
Conversion Requirement: Programs must be converted to machine language before they can be run.
Slower Execution: The execution of these programs is slower because of the necessary conversion process.