You are on page 1of 3

NUMBER SYSTEMS – BINARY 2 (0-1)

OCTAL 8 (0-7)
DECIMAL 10 (0-9)
HEXADECIMAL16 (0-9) / (A-F): A=10, B=11, C=12, D=13, E=14 and F=15

1. CONVERSION OF DECIMAL TO ANY BASES 10 2, 8 and 16


Rules:
a. Divide the given number by its required base.
b. Get the remainder.
c. Read it from bottom to top.

Solution:

5010 = __110010_____ 2

Remainder
50/2 = 25 0
25/2 = 12 1
12/2 = 6 0
6/2 = 3 0
3/2 = 1 1
1

5010 = ___62___ 8
Remainder
50/8 = 6 2
6

5010 = ___32___ 16
Remainder

50/16 = 3 2
3
2. CONVERSION OF ANY BASES TO DECIMAL 2, 8 and 16 10
Rules:
a. Multiply ALL the figures of the given number by its base with exponent(0-n).
b. Add all the products.

Examples:

1100102 = 5010
MSB LSB(Least Significant Bit)
110010
0 x 20 = 0
1 x 21 = 2
0 x 22 = 0
0 x 23 = 0
1 x 24 = 16
1 x 25 = 32
50
628 = 5010

62
2 x 80 = 2
6 x 8 1 = 48

3216 = 5010

32
2 x 16 0 = 2
3 x 16 1 = 48

50
50

3. CONVERSION OF ANY BINARY TO OCTAL and HEXADECIMAL 2 8 and 16


Rules:
a. OCTAL – Group by 3’s (421)
b. HEXADECIMAL – Group by 4’s (8421)

Examples:

110 / 010 = ___62__8 1 / 111 / 101 / 010 = _1752_8


421 421 421 421 421 421
6 2 1 7 5 2

11 / 0010 = __32_16 11 / 1110 / 1010 = _3EA_16


8421 8421 8421 8421 8421
3 2 3 14=E 10=A
4. CONVERSION OF ANY OCTAL and HEXADECIMAL TO BINARY 8 and 16 2
Rules:
c. OCTAL – Group by 3’s (421)
d. HEXADECIMAL – Group by 4’s (8421)

Examples:

62 8 17528
6 / 2 = 1100102 1 / 7 / 5 / 2 = 11111010102
421 421 421 421 421 421
110 010 001 111 101 010

32 16 175216
3 / 2 = 11000102 1 / 7 / 5 / 2 = 10111010100102
8421 8421 8421 8421 8421 8421
0011 0010 0001 0111 0101 0010

3EA16

3 / E / A = 11111010102
8421 8421 8421
0011 1110 1010

You might also like