BINARY/DECIMAL PROBLEMS
Do the following conversions:
DECIMAL |
BINARY |
HEXADECIMAL |
45 |
00101101 |
2D |
175 |
10101111 |
AF |
127 |
01111111 |
7F |
54 |
00110110 |
36 |
99 |
01100011 |
63 |
240 |
11110000 |
F0 |
119 |
01110111 |
77 |
Addition:
01001011 |
01010010 |
01100110 |
11001011 |
01001011 |
10101010 |
00101100 |
00010011 |
00100110 |
00101000 |
00001101 |
01010101 |
01110111 |
01100101 |
10001100 |
11110011 |
01011000 |
11111111 |
Subtraction:
01001011 |
01010010 |
01100110 |
11001011 |
01001011 |
10101010 |
00101100 |
00010011 |
00100110 |
00101000 |
00001101 |
01010101 |
00011111 |
00111111 |
01000000 |
10100011 |
00111110 |
01010101 |
Prove your answer are correct by converting everything to decimal:
Addition:
75 |
82 |
102 |
203 |
75 |
170 |
44 |
19 |
38 |
40 |
13 |
85 |
119 |
101 |
140 |
243 |
88 |
255 |
Subtraction:
75 |
82 |
102 |
203 |
75 |
170 |
44 |
19 |
38 |
40 |
13 |
85 |
31 |
63 |
64 |
163 |
62 |
85 |