Binary Counting




 

Binary

Binary is a method of representing numbers using only two numbers, 0 and 1.
In the case of the decimal system, rounding occurs when 9 is added to 1.
In the binary system, adding 1 to 1 does not result in 2, but rounding occurs.

  • 0 = 0(2) (decimal = binary)
  • 1 = 1(2)
  • 2 = 10(2)
  • 3 = 11(2)
  • 4 = 100(2)
  • 5 = 101(2)
  • 6 = 110(2)
  • 7 = 111(2)
  • 8 = 1000(2)

Convert binary to decimal

If you look at the decimal first, you can see that decimal numbers can be expressed as powers of 10.
For example, the number 1208 is :

1208(10) = 1×103 + 2×102 + 0×10 + 8

= 1×103 + 2×102 + 8

Can be represented by The binary method is also calculated in the same way.
The binary number 1010(2) is :

1010(2) = 1×23 + 0×22 + 1×2 + 0

= 1×23 + 1×2

= 8 + 2

= 10

Computers and binary

In computers, the binary method is used because the assembly of logic is simple, and the binary method is convenient due to the characteristics of the internal elements. When the electronic circuit's voltage is high, it is regarded as '1', and when the voltage is low, it is regarded as '0'.