Question:

Write the truth tables of OR and AND gates.

Show Hint

- In an OR gate, the output is true (1) if at least one input is true (1). - In an AND gate, the output is true (1) only when both inputs are true (1).
Updated On: Oct 13, 2025
Hide Solution
collegedunia
Verified By Collegedunia

Solution and Explanation

Truth Table for OR Gate:
The OR gate outputs 1 if at least one of its inputs is 1. Otherwise, it outputs 0. \[ \begin{array}{|c|c|c|} \hline A & B & A \, \text{OR} \, B
\hline 0 & 0 & 0
0 & 1 & 1
1 & 0 & 1
1 & 1 & 1
\hline \end{array} \] Truth Table for AND Gate:
The AND gate outputs 1 only if both of its inputs are 1. Otherwise, it outputs 0. \[ \begin{array}{|c|c|c|} \hline A & B & A \, \text{AND} \, B
\hline 0 & 0 & 0
0 & 1 & 0
1 & 0 & 0
1 & 1 & 1
\hline \end{array} \]
Was this answer helpful?
0
0