GATE CS 2024 Set 2 | Question 14

Computer Organization & Architecture › Machine Instructions · MCQ · 1 mark · Answer: B

  1. Question 14Computer Organization & Architecturemcq1 mark
    IEEE-754 single precision (1 sign, 8 exponent, 23 mantissa). Choose the largest number:
    (A) 0 | 0111 1111 | 1111...111
    (B) 0 | 1111 1110 | 1111...111
    (C) 0 | 1111 1111 | 1111...111
    (D) 0 | 0111 1111 | 0000...000
    • A.
      (A)
    • B.
      (B)
      ✓
    • C.
      (C)
    • D.
      (D)

    Answer: B

    Solution

    Answer: (B) Exponent (all ones) is reserved for infinity/NaN, so (C) is not a finite number. Among the valid finite numbers, the largest exponent is (254) in (B), with a full mantissa -> this is the largest representable finite value (). (A) and (D) have exponent 127 (much smaller).

More GATE PYQ on Machine Instructions

All GATE CS Computer Organization & Architecture PYQ →

Attempt GATE CS 2024 Set 2 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →