Binary Number System: Representations

IEEE 32-Bit Floating Point Format - HOMEWORK PROBLEMS


1.  Convert the decimal number 1234.53125 to an IEEE float number.

    a.  expressed in binary
    b.  expressed in hexadecimal

2.  What is the decimal equivalent of the IEEE float number 447A3400 (expressed in hexadecimal)?

3.  Express the ASCII string "Done" in hexadecimal.

4.  Consider the hexadecimal value AABBCCDD

    a.  How many bits does this value require?
    b.  If this represents a string of ASCII characters, how many characters are in the string?
    c.  If this represents a 32-bit IEEE Float value, is the value positive or negative?
    d.  If this represents a 32-bit IEEE Float value, written in the form:
    
             ±1.ffffff...fff x 2e

        what is the value of e?
    e.  How can we determine whether this represents a string, an IEEE float, or something 	  
        else?


SOLUTIONS