What happens when you perform a bitwise operation on these numbers?
The result of the expression 4^12 is:
a)2 b) 4 c)8 d)12
Answers
Answered by
5
Answer:
The correct ans is :
c) 8
Answered by
0
Explanation:
Explanation: 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.
2. The one’s complement of 110010101 is:
a) 001101010
b) 110010101
c) 001101011
d) 110010100
View Answer
Answer: a
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.
Similar questions