NIMCET 2023 Computer PYQ — Suppose we have a 10- bit computer that uses 10-bit floating-poin… | Mathem Solvex | Mathem Solvex
Tip:A–D to answerE for explanationV for videoS to reveal answer
NIMCET 2023 — Computer PYQ
NIMCET | Computer | 2023
Suppose we have a 10- bit computer that uses 10-bit floating-point computational unit (Float number uses IEEE floating- point arithmetic where a floating point number has 1 sign bit, 5 exponent bits, and 4 fraction bits). The representation for +∞ (plus infinity) is
Choose the correct answer:
A.
0111110000
(Correct Answer)
B.
1111110000
C.
0000001111
D.
011111 1111
Correct Answer:
0111110000
Explanation
(a) The correct representation for +∞ (plus infinity) in the given 10 -bit floating point format using IEEE floating-point arithmetic would be: 0111110000 In this representation, the sign bit is 0 (indicating a positive value), the exponent bits are all 1s (11111), and the fraction bits are all 0s (0000). This follows the IEEE 754 standard for representing infinity in floating-point arithmetic.
Explanation
(a) The correct representation for +∞ (plus infinity) in the given 10 -bit floating point format using IEEE floating-point arithmetic would be: 0111110000 In this representation, the sign bit is 0 (indicating a positive value), the exponent bits are all 1s (11111), and the fraction bits are all 0s (0000). This follows the IEEE 754 standard for representing infinity in floating-point arithmetic.