Different type of Computer Languages
This list of instructions. Mitten in a computer language is known as source code. As the computer can follow only the given instructions and work accordingly, When Charles Babbage invented the Analytical Engine, it could recognize only the very detailed set of instructions to calculate numbers. This set of instructions could be encoded on punch cards. Just the way human communication has gone through an evolution from sign language, cave painting to modern language computer language has also undergone the process of evolution.
It started with simple 0s and1s which the machine could understand directly to modern-day query-based, object-orientation programming language. This process of changing over the years can be grouped broadly into four-generation.
Generation Of Computer Language
The computer is an electronic machine can understand only the presence and absence of electrical signals. These signals are represented using Os and are, with 1 representing the ON state, i.e. presence of an electrical signal and 0 representing OFF state or absence of electrical signal. In your previous classes, you have already learned about how bits and bytes are used to represent data in the computer. Bytes are series of Os and is holding one character. No matter which computer language is used to write a program, all instructions need to be translated into this language for the computer to understand and act on it. As the computer can understand it directly, it is also known as Machine Language.
The first-generation programming was done using machine language. These program instructions were very big sequences of Os and are. Developing and debugging programs in ‘ machine language was tedious and time-consuming. Difficulty understanding and debugging I led to the development of the second generation of languages.
In the second generation, the binary number system (of Os and ls) was replaced with Hexadecimal notations. These notations, better known as Mnemonics used a mixture of digits and letters of the alphabet to write the instructions. Programmers used abbreviations instead of binary instruction codes. For example A for Add, B for Branch, and C for Compare instead of the different combinations of Os and is. This development made the coding comparatively smaller and easier to work with. However, it needed a translator program known as the assembler’ to convert the code to machine language for the computer to understand it.
The programs developed in both first and second-generation languages are machine-dependent, i. e dependent on the hardware of that specific machine. That Is why they are called Low-Level languages.