ISRO | ISRO CS 2009 | Question 18
The range of integers that can be represented by n bit 2’s complement number system is:
(A) -2n-1 to (2n-1 – 1)
(B) -(2n-1 – 1)to (2n-1 – 1)
(C) -2n-1 to (2n-1 )
(D) -(2n-1 + 1)to (2n-1 – 1)
Answer: (A)
Explanation: The range of integers that can be represented by n bit 2’s complement number system is -2n-1 to (2n-1 – 1).
Option (A) is correct.
Quiz of this Question
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.