quiz

Fixed and Floating Point Number Representations

1. Which component of a fixed-point representation determines the position of the decimal point?

  • A) Sign field
  • B) Integer field
  • C) Fractional field
  • D) Exponent field
C) Fractional field Explanation

2. How many unique fractional values can be represented in a 16-bit fractional field in a fixed-point format?

  • A) 16
  • B) 32
  • C) 64
  • D) 65536
 D) 65536 Explanation

3. How are negative numbers typically represented in fixed-point number representation?

  • A) One's complement representation
  • B) Two's complement representation
  • C) Sign-magnitude representation
  • D) Excess-3 representation
B) Two's complement representation Explanation

4. Find the two’s complement of the binary number 110101.

  • A) 001010
  • B) 110101
  • C) 001011
  • D) 101010
C) 001011 Explanation

5. What happens when a fixed-point representation exceeds its range due to arithmetic operations?

  • A) Precision is increased.
  • B) Precision is decreased.
  • C) An error may occur or overflow/underflow may happen.
  • D) The fractional part is rounded.
C) An error may occur or overflow/underflow may happen. Explanation

6. What is the basic standard for representing floating-point numbers in computer systems?

  • A) IEEE 754
  • B) ASCII
  • C) Unicode
  • D) ISO 9001
A) IEEE 754 Explanation

7. What special value is represented when all exponent bits are 1 with all mantissa bits set to 0 in floating-point format?

  • A)  0
  • B) Infinity
  • C) Denormalized number
  • D) Error
B) Infinity   Explanation

8. What is the precision of the Single Precision IEEE 754 format?

  • A) 16 bits
  • B) 23 bits
  • C) 32 bits
  • D) 64 bits
B) 23 bits Explanation

9. What does NaN signify in IEEE 754 floating-point format?

  • A) A value that is too large to represent
  • B) A value that is too small to represent
  • C) An undefined or invalid result
  • D) A denormalized number
C) An undefined or invalid result Explanation

10. In IEEE 754 single precision, what is the bias value used for the exponent?

  • A) 0
  • B) 63
  • C) 127
  • D) 255
C) 127 Explanation