The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+8 votes
1.8k views

The range of integers that can be represented by an $n$ bit 2’s complement number system is:

  1. $-2^{n-1} \text{ to } (2^{n-1} -1)$

  2. $-(2^{n-1} -1) \text{ to } (2^{n-1} -1)$

  3. $-2^{n-1} \text{ to } 2^{n-1}$

  4. $-(2^{n-1} +1) \text{ to } (2^{n-1} -1)$

 

asked in Digital Logic by Veteran (67.5k points) | 1.8k views
Answer: A

3 Answers

+10 votes
Best answer

An n-bit two's-complement numeral system can represent every integer in the range −(2n − 1) to +(2n − 1 − 1).

while ones' complement can only represent integers in the range −(2n − 1 − 1) to +(2n − 1 − 1).

A is answer

answered by Loyal (4.7k points)
edited by
+7 votes
answer - A
answered by Boss (9.3k points)
0 votes
Ans: A
answered ago by Boss (6.1k points)


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

29,006 questions
36,838 answers
91,329 comments
34,718 users