Programing Languages

Programming Languages are the set of instructions given to a computer in order to do some specific works. The group of keywords in each language is totally different also having different sentence structure for grouping program structure.

4 Types of Programming Languages
(i) Machine Language
(ii) Assembly Language
(iii) High Level Languages
(iv) Fourth Generation Language

* Machine Language – This is also called as the First Generation Computer Languages. The Machine Language Programs contains all the instructions in the Binary Form and Machine language easily understandable to the Computer System.

* Assembly Language – Intermediate-level programming language which is higher (is easier to use but runs slower) than machine language and lower (is more difficult to use but runs faster) than a high-level language. Programs written in assembly language are converted into machine language by specialized programs called assemblers or compilers for their execution by the machine (computer).

* High-Level Languages – High-level languages are designed to be used by the human operator or the programmer. They are referred to as “closer to humans.” In other words, their programming style and context is easier to learn and implement, and the entire code generally focuses on the specific program to be created.

* Fourth Generation Languages (4GLs) – A non-procedural programming language that requires less coding than lower-level languages. Command-line languages that come with operating systems and database management systems (DBMSs) are fourth-generation languages, as are query languages and report writers. Whatever be the language we use but we need to convert our program into machine language so that the computer can understand it. Two ways to convert the program into machine language.

Program Compilation: A compiler translates any high-level language of the entire program into machine language at once.

Program Interpretation: An interpreter convert the high-level language into machine language line by line.

Translate »