66.3k views
3 votes
Which of the following representations in two's complement notation represents the largest value?

a)00000010
b)11111111
c)00000001
d)11111110​

2 Answers

4 votes

Answer:

A

Step-by-step explanation:

User Bohdan Stupak
by
5.2k points
1 vote

Answer:

C

Step-by-step explanation:

B and D are negative values as they both start with 1, so naturally A and C are the larger values, assuming larger = more positive.

To get the values of A and C which are positive, simply inverse the bits till the last 1 digit. For A, that's 1111 1110 and for C that's 1111 1111. Hence, the magnitude of C is 1*(2^0) larger than A.

User Kothar
by
5.0k points