Why do we use binary number system in coding
Answers
To present numerical data in our daily life, we use the decimal number systems. Unfortunately, computers can’t do the same. Instead, computers represent numbers by using the lowest base number system used by us, which is two. This is the binary number system. Computers use voltages and since voltages changes often, no specific voltage is set for each number in the decimal system. For this reason, binary is measured as a two-state system i.e. on or off. Also, to keep calculations simple and convert into binary online, computers use the binary number system.
More than a hundred rules would have been wired into the computer if we’d used the decimal number system for computers. But, thanks to the binary system, only four rules are required by the computers for calculations. Last but not the least, a major reason computers use the binary system is that the two-state system is the number system best suited to the optical and magnetic storage components of the computer. Continuing with the flow, storage capabilities of the binary system are what we’re going to discuss next.