Binary, Quaternary, Octary, Denary and Hexadecimal Number Systems
Binary, Quaternary, Octary, Denary and Hexadecimal Number Systems
There are some methods of handling various number system not described in the textbook.
Rule : Start for the right-most digit, multiply by 2 and add to adjacent digit on its left.
Continue to do this until the left-most digit.
e.g. Change 101101(2) to denary system.
(1) 12 +0 =2
(2) 22 +1 =5
(3) 52 +1 = 11
(4) 11 2 +0 = 22
(5) 22 2 +1 = 45 101101(2) = 45(10)
Rule : Start for the right-most digit, multiply by 4 and add to adjacent digit on its left.
Continue to do this until the left-most digit.
e.g. Change 13201(4) to denary system.
(1) 14 +3 =7
(2) 74 +2 = 30
(3) 30 4 +0 = 120
(4) 120 4 +1 = 481 13201(4) = 481(10)
Rule : Start for the right-most digit, multiply by 8 and add to adjacent digit on its left.
Continue to do this until the left-most digit.
e.g. Change 13746(8) to denary system.
(1) 18 +3 = 11
(2) 11 8 +7 = 95
(3) 95 8 +4 = 764
(4) 764 8 +6 = 6118 13746(8) = 6118(10)
Rule : Start for the right-most digit, multiply by 16 and add to adjacent digit on its left.
Continue to do this until the left-most digit.
1
e.g. Change A2D7(16) to denary system.
(1) 10 16 + 2 = 162 (Note : A(16) = 10(10))
(2) 162 16 + 13 = 2605 (Note : D(16) = 13(10))
(3) 2605 16 + 7 = 41687 A2D7(16) = 41687(10)
Rule : Starting from the left-most, divide the binary number into groups of two digits.
Change binary number in each group to a denary number.
e.g. Change 1001101(2) to quaternary system.
1|00|11|01(2)
= 1| 0 | 3 | 1(4)
Rule : Starting from the left-most, divide the binary number into groups of three digits.
Change binary number in each group to a denary number.
e.g. Change 1001101(2) to octary system.
1|001|101(2)
= 1| 1| 5(8)
Rule : Starting from the left-most, divide the binary number into groups of four digits.
Change binary number in each group to a denary number (but express in hexadecimal)
e.g. Change 1001101(2) to hexadecimal system.
100|1101(2)
= 4| D(16)
Note that you may use (1) above to help you to calculate.
Also note that 1101(2) = 13(10) = D(16) .