Home work 1
1. Convert to hexadecimal and then to binary:123.17
2. Convert to base 6: 3BA.2514 (do all of the arithmetic in
decimal).
3. Add the following numbers in binary using 2’s
complement to represent negative number. Use a word
length of 6 bits (including sign) and indicate if an
overflow occurs. (a) 21 + 11 (b) (-14) + (-31) (c) (-26)
+ 17 (d) (-12) + 14 . Repeat (a), (b), (c), and (d) using
1’s complement to represent negative numbers.
4. Is it possible to construct a 5-4-1-1 weighted code? A
6-3-2-1 weighte code? Justify your answer
5. How can you tell that an overflow has occurred when
performing 1’s and 2’s complement addition? There
are two conitions that you can chek for overflow
situation. Please write down these two statements as
precisely as possible.