Basics
August 26, 2024C-Programming
August 27, 2024ISRO CS 2015
Question 2 |
The range of integers that can be represented by an n bit 2’s complement number system is:
– 2n – 1 to 2n – 1 – 1 | |
– (2n – 1 – 1) to (2n – 1 – 1) | |
– 2n – 1 to 2n – 1 | |
– (2n – 1 + 1) to (2n – 1 – 1) |
Question 2 Explanation:
In 2’s complement numbers, the range of integers are from -2n-1 to 2n-1 – 1
Correct Answer: A
Question 2 Explanation:
In 2’s complement numbers, the range of integers are from -2n-1 to 2n-1 – 1