WK2 3 Conversions of Number System Part1 Whole Numbers
WK2 3 Conversions of Number System Part1 Whole Numbers
Decimal 10 0 to 9
Binary 2 0 and 1
Octal 8 0 to 7
0 to 9
Hexadecimal 16
A to F
Number System Table
11 1011 13 B
12 1100 14 C
13 1101 15 D
14 1110 16 E
15 1111 17 F
Whole Number System Conversion
1. Decimal-to-Any Number System
- successive division by the radix until the dividend reaches 0.
LSB
DEC
RADIX/BASE
MSB
2. Any Number System-to-Decimal
- each digit is multiplied by its positional notation.
NUMBER
x BASE0
x BASE1
X BASE2
+
Decimal to Binary
Convention:
value base
10 0
Exercise
1 0100 1000
x 20 = 0 x 24 = 0 x 28 = 256
x 21 = 0
x 22 = 0
+ x 25 = 0
x 26 = 64
+ 32810
x 23 = 8 x 27 = 0
CHECK
Decimal to Octal to Decimal
Convert 32810 to OCT Convert 5108 to DEC
Solution: Solution:
Q R
328 ÷ 8 LSB 510
41 0
x80 = 0
5 1
x81 = 8
0 5
x82 = 320
MSB