COMPUTER LANGUAGE
A Computer language includes various languages that are used to communicate with a Computer machine. Some of the languages like programming language which is a set of codes or instructions used for communicating the machine. Machine code is also considered as a computer language that can be used for programming. And also HTML which is a computer language or a markup language but not a programming language. Similarly there are different types of languages developed for different types of work to be performed by communicating with the machine. But all the languages that are now available are categorized
into two basic types of languages including Low-level language and High level language.
COMPUTER LANGUAGE
LOW LEVEL LANGUAGE:
Low level languages are the machine codes in which the instructions are given in machine language in the form of 0 and 1 to a Computer system. It is mainly designed to operate and handle all the hardware and instructions set architecture of a Computer. The main function of the Low level language is to operate, manage and manipulate the hardware and system components. There are various programs and applications written in low level languages that are directly executable without any interpretation or translation. The most famous and the base of all programming languages “C” and “C++” are mostly used Low level languages till today. Low level language is also divided into two parts are Machine language and Assembly language.
MACHINE LANGUAGE : is one of the low-level programming languages which is the first generation language developed for communicating with a Computer. It is written in machine code which represents 0 and 1 binary digits inside the Computer string which makes it easy to understand and perform the operations. As we know a Computer system can recognize electric signals so here 0 stands for turning off electric pulse and 1 stands for turning on electric pulse. It is very easy to understand by the Computer and also increases the processing speed.
The set of binary codes which can be recognize by the computer is known as the machine code instruction set. A machine language instruction consists of an operation code one or more operands. The operation code specifies that operation that is to be performed e.g. read, record etc. the operands identify the quantities to be operated on e.g. the numbers to be added or the locations where data are stored. But, it is almost impossible to write programs directly in machine code. For this reason, programs are normally written in assembly or high level languages and then are translated in the machine language by different translators.
ADVANTAGES
1. It makes fast and efficient use of the
computer.
2. It requires no translator to translate the
code i.e. directly understood by the
computer.
computer.
2. It requires no translator to translate the
code i.e. directly understood by the
computer.
DISADVANTAGES
1. All operation codes have to be
remembered
2. All memory addresses have to be
remembered
remembered
3. It is hard to amend or find errors in a
program written in the machine language
program written in the machine language
4. These languages are machine dependent
i.e. a particular machine language can be
used on only one type of computer.
▪ The main advantage of using Machine language is that there is no need of a translator or interpreter to translate the code, as the Computer directly can understand. But there are some disadvantages also like you have to remember the operation codes, memory address every time you write a program and also hard to find errors in a written program. It is a machine dependent and can be used by a single type of Computer.
i.e. a particular machine language can be
used on only one type of computer.
▪ The main advantage of using Machine language is that there is no need of a translator or interpreter to translate the code, as the Computer directly can understand. But there are some disadvantages also like you have to remember the operation codes, memory address every time you write a program and also hard to find errors in a written program. It is a machine dependent and can be used by a single type of Computer.
Reed more..
LINKS:
COMPUTER LANGUAGE | HIGH LEVEL LANGUAGE | LOW LEVEL LANGUAGE | MACHINE LANGUAGE | ASSEMBLY
LANGUAGE | Advantage|Disadvantages