Professional Documents
Culture Documents
DIGITAL SYSTEM
NUMBER SYSTEM
Number System
NUMBER BASE
CONVERSION
1. Converting from decimal to other number bases
NUMBER BASE
CONVERSION
Example 1: Convert the decimal number 82 to base
6:
82/6 = 13 remainder 4
13/6 = 2 remainder 1
2/6 = 0 remainder 2
NUMBER BASE
CONVERSION
Example 2: Convert decimal 29 to binary.
NUMBER BASE
CONVERSION
Example 3: Convert decimal 942 to octal.
NUMBER BASE
CONVERSION
Example 4: Convert decimal 2598 to hexadecimal.
NUMBER BASE
CONVERSION
Method 2. Positional Value Method (PVM)
Conversion from Binary Number to Decimal number
(Base 2 to Base 10)
Example: 1012-N10
1012
1 * 20 = 1
0 * 21 = 0
1 * 22 = 4
510
1758
5 * 80 = 1
7 * 81 = 56
1 * 82 = 64
12510
3AE16
E * 160 = 14
A * 161 = 160
3 * 162 = 768
94210
Rules:
1. Begin at the binary point (rightmost digit) and block off
groups of four binary digits.
2. Replace each group of three binary digits with its equivalent
hexadecimal digit. The digit will range from 0 – 15.
Example 3-2: Convert 11101011 in binary to hexadecimal number
111010112 – N16
8421 8421
1110/1011
14 11
Therefore, 111010112 is EB16
2 6 4
010 110 100
Answer 101101002