NIMCET 2023 Computer PYQ — The maximum and minimum value represented in signed 16- bit 2&rsq… | Mathem Solvex | Mathem Solvex
Tip:A–D to answerE for explanationV for videoS to reveal answer
NIMCET 2023 — Computer PYQ
NIMCET | Computer | 2023
The maximum and minimum value represented in signed 16- bit 2’s compliment representation are
Choose the correct answer:
A.
0 and 32767
B.
0 and 65535
C.
-16384 and 16383
D.
-32678 and 32767
(Correct Answer)
Correct Answer:
-32678 and 32767
Explanation
In a signed 16-bit 2’s complement representation, the most significant bit (MSB) is reserved for the sign of the number. The remaining 15 bits represent the magnitude of the number. For a signed 16-bit representation, the range of values that can be represented is from −215 to 215−1. −215=−32768 215−1=32767
Explanation
In a signed 16-bit 2’s complement representation, the most significant bit (MSB) is reserved for the sign of the number. The remaining 15 bits represent the magnitude of the number. For a signed 16-bit representation, the range of values that can be represented is from −215 to 215−1. −215=−32768 215−1=32767