We explain that what are the examples of programming languages? For a computer to be useful, it is necessary to program a series of functions that you want them to perform. These are programmed in a series of circuits that the CPU has and that can have two states: on or off, that is why it is said that computers understand only binary language.
At first, this was how programming was carried out, turning the circuits on or off depending on what was wanted to be done.
This programming was too time consuming and required highly specialized knowledge, so languages were created that were more human-like, to program computers and translators that passed the instructions written in programming languages , to a series of instructions that the machine was capable of. to understand.
The first known as low-level or assembly language, it was still very confusing for people. The programming languages evolved and developed the third generation, which were formulated with a syntax very similar to the English language. The last are the so-called fourth generation which are of a very high level, that is, very similar to that of the human.
Examples of programming languages
- The first generation language is machine language, which uses only binary symbols, 1 and 0
- The second generation or low level language is assembly language
; —- This program writes “Hello World on the screen
.model small; memory
.stack; stack segment
String1 DB ‘Hello World. $’; string to print (ending in $)
- Third-generation languages are procedure-based, independent of the computer, and can be used on any other computer, for example COBOL, FORTRAN, PASCAL, C, BASIC.
- The fourth generation languages are even more similar to the English language and are not based on procedures like C ++, Power Builder, Delphi