Digital Electronics - Engineering

Q1:

The 2's complement representation of - 17 is

A 01110

B 01111

C 11110

D 10001

ANS:B - 01111

(17)10 = (10001)2 = (-17)10 = 1's complement of (17)2 + 1 the MSB is 0, hence (-17)2 cannot represented in 2's complement representation with 5 bit, therefore (-17) in 2's complement is simply (10001)2 = (17)10 .