Solveeit Logo

Question

Physics Question on Logic gates

If you want to retain the first 4 bits of given string of 8 bits and complement the last 4 bits then the correct mask and the operation should be

A

XOR and 00001111

B

XOR and 11110000

C

AND and 00001111

D

OR and 11110000

Answer

XOR and 00001111

Explanation

Solution

The correct option is(A): XOR and 00001111