Question Bank (3 marks) · Q13
Q.Find the bitwise
(i) compliment of A = 00001001,
(ii) exclusive ORing of A=00101010 and B=10101100
Karnataka PUCTextbookNumeric· 3mImportance★★★★★est
44% · 67/154 Questions
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →[!TLDR]
One's complement of 00001001 is 11110110; the XOR of 00101010 and 10101100 is 10000110.
(i) One's complement (~A) - invert every bit of A:
A = 00001001
~A = 11110110
(ii) Exclusive-OR (A ^ B) - a result bit is 1 only when the two bits differ, and 0 when they are the same:
00101010 (A)
^ 10101100 (B)
-----------
10000110
``` …
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.