Binary Code, which is also called Binary Number System, today we will know about what is binary (What Is Binary Code) and what is its function in our computer and why it is necessary for our computer.
In simple language, binary number is a numeric system/code. Which uses only two numbers and that is 0 and 1, this code is performed in the processor present in all our computers. And Binary Number System is the internal language of the computer.
In Binary Number System no other number or character is used except 0 and 1.
As we know computer is an electronic machine that’s why all our computers run on Binary Number System technology and understand only the language of Binary Number System.
Now you must be thinking that if our computer understands only the language of Binary Number and only 0 and 1 are used in this code then how does the computer understand our given order and according to our given order. How does it work? So you will get the answer of this also in this post.
Our computers work together with software and hardware, if the computer does not have any necessary hardware or software, then no computer works in that condition.
Whenever we input a command (or data) to our computer through an input device like keyboard or mouse, then that command goes to the processor present in the computer. And the processor is also called CPU i.e. Central Processing Unit.
When our order reaches the processor, then the processor has to fulfill the order given by us along with the software of the computer, but our computer system does not understand our spoken language, but the processor of our computer interprets our given commands in Binary Number. can transfer
The processor itself converts our language into binary code and after converting, the processor itself fulfills our given order by processing it together with the computer’s software.
When the task given according to you is completed, then the computer converts and arranges the result of that work in your language and sends it to the output device like monitor, where you can see the result of your given command.
You can also read : What Is Computer Virus, 7 Types Of Computer Viruses?
Now we will know how to convert decimal ie Numbers to Binary along with some quotes – if you are a student of Computer Stream then you must know this (by the way, in today’s time, whoever is interested in Computer Technology, they also know this. Everyone should have knowledge)
By the way, there are many ways to convert decimal(Number) to binary. But the easiest way is explained in this post.
First of all, we will tell you the Binary Code of 95.
To get the binary code of 95, you have to continuously divide 95 by 2 until the last answer (last answer) comes to 1 or 0 and we have to note the reminder that comes on divide.
|5/2||= 1 (Last Answer)||0|
Now to get the binary, the last answer that has come which is 1 has to be written first. And then the reminders that have come before him will have to be written from bottom to top.
1 = This is the Last Answer, 011111 This is the Reminders from the bottom to the top
So this is the binary code of 95
Decimal To Binary
95 = 1011111
Similarly, you can remove the Binary Code of any number.
We have learned about converting numbers into binary, now it is very important to know how to convert alphabet into binary code.
Now we will need a chart to convert alphabet to binary and the name of that chart is ASCII Conversion Chart
The Binary Code of both Small and Capital alphabets is different like:-
If the binary of small a = 01100001 then this is
Capital A’s binary = 01000001 it is both are not same
For this reason, the chart of both the letters (alphabet) is also different.
|Small Letter||ASCII Code||Binary Code|
|Capital Letter||ASCII Code||Binary|
By the way, we have told you by removing the binary codes of all the text in both these tables.
But in many tables, there are only ASCII numbers of characters, from those numbers, we have to extract the binary code and in this article, we have already taken a tree to convert your number to binary code, in the same way the ASCII number of the character from the chart. Seeing that the binary code of that number is removed and the same code will be the character’s binary code.
Hope you have come to know what is binary code and you must have come to know binary code of numbers and characters.
If you still have any question in your mind then you can ask us by commenting. Thank you for reading this article, please tell us by commenting how did you like this article and whether it was useful for you or not.