Binary Conversion
This involves converting a number in binary from to either denary (base 10), octal (base 8) or
hexadecimal( base 16)
(a) Conversion from decimal (denary) to Binary
Divide the denary number by 2, listing the remainders until the answer is 0 remainder 1.
Take the remainders only from the last one until the first.
For example
The answer is therefore 101002
(b) Binary to decimal conversion
Raise each bit to its binary power equivalent, from right going to the left, starting at 20
Add all the equivalent to values in the table, whose binary digit correspond to 1 and add them.
The result is the denary equivalent.
That is 16 + 4 = 20. This is a short form of (16 x 1) + (4 x1) = 20
(c) Decimal to octal
Octal number contains only digits from 0 to 7.
As on binary, take the number, divide it by 8 and take the remainders only, e.g.
78 to octal will be expressed as:
= 1168