Digital Arithmetic Operations and Circuits - Technical MCQs

Q1:

Convert each of the following signed binary numbers (two's-complement) to a signed decimal number.
00000101        11111100        11111000

A –5    +4    +8

B +5    –4    –8

C –5    +252    +248

D +5    –252    –248

ANS:B - +5    –4    –8

2s complement can be taken only for signed negative numbers.
So,
00000101 is +5.
11111100 is signed negative number so convert into 2s complement it gives -4.
11111000 is also a negative number so convert into 2s complement it gives -8.