Professional Documents
Culture Documents
INTRODUCTION
TO COMPUTING
OUTPUT DEVICES
1.
5675=5x10ˆ3+6x10 ˆ2+7x10 ˆ1+5x10 ˆ0
2.
32.28=3x10 ˆ1+2x10 ˆ0+2x10 ˆ-1+8x10 ˆ-2
Decimal to Binary Number Conversion
Examples:
1. 12
2.116
3. 1229
Hexadecimal to Decimal Number Conversion
Examples:
1. C
2.74
3. 4CD
Hexadecimal to Binary Number Conversion
Using the given table below, we can convert hex
number to its equivalent binary number. Each hex
number must be converted one at a time by its
equivalent binary number.
Hex Binary Hex Binary
0 0000 8 1000
1 0001 9 1001
2 0010 A 1010
3 0011 B 1011
4 0100 C 1100
5 0101 D 1101
6 0110 E 1110
7 0111 F 1111
Hexadecimal to Binary Number Conversion
We just simply reverse the procedure when we Hex Binary Hex Binary
convert the binary number into hex number. 0 0000 8 1000
You could notice that every hex number has 1 0001 9 1001
four equivalent binary digits(bits). That’s why 2 0010 A 1010
we group the bits in four during the conversion
3 0011 B 1011
process. We will add zeroes to complete the
group when incomplete groupings occur. Now 4 0100 C 1100