Digital Electronics - Digital Arithmetic Operations and Circuits - Discussion
Discussion Forum : Digital Arithmetic Operations and Circuits - General Questions (Q.No. 61)
61.
Convert each of the decimal numbers to two's-complement form and perform the addition in binary.
+13 |   | –10 |
add –7 |   | add +15 |
Discussion:
3 comments Page 1 of 1.
Pranitha Ankalam said:
5 years ago
+13 = 1101.
-7 = 0111(2's complement=1001).
Add both of 2 numbers=>1101+1001 = 0110,
Then, 0000 0110.
Similarly,
-10 = 1010(2's complement=0110)
+15 = 1111.
Add both of 2 numbers=>0110+1111=0101.
Then, 0000 0101.
-7 = 0111(2's complement=1001).
Add both of 2 numbers=>1101+1001 = 0110,
Then, 0000 0110.
Similarly,
-10 = 1010(2's complement=0110)
+15 = 1111.
Add both of 2 numbers=>0110+1111=0101.
Then, 0000 0101.
Chinnu said:
6 years ago
+13 =0000 1101
-7 =1111 1001=taken in 2s complement, add both
then 0000 0110.
Similarly;
-10= 1111 0110 = taken in 2s complement.
+15=0000 1111 add both.
Then 0000 0101.
-7 =1111 1001=taken in 2s complement, add both
then 0000 0110.
Similarly;
-10= 1111 0110 = taken in 2s complement.
+15=0000 1111 add both.
Then 0000 0101.
Sindhu said:
6 years ago
Can anybody explain this how it can be possible to get an answer C?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers