Computer Languages

Back - C Language Notes By Vivek Sir email: vivekdubey22@gmail.com (w) 9826424484

What is Computer Language?

Computer languages are the languages through which user can communicate with the computer by writing program instructions.

Every computer programming language contains a set of predefined words and a set of rules (syntax) that are used to create instructions of a program.

computer languages, types of computer languages,low level language, middle level language, high level language

computer languages, types of computer languages,low level language, middle level language, high level language

Low Level Language (Machine Language)

Low Level language is the only language which can be understood by the computer. Binary Language is an example of low level language. Low level language is also known as Machine Language. The binary language contains only two symbols 1 & 0. All the instructions of binary language are written in the form of binary numbers 1's & 0's. A computer can directly understand the binary language. Machine language is also known as Machine Code.

As the CPU directly understands the binary language instructions, it does not require any translator. CPU directly starts executing the binary language instructions, and takes very less time to execute the instructions as it does not requires any translation. Low level language is considered as the First Generation Language (1GL).

Advantages

Disadvantages


 

Middle Level Language (Assembly Language)

Middle level language is a computer language in which the instructions are created using symbols such as letters, digits and special characters. Assembly language is an example of middle-level language. In assembly language, we use predefined words called mnemonics. Binary code instructions in low-level language are replaced with mnemonics and operands in middle-level language. But the computer cannot understand mnemonics, so we use a translator called Assembler to translate mnemonics into binary language. Assembler is a translator which takes assembly code as input and produces machine code as output. That means, the computer cannot understand middle-level language, so it needs to be translated into a low-level language to make it understandable by the computer. Assembler is used to translate middle-level language to low-level language.

Advantages

Disadvantages


 

High Level Language

High-level language is a computer language which can be understood by the users. The high-level language is very similar to human languages and has a set of grammar rules that are used to make instructions more easily. Every high-level language has a set of predefined words known as Keywords and a set of rules known as Syntax to create instructions. The high-level language is easier to understand for the users but the computer cannot understand it. High-level language needs to be converted into the low-level language to make it understandable by the computer. We use Compiler or interpretor to convert high level language to low level language.

Languages like COBOL, FORTRAN, BASIC, C ,C++, JAVA etc., are the examples of high level languages. All these programming languages use human understandable language like English to write program instructions. These instructions are converted to low-level language by the compiler so that it can be understood by the computer.

Advantages

Disadvantages

C Language Video

Back - C Language Notes By Vivek Sir email: vivekdubey22@gmail.com (w) 9826424484