Quiz1Sol - 11001100 (-1) S x (1.f) x (2 BiasedExponent-Bias...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CDA3101 Quiz 1 Last Name ________________________ Spring 2007 First Name ________________________ Time: 10 minutes Show all your work to get full credits. 1. Consider an 8-bit floating point number representation that uses 1 bit for the sign, 3 bits for the biased exponent and 4 bits for the fraction (f). Other than the numbers of bits, the representation is similar to the IEEE 754 standard. a. (5 points) What decimal value does the following bit pattern represents?
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 11001100 (-1) S x (1.f) x (2 BiasedExponent-Bias ) = (-1) 1 x (1.75) x (2 4-3 ) = -3.5 10 b. (5 points) Show the bit pattern that represents the value 5.5 10 in the above described representation. 5.5 10 = (101 .1) 2 = 1.011 x 2 2 (after normalization) S = 0, Biased Exponent = 2+3 = 5 10 =101 2 , Fraction(f) = 011 2 Final bit pattern will be: 0 101 0110...
View Full Document

Ask a homework question - tutors are online