Choose Your Language
WHAT IS COMPUTER LANGUAGE | FULL DETAIL ,ITS EXTRA KNOWLEDGE

WHAT IS COMPUTER LANGUAGE | FULL DETAIL ,ITS EXTRA KNOWLEDGE

Computer Language programming language

Friends, if you have questions like the historical development of computer language, computer programming language, high-level language, programming language, historical development of computer languages, what is a programming language, etc., then you’re in the right place for answers. So let’s learn more about them.

Generally, we use languages like English, Hindi, Telugu, etc. to communicate between two people. This means that when we want to communicate between two people, we need a language through which people can express their feelings.

Similarly, when we want to communicate between a user and a computer, or between two or more computers, we need a language through which the user can give information to the computer and vice versa.

When a user wants to give instructions to the computer, they need a specific language, which is known as a computer language.

The user interacts with the computer using programs, which are created using programming languages such as C, C++, Java, etc.

In the early days of computers, only binary languages were used to write programs, but over the years, computer languages have evolved from low-level to high-level languages. Computer Languages are classified as follows…

Low level language – Machine Language

Low-level language is the only language that can be understood by a computer. Binary language is an example of a low-level language. Low-level language is also known as machine language. Binary language has only two symbols, 1 and 0. All instructions in binary language are written as binary numbers 1 and 0. Computers can directly understand binary language. Machine language is also known as machine code. Since the CPU directly understands binary language instructions, it does not require any translator.

The CPU begins executing binary language instructions directly, and it takes very little time to execute instructions because it does not require any translation. Low-level languages are considered first-generation languages (1GL).

Advantages

  • A computer can easily understand a low-level language.
  • A computer can easily understand a low-level language.

Disadvantages

  • Low-level language instructions are very difficult to use and understand.
  • Low-level language instructions are machine-dependent, meaning a program written for a particular machine will not execute on another machine.
  • Low-level languages are more prone to errors and are very difficult to debug, modify, and correct.

Middle Level Language – Assembly Language

A middle-level language is a computer language in which instructions are created using symbols such as letters, numbers, and special characters.

Assembly language is an example of a middle-level language. In assembly language, we use predefined words called mnemonics. The binary code instructions in the low-level language are replaced with mnemonics and operands in the middle-level language. But computers cannot understand mnemonics, so we use a translator called an assembler to translate the mnemonics into binary language.

An assembler is a translator that takes assembly code as input and produces machine code as output. This means that a computer cannot understand a medium-level language, so it needs to be translated into a low-level language to make it understandable by the computer.

Assemblers are used to translate a medium-level language into a low-level language.

Advantages

  • Writing instructions in a middle-level language is easier than writing instructions in a low-level language.
  • A middle-level language is more readable than a low-level language.
  • Easier to understand, easier to find errors, and easier to modify.

Disadvantages

  • A middle-level language is specific to a particular machine architecture, meaning it is machine-dependent.
  • A middle-level language needs to be translated into a low-level language.
  • A middle-level language executes slower than a low-level language.

High Level language

A high-level language is a computer language that can be understood by the user. High-level languages are similar to human languages and have a set of grammar rules used to make instructions easier to execute.

Each high-level language has a set of predefined words called keywords and a set of known rules called syntax for creating instructions.

High-level languages are easier for users to understand, but computers cannot. High-level languages need to be converted to low-level languages to make them understandable by computers. We use compilers or interpreters to convert high-level languages into low-level languages.

Languages like Cobol, Fortran, Basic, C, C++, Java, etc. are examples of high-level languages.

All these programming languages use the English language (human-understandable) to write instructions. These instructions are converted into a low-level language by a compiler so that it can be understood by the computer.

Advantages

  • Writing instructions in a high-level language is easier.
  • High-level languages are more readable and understandable.
  • Programs created using high-level languages vary little or no on different machines.
  • Programs are easier to understand, create, find errors, and modify.

Disadvantages

  • A high-level language needs to be translated into a low-level language.
  • High-level languages execute slower than medium- and low-level languages.

Leave a Reply

Your email address will not be published. Required fields are marked *