Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2015 | Question 2
  • Last Updated : 20 Nov, 2018
GeeksforGeeks - Summer Carnival Banner

The range of integers that can be represented by an 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: In 2’s complement numbers, the range of integers are from -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.

My Personal Notes arrow_drop_up
Recommended Articles
Page :