Language - Generation (1GL, 2GL, 3GL, 4GL)

Card Puncher Data Processing

About

Higher is the number, closer we get where plain spoken human language will be sufficient to program a computer.

The closer the language used by the programmer is to human language, the higher the GL number.

Generalation Language

Type

1GL

A first-generation language (or 1GL) is one single language: the machine language.

2GL

Second-generation languages (2GLs) include assembly language.

In 2GL language, the programmer is obligated to deal with very low levels of detail within the computer's hardware to perform relatively common coding tasks.

For example, in order to write a command to add two numbers together, you write code that identifies which registers will contains the first number and second number. Then you will invoke a command to perform the arithmetic and store the result in a third location.

3GL

high level language or Third-generation languages (3GLs) were create primarily to reuse code via block but they also include common language features such as:

The code is translated to machine code for the computer to actually execute.

4GL

SQL is the only widely used 4GL in commercial use today.

Artificial intelligence languages are also classified as 4GL.

Declarative language and dsl could be classified as 4GL.





Discover More
Card Puncher Data Processing
Computer Language

A programming language is a interface to the control of a CPU effectively controlling a computer. A language is a (possibly infinite) set of string all of which choose their symbols from some one alphabet....
Card Puncher Data Processing
Design - Layers

A layer is the implementation of abstraction. From a high level, each language generation are a layer. A layer is built based on recurring pattern. If a lower layer has a recurring pattern, it is taken...
Card Puncher Data Processing
Language - Assembly (asm)

Assembly language is a low-level programming language. It's a the second generation of language just above machine language. This language is a much more readable language than machine language because...
Language Hierarchy
Language - Hierarchy

Language have a hierarchy that can be measured on how far they are from the programmable hardware. When you are programming, you are finding yourself building block of code that you can reuse. Language...
Card Puncher Data Processing
Language - High Level (Programming Language)

High Level Language means that reading and writing is really easy as it looks like regular English. The return variable of a definition is not tied to a data type, it can return False of a string for...
Language Hierarchy
Language - Machine

Machine language is the binary format for instructions that can be stored in memory and decoded by the CPU. Machine language is a collection of instruction that a device can identify and perform a corresponding...
Card Puncher Data Processing
Low Level Language

A low level language is a language that is really closed to the machine language. The first, two and some third generation such as C are typed as low level language because they are not caching the interface...
Card Puncher Data Processing
Software Design - Abstraction Layer

Abstraction is a technique for hiding complexity that is irrelevant to the targeted user (ie targeted business domain). A designer should not know which electrons flow in the wire to defined its color....



Share this page:
Follow us:
Task Runner