Computer AwarenessHardSSC CGL · IBPS PO · RRB NTPC · SBI Clerk
What is the result of the bitwise XOR of 1010 and 0110?
- A. 1100
- B. 0010
- C. 1110
- D. 0100
Correct answer: A. 1100
XOR gives 1 where the bits differ: 1^0 = 1, 0^1 = 1, 1^1 = 0, 0^0 = 0, so 1100.
More Computer Awareness questions
- In a RAID system, RAID 1 refers to:
- How many hexadecimal digits are needed to represent a 16-bit binary number?
- The IPv4 address 172.16.5.4 belongs to which address class?
- What is the main purpose of Direct Memory Access (DMA)?
- What is the binary representation of the decimal fraction 0.625?
- In operating systems, what is 'thrashing'?