1.

The one’s complement of 110010101 is:(a) 001101010(b) 110010101(c) 001101011(d) 110010100I got this question in final exam.I need to ask this question from Bitwise topic in portion Precedence and Associativity, Bitwise & Boolean of Python

Answer» CORRECT ANSWER is (a) 001101010

Explanation: The one’s complement of a value is obtained by SIMPLY changing all the 1’s to 0’s and all the 0’s to 1’s. Hence the one’s complement of 110010101 is 001101010.


Discussion

No Comment Found

Related InterviewSolutions