Which gate is represented by the following truth table?
2021
Which gate is represented by the following truth table?

- A.
OR
- B.
AND
- C.
XOR
- D.
NOT
Attempted by 2522 students.
Show answer & explanation
Correct answer: A
To identify the logic gate from the truth table, compare the given inputs and outputs with the standard behavior of common logic gates. Step 1: Analyze the truth table. - When A = 0 and B = 0, Output = 0. - When A = 0 and B = 1, Output = 1. - When A = 1 and B = 0, Output = 1. - When A = 1 and B = 1, Output = 1. Step 2: Compare with OR gate. - OR gate output is 1 if at least one input is 1. - This matches the given truth table. Step 3: Compare with AND gate. - AND gate output is 1 only when both inputs are 1. - This does not match the given truth table. Step 4: Compare with XOR gate. - XOR gate output is 1 when inputs are different. - This does not match the given truth table. Step 5: Consider NOT gate. - NOT gate has only one input. - This truth table has two inputs, so it cannot be a NOT gate. Conclusion: The truth table matches the behavior of an OR gate.