Digital Electronics - Number Systems and Codes - Discussion
Discussion Forum : Number Systems and Codes - General Questions (Q.No. 49)
49.
The difference of 111 – 001 equals ________.
Discussion:
3 comments Page 1 of 1.
Shankhadeep said:
8 years ago
@Saswat.
How to solve it in 2's compliment?
A) Find the 2's compliment of the smallest number..
001 --> 111.
B) Add the result with bigger value(i.e. 111)
=> 111+111.
= 1110.
C) Now discard the end carry (i.e. 1 here)
--> 1(110) => 110(Ans.)
How to solve it in 2's compliment?
A) Find the 2's compliment of the smallest number..
001 --> 111.
B) Add the result with bigger value(i.e. 111)
=> 111+111.
= 1110.
C) Now discard the end carry (i.e. 1 here)
--> 1(110) => 110(Ans.)
Saswat said:
1 decade ago
How to solve it in 2's compliment form?
Achu said:
1 decade ago
step 1 : find the compliment of the smallest number<here 001>
******************************************
=>110.
step 2 : add the result with the first number
************************************
111+
110
___
*1 101 //*1 = carry.
step 3 : add the carry with the previous result
**************************************
ie; 101+
1
___
110.
******************************************
=>110.
step 2 : add the result with the first number
************************************
111+
110
___
*1 101 //*1 = carry.
step 3 : add the carry with the previous result
**************************************
ie; 101+
1
___
110.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers