Machine language |
As we all know this that a person needs a language to communicate each other,similarly a there is a language needs between computer and human being to interact each other,So now a computer cannot take instructions in your language.
So if you type any word from the keyboard in that condition computer doesn't understand you,so for making understand between person and computer there is a language created that is called a machine language. So let's come and exactly know about in details that what is machine language.
Machine Language
Machine language is a language that can be understood only in the form of 0 and 1 two digits. 0 and 1 is known as a binary code. The simple language of a computer which the computer can understand very easily is binary number(0,1). So the reason machine language is written in binary code is so that computers can easily understand exactly what the user is trying to tell us.Computers only understand binary signals. i.e. 0 and 1 and the circuit of the computer recognizes these binary codes and converts it into electrical signals. In this, 0 means signal is not available or 0 (False) and 1 means signals is available or 1 (True).
So we can also write computer programs in different programming languages, such as C++, Java, and more. But the reason is that when using this language a computer cannot understand the programming languages.
For making it to understand these languages , the program code must be compiled. When this process is done the computer can easily understand it , because the program's code is converted into a machine language.
Low Level Language
One does not have to use a language translator to convert machine language into a machine signal. So machine language is a low level language, languages that do not include any translator to convert their signals into machine signals, it is called low level language. That is, there is no requirement to translate the low-level language code in some way.But to write a program in machine language prepared in machine language, the programmer had to memorize the machine instructions either in the form of multiple signal numbers.
Also, the programmer should have complete knowledge about the hardware structure of the computer.
Punch cards were used to protect programs in machine language, in 1801 Joseph-Marie Jacquard first used the punch card.
Since it is very difficult to write any program in machine language, if you want to write in machine language i.e. binary.
Since two digits in machine language use series of 0 and 1. Therefore, it is highly prone to errors. And when there is an error in the program, it is very difficult to find the error, because of this the programs are not written in machine language at present.
Some example of Binary number (machine language) is given below, Text to Binary conversion the word is,
“I Love My India”
01001001 00100000 01001100 01101111 01110110 01100101 00100000 01001101 01111001 00100000 01001001 01101110 01100100 01101001 01100001
No comments:
Post a Comment