👤

Which of the following representations in two's complement notation represented the largest value?

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


Răspuns :

b) si d) sunt negative deoarece incep cu 1, deci raman a) si c) sa le verificam.

a) 00000010 in zecimal este 0×2^0+1×2^1 = 2

c) 00000001 in zecimal este 1×2^0 = 1

=> Cea mai mare valoare o are a) 00000010