Arithmetic Operations and Circuits

Q1: Binary subtraction of a decimal 15 from 43 will utilize which two's complement?

A 101011

B 110000

C 011100

D 110001

ANS:D - 110001

I think answer will be (C).

43 = 1 0 1 0 1 1.
15 = 0 0 1 1 1 1.

Take the 2's complement of 15 =1 1 0 0 0 1.

Then add this value with binary equivalent of 43.

Will get,

1 0 1 0 1 1
+1 1 0 0 0 1
=1 0 1 1 1 0 0.

Then discard the carry output you will get 011100 so option will be (C).
We can verify it by taking simply 43 - 15 = 28.

When you will convert option C in decimal number that will give the correct answer that is '28'.
 



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.