1.

If m is the 2’s complement and n is the binary number, then______________(a) m=n’(b) m=n’+1(c) m=n’-1(d) m=nThe question was asked in semester exam.My enquiry is from Sign Magnitude topic in division Computer Arithmetic of Computer Fundamentals

Answer»

Right option is (b) m=n’+1

Easiest explanation: 2’s COMPLEMENT is simply OBTAINED by addition of 1. So if n is the number and we take the 2’s complement, add 1 to it, we GET the 2’s complement. Therefore, m=n’+1.



Discussion

No Comment Found

Related InterviewSolutions