ELEC 88.
81 Name _____________________________
Hexadecimal, Decimal and Binary Conversions
Convert the following hexadecimal numbers to their decimal and binary
equivalents:
Hexadecimal Decimal Binary
FF
A4
0F
BD
Convert the following decimal numbers to their hexadecimal and binary
equivalents:
Decimal Hexadecimal Binary
162
238
16
11
Convert the following binary numbers to their hexadecimal and decimal
equivalents:
Binary Hexadecimal Decimal
1000 0111
1111 0110
1011 1110
1010 1001
Binary, Decimal, Hexadecimal Conversion Exercises
http://east82.com/
Binary to decimal Hex to binary
1. 11001011 1. 0x45
2. 00110101 2. 0xFA
3. 10000011 3. 0x5D
4. 10001111 4. 0x99
5. 11100011 5. 0x03
6. 00000100 6. 0x6B
7. 00010010 7. 0xDD
8. 00111111 8. 0xFE
9. 10101010 9. 0x22
10.01010101 10.0x18
Decimal to binary Decimal to hex
1. 213 1. 233
2. 9 2. 21
3. 67 3. 9
4. 99 4. 75
5. 23 5. 188
6. 143 6. 56
7. 6 7. 4
8. 1 8. 121
9. 197 9. 94
10.252 10.201
Binary to hex Hex to decimal
1. 11001100 1. 0x5A
2. 11110001 2. 0xCC
3. 00110001 3. 0x97
4. 11000010 4. 0x40
5. 10100100 5. 0x07
6. 10100111 6. 0x3D
7. 11101100 7. 0xF1
8. 11111100 8. 0xFB
9. 00111111 9. 0x82
10.00000011 10.0xE4
Binary, Decimal, Hexadecimal Conversion Exercises
http://east82.com/
Answers
Binary to decimal Hex to binary
1. 11001011 – 203 1. 0x45 – 01000101
2. 00110101 – 53 2. 0xFA – 11111010
3. 10000011 – 131 3. 0x5D – 01011101
4. 10001111 – 143 4. 0x99 – 10011001
5. 11100011 – 227 5. 0x03 – 00000011
6. 00000100 – 4 6. 0x6B – 01101011
7. 00010010 – 18 7. 0xDD – 11011101
8. 00111111 – 63 8. 0xFE – 11111110
9. 10101010 – 170 9. 0x22 – 00100010
10.01010101 – 85 10.0x18 – 00011000
Decimal to binary Decimal to hex
11.213 – 11010101 11.233 – 0xE9
12.9 – 00001001 1. 21 – 0x15
1. 67 – 01000011 2. 9 – 0x09
2. 99 – 01100011 3. 75 – 0x4B
3. 23 – 00010111 4. 188 – 0xBC
4. 143 – 10001111 5. 56 – 0x38
5. 6 – 00000110 6. 4 – 0x04
6. 1 – 00000001 7. 121 – 0x79
7. 197 – 11000101 8. 94 – 0x5E
8. 252 – 11111100 9. 201 – 0xC9
Binary to hex Hex to decimal
1. 11001100 – 0xCC 1. 0x5A – 90
2. 11110001 – 0xF1 2. 0xCC – 204
3. 00110001 – 0x31 3. 0x97 – 151
4. 11000010 – 0xC2 4. 0x40 – 64
5. 10100100 – 0xA4 5. 0x07 – 7
6. 10100111 – 0xA7 6. 0x3D – 61
7. 11101100 – 0xEC 7. 0xF1 – 241
8. 11111100 – 0xFC 8. 0xFB – 251
9. 00111111 – 0x3F 9. 0x82 – 130
10.00000011 – 0x03 10.0xE4 – 228