University of Southern California

Digital Representation Homework

10001000 --> 136
11001101 --> 205
10101010 --> 170
11111111 --> 255
01011001 --> 89
00001110 --> 14
11101001 --> 233

Binary to decimal
1. 11001011 --> 203
2. 00110101 --> 53
3. 10000011 --> 131
4. 10001111 --> 143
5. 11100011 --> 227
6. 00000100 --> 4
7. 00010010 --> 18
8. 00111111 --> 63
9. 10101010 --> 170
10.01010101 --> 85

Decimal to binary
1. 213 --> 11010101
2. 9 --> 1001
3. 67 --> 1000011
4. 99 --> 1100011
5. 23 --> 10111
6. 143 --> 10001111
7. 6 --> 110
8. 1 --> 1
9. 197 --> 11000101
10.252 --> 11111100

Binary to hex
1. 11001100 --> 0xCC
2. 11110001 --> 0xF1
3. 00110001 --> 0x31
4. 11000010 --> 0xC2
5. 10100100 --> 0xA4
6. 10100111 --> 0xA7
7. 11101100 --> 0xEC
8. 11111100 --> 0xFC
9. 00111111 --> 0x3F
10.00000011 --> 0x03

Hex to binary
1. 0x45 --> 01000101
2. 0xFA --> 11111010
3. 0x5D --> 01011101
4. 0x99 --> 10011001
5. 0x03 --> 00000011
6. 0x6B --> 01101011
7. 0xDD --> 11011101
8. 0xFE --> 11111110
9. 0x22 --> 00100010
10.0x18 --> 00011000

Decimal to hex
1. 233 --> DF
2. 21 --> 15
3. 9 --> 9
4. 75 --> 4B
5. 188 --> BC
6. 56 --> 38
7. 4 --> 4
8. 121 --> 79
9. 94 --> 5E
10.201 --> C9

Hex to decimal
1. 0x5A --> 90
2. 0xCC --> 204
3. 0x97 --> 151
4. 0x40 --> 64
5. 0x07 --> 7
6. 0x3D --> 61
7. 0xF1 --> 241
8. 0xFB --> 251
9. 0x82 --> 130
10.0xE4 --> 228

Valid XHTML 1.0 Transitional!Valid CSS!

The University of Southern California does not screen or control the content on this website and thus does not guarantee the accuracy, integrity, or quality of such content. All content on this website is provided by and is the sole responsibility of the person from which such content originated, and such content does not necessarily reflect the opinions of the University administration or the Board of Trustees