Binary Numbers Exercises

Recap:

  • Computers use binary numbers.
  • Decimal digits have 10 possible values ranging from 0 to 9.
  • Bits have only two possible values: 0 and 1.
  • A binary number is composed of only 0s and 1s.

Example: 1011

Figuring out the value of binary numbers

In decimal:6357 = (6X103) +(3X102) + (5X101) + (7X100)

In Binary, the number 1011 can be expressed as follows:

(1 * 23) + (0 * 22) + (1 * 21) + (1 * 20) = 8 + 0 + 2 + 1 = 11

Exercises:

1. Express the following Decimal numbers as Binary Numbers

  1. 45
  2. 7
  3. 112
  4. 22
  1. Express the following Binary Numbers as Decimal Numbers
  1. 101   
  2. 100
  3. 1001
  4. 10