1.

It is not possible for the two’s complement value to be equal to the original value in any case.(a) True(b) FalseI got this question by my college director while I was bunking the class.My question is based upon Bitwise in portion Precedence and Associativity, Bitwise & Boolean of Python

Answer» RIGHT option is (b) False

The explanation is: In most cases the value of two’s complement is different from the ORIGINAL value. However, there are cases in which the two’s complement value may be EQUAL to the original value. For example, the two’s complement of 10000000 is also equal to 10000000. Hence the statement is false.


Discussion

No Comment Found

Related InterviewSolutions