Created 12/09/02; edited 01/14/05, 11/19/14, 05/30/15

# on IEEE 754 Floating Point

Instructions: For each question, choose the single best answer. Make your choice by clicking on its button. You can change your answers at any time. When the quiz is graded, the correct answers will appear in the box after each question.

1. What does the "IEEE" (as in "IEEE 754 Floating Point") stand for?

 A.    Industry Electrical Evaluation Enterprise B.    International Enterprise for Electronics Education C.    Institute of Electrical and Electronics Engineers D.    Interstate Engineering and Electrification Effort

2. How is 1.234 × 103 normally written?

 A.    .0001234 B.    12.34 C.    123.4 D.    1234

3. Write 0.0345 in scientific notation

 A.    3.45 × 10-2 B.    3.45 × 10-3 C.    3.45 × 10+3 D.    -3.45 × 102

4. Which part of 1.2345 × 1023 is the mantissa?

 A.    23 B.    .2345 C.    10 D.    1.2345

5. Write 0.00623 in scientific notation.

 A.    6.23 × 10-3 B.    .623 × 10-3 C.    6.23 × -103 D.    6.23 × -10-3

6. Which expression of the following is how 1.223 × 10-5 would appear in a source file.

 A.    1.223e05 B.    1.223EE5 C.    1.223e-5 D.    1.223-5 E.    1.223E^5

7. A 32-bit IEEE 754 float consists of three fields: sign bit, biased exponent, and mantissa. How many bits are in each one?

 A.    1, 12, 19 B.    2, 15, 15 C.    1, 8, and 23 D.    1, 4, 27

8. Here is a formula that says how the three fields combine to represent a number: `value = (-1)s × 1.M × 2E-127`

What biased exponent would be used to represent `22`?

 A.    310, represented as 0000 0011 B.    -12410, represented as 1000 0100 C.    12810, represented as 1000 0000 D.    12910, represented as 1000 0001

9. Say that you wish to represent 001.00112 as a IEEE 754 float. What is the 23-bit mantissa?

 A.    100110000000000000000000 B.    001100000000000000000000 C.    00110000000000000000000 D.    11000000000000000000000

10. Say that you wish to represent 010.10110112 as a IEEE 754 float. What is the 23-bit mantissa?

 A.    01011011000000000000000 B.    101011011000000000000000 C.    0101101100000000000000 D.    01010110110000000000000

The number you got right:       Percent Correct:       Letter Grade:

If you have returned here from another page, or have re-loaded this page, you will need to click again on each of your choices for the grading program to work correctly. You may want to press the SHIFT KEY while clicking to clear the old answers.