In binary subtraction, if a negative binary result is obtained, what can be done to obtain the positive result?बाइनरी घटाव में, यदि एक नकारात्मक बाइनरी परिणाम प्राप्त होता है, तो सकारात्मक परिणाम प्राप्त करने के लिए क्या किया जा सकता है?
Show answerHide answer
Correct answer: (A) Invert all the bits in the resultपरिणाम में सभी बिट्स को उल्टा करें
Explanation
In 1's complement subtraction, if there is no end-around carry the result is negative and in 1's complement form, so inverting all its bits gives its magnitude. (In 2's complement you would invert and add 1.)1's complement घटाव में, यदि end-around carry न हो तो परिणाम ऋणात्मक होता है और 1's complement रूप में होता है, इसलिए उसके सभी बिट उलटने पर उसका परिमाण मिलता है। (2's complement में उलटकर 1 जोड़ा जाता।)