Photo by Alexander Sinn on Unsplash

The binary number system is a base-2 number system. This means it only has two numbers: 0 and 1. The number system that we normally use is the decimal number system. It has 10 numbers: 0-9. Because of its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used by almost all modern computers and computer-based devices.

 

The key to understanding the Binary System

      10110011

  • The place value of the last 1 (rightmost position) is 1.
  • The place value of the 1 before that is 2.
  • The place value of the 0 before that is 4.
  • The place value of the 0 before that is 8.
  • The place value of the 1 before that is 16.
  • The place value of the 1 before that is 32.
  • The place value of the 0 before that is 64.
  • The place value of the 1 before that is 128.

Example:

    • 101 binary = 1*2^2 + 0*2^1 +1*2^0 =  4 + 0 + 1 = 5 decimal
    • 11110 binary = 1*2^4 + 1*2^3 + 1*2^2 + 1*2^1 + 0*2^0 =16 + 8 + 4 + 2 + 0 = 30 decimal
    • 10001 binary = 1*2^4 + 0*2^3 + 0*2^2 + 0*2^1 + 1*2^0 =16 + 0 + 0 + 0 + 1 = 17 decimal

 

If you still have questions, please watch the video below :

Quiz Time

If you understand all the knowledge above, please click on the link below to test your binary transform skill. There are 10 questions including in both Decimal Value to Binary Value and Binary Value to Decimal Value questions and they are all multiple-choice. The answers and feedback will seed to you after completing the test.

https://forms.gle/M9bTynaVa5bZy4k27