NIMCET 2020 — Computer PYQ
NIMCET | Computer | 2020The logic XOR operation of &(4AC0)_{16}& and (B53F)16 results________
Choose the correct answer:
- A.
AACB
- B.
0000
- C.
FFFF
(Correct Answer) - D.
ABCD
FFFF
Explanation
Here we have to perform an XOR operation on two Hexadecimal numbers
The boolean expression for XOR is A B = +
The truth table for XOR is:
Means A and B are the expressions given to us in Hex code. So, we need to find the
binary equivalent of theHexadecimal numbers. This is because these codes will be executed in 1 and 0 in the CPU.
The following table is to be memorized in order to convert Hexadecimal to Binary:
- Therefore, (4AC0)16=0100101011000000
- And (B53F)16=1011010100111111
- Now follow the Truth Table to perform the operation on every bit in XOR gate:
- (4AC0)16⊕(B53F)16=0100101011000000⊕1011010100111111
- 0100101011000000⊕1011010100111111=1111111111111111
- So the result obtained is (1111111111111111)2 which is the Binary Equivalent of (FFFF)16 (using the table given above).
- Hence the correct answer is FFFF.

