Tutorials

What is binary language? – Meaning and how to convert to another system

Humans have had an extremely long history, in which we have developed countless important technologies that have helped us in ways we could never have imagined.

One of the ways we can see the evidence for this is through computers. Every day we depend on them, and if we eliminate them from our environment we will realize it almost immediately. That is why many people wonder how they work. They do it through binary language, which we will show you below.

binary code

How the binary numbering system works

The binary language is one that was created with the explicit function of being able to establish a communicative link between man and machine; that is, the computer. This is important because without this language the human could not have control over the processes carried out by the physical parts of the computer. Remember that all these parts are made up of a bunch of electrical parts that are activated when a current is passed to them.

The Binary language is used so that Hardware-type components know when they have to act and in what way they should do it. This is very important because without this language, many physical parts of your computer would be damaged just trying to turn it on.

What do 0 and 1 mean in binary code?

Binary language instructs these parts how much energy and how to use it. This language is handled through only two letters, which in this case are numbers for us. These are ‘0’ and ‘1’, which can be counted as ‘No’ and ‘Yes’. Many people entertain themselves by writing your name in binary code.

Characteristics of the binary system

The system used by computers is binary, which has some peculiarities that distinguish it from other codes of a similar nature. For example, we can mention the following characteristics: it is made up of two digits (0 and 1); Depending on the position these digits occupy, it will have different values ​​and; It is used for the different variety of computers due to its voltage unevenness.

computers on top of each other

Distances

You may also find other specific characteristics of the binary code. One of this is distance; which is basically defined as the space that separates two combinations depending on the number of bits from one combination to the other. So it makes this feature unique to this language.

Self-complementary

This of the autocomplement, rather it is a principle that makes the system binary; since it manages to autocomplement itself to nine of a decimal equivalent; which happens by inverting the bits that are part of any binary combination.

How to switch from Binary to another system

From binary to Octal

The octal system is characterized by being made up of 8 digits ranging from 0 to 7; To be able to convert from a binary to octal code, you must do the following: initially, you must separate the binary system into a group of three numbers from left to right; then, you multiply each number by 8 and raise it according to the position it occupies. We give you a clear example below.

Change 110001 to octal system

We separate the digits = 001; 110

We separate each number to multiply = 0 * (8 ^ 2) + 0 * (8 ^ 1) + 1 * (8 ^ 0); 1 * (8 ^ 2) + 1 * (8 ^ 1) + 0 * (8 ^ 0)

We obtain the product of each = 0 + 0 + 1; 64 + 8 + 0

We make the sum of all the products and obtain the final result = 73

From binary to hexadecimal

When it comes to the hexadecimal system, it is necessary to clarify that it is composed of a total of 16 alphanumeric digits; that is, it combines numbers and letters; the numbers go from 0 to 9 and the letters from A to F; thus accounting for the 16 system data.

Now, to be able to change a binary number to hexadecimal, you must do the following: first you must group the digits in groups of 4 (chosen from right to left); then you multiply each term by 16 raised according to the position or place it occupies in the order. Example: change 1011 to hexadecimal system

Each digit is multiplied = 1 * (16 ^ 0) + 1 * (16 ^ 1) + 0 * (16 ^ 2) + 1 * (16 ^ 4)

We perform the resolution of the products = 1 + 16 + 0 + 65536

We add and obtain the final result = 65553

global binary system

From binary to decimal system

To be able to change from a binary number to a decimal; you must follow the directions given below: first you take the binary code; then you multiply each digit by 2 and raise it according to the position it is in; and so you continue the same procedure until finishing the digits; finally you make a sum and voila, that is the result.

Example: We are going to convert 0100110 to decimal system

First you multiply = 0 * (2 ^ 0) + 1 * (2 ^ 1) + 0 * (2 ^ 2) + 0 * (2 ^ 3) + 1 * (2 ^ 4) + 1 * (2 ^ 5) + 0 * (2 ^ 6)

Products are placed = 0 + 2 + 0 + 0 + 16 + 32 + 0

You get the final result = 48

How does binary language communicate with the computer?

When you have hardware type materials, you will see that the first thing you have to do is instruct them how they should act in harmony with the rest of the parts of the PC. As these devices are not living beings nor do they have a brain, they only work when an electrical current is passed to them. In order to give a specific result, a special current is made to pass through the apparatus.

This stream contains the special information that will tell the component what to do. The message is encoded through zeros and ones, which make complex combinations to be able to encode whole words in ways that can be processed by your computer’s hardware. Another way you can observe binary language is through Binary Files.

Thanks to the binary code, the ASCII system could be created . This system is very important, because thanks to this system we were able to start coding more complex programs, which went beyond the possibilities offered by programs created in binary code.

When the binary code enters a physical component, it has a series of circuits that are activated and deactivated in order to create the effects that are requested. When the code marks a 1, the circuits are activated and when a 0 passes, the circuits are deactivated. This creates a command line that can be followed by the Computational Processing Unit.

These character swaps occur at incredible speeds, thousands upon thousands per second. The amount of bits that are spent is only comparable with the capacity and power of your computer.

computers running

Who created the binary code?

This is a question that a lot of people have asked themselves. This is very important, since the erection of this language has always been attributed to a single person throughout history.

If you know the story of Isaac Newton, you will know that he had an enemy scientist, who really had no ill intentions with his counterpart. This scientist is Gottfried Leibniz, and he can be considered, thanks to his code, to be the father of computational technology.

The importance of the binary system lies in the fact that it is the foundational basis of all electronic technologies of the human being. It is important that you know that the Bit is the smallest unit of measurement of virtual space of all. If these are multiplied, you get the different other measurement scales out there. Many people take this into account when converting Megabites to Gigabites.

Also, we remind you that binary code is a language system that only has two  characters , and that is why it is assigned its binary name.

Leave a Reply

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

Back to top button