Note: Show All the steps of your work.
1. Convert the following decimal real number to a binary
number with six places to the right of the binary point.
57.553
2. Represent the following decimal integer numbers in binary
using 8-bit signed magnitude, one’s complement, and two’s
complement representations:
(a) 65 (b) -24
3. What is the value of the 8-bit binary number 10011110 in
decimal assuming the following representation: (a) unsigned, (b)
sign-magnitude, (c) one’s complement, (d) two’s complement.
4. Using arithmetic shifting, perform the following operations
assuming the numbers are expressed using 8-bit signed two’s
complement representation:
(a) Multiply the value 00111101 by 8
(b) Divide the value 11001010 by 4
5. Assume we are using a simple model for floating-point
representation similar to the one used in Chapter 2 of the textbook
which has a 14-bit format, 5 bits for the exponent with a bias of
15 (not 16 as in the textbook), a normalized mantissa of 8 bits,
and a single sign bit.
(a) Show how the computer would represent the numbers 100.0
and 0.25 using this representation.
(b) Show how the computer would add the two floating-point
numbers in part (a) by changing one of the numbers so they are both
expressed using the same power of 2.
(c) Show how the computer would represent the sum in part (b)
using the given floating point
representation. What decimal value for the sum is the computer
actually storing? Explain.