1.

One’s complement in binary is defined as _________(a) Flipping each binary bit(b) Adding one to the binary number(c) Flipping only bits having zero in it(d) None of the mentionedI got this question during an interview.Question is from Number Theory topic in chapter Number Theory and Cryptography of Discrete Mathematics

Answer»

The correct choice is (a) FLIPPING each binary bit

The EXPLANATION is: While taking 1’s COMPLEMENT we replace 1 with zero and vice VERSA.



Discussion

No Comment Found

Related InterviewSolutions