GATE CS 2024, set 2 · Question 14 · Digital Logic · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

The format of a single-precision floating-point number as per the IEEE 754 standard is:
Choose the largest floating-point number among the following options.

Sign (1bit)Exponent (8 bits)Mantissa (23 bits)
  1. (A) Sign | Exponent | Mantissa; 0 | 0111 1111 | 1111 1111 1111 1111 1111 111
    SignExponentMantissa
    00111 11111111 1111 1111 1111 1111 111
  2. (B) Sign | Exponent | Mantissa; 0 | 1111 1110 | 1111 1111 1111 1111 1111 111
    SignExponentMantissa
    01111 11101111 1111 1111 1111 1111 111
  3. (C) Sign | Exponent | Mantissa; 0 | 1111 1111 | 1111 1111 1111 1111 1111 111
    SignExponentMantissa
    01111 11111111 1111 1111 1111 1111 111
  4. (D) Sign | Exponent | Mantissa; 0 | 0111 1111 | 0000 0000 0000 0000 0000 000
    SignExponentMantissa
    00111 11110000 0000 0000 0000 0000 000
Answer

Answer (B)

Answer from the official GATE CS 2024 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes