Digital Arithmetic Operations and Circuits

Q1:
Convert each of the decimal numbers to 8-bit two's-complement form and then perform subtraction by taking the two's-complement and adding.

A 0001  0011

B 0000  1110

C 0010  1110

D 1110  0000

ANS:B - 0000  1110

The given answer is right because convert 18 and 4 in 8 bit that means 18 = 0001 0010.

4 = 0000 0100.

Now convert 4 into 2's complement i.e 1111 1011.

+ 1.
-----------.
1111 1100.

Now add this by 18.

0001 0010.
+1111 1100.
-------------.
1 0000 1110.

Neglect carry hence we got the answer.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.