Question:

Truth table of a logic gate is given below: 
\[ \begin{array}{|c|c|c|} \hline \text{Input A} & \text{Input B} & \text{Output Y} \\ \hline 0 & 0 & 1 \\ 0 & 1 & 0 \\ 1 & 0 & 1 \\ 1 & 1 & X \\ \hline \end{array} \] 

The value of X in the above table is .............. 
 

Show Hint

For logic gates, an OR gate gives an output of 1 when at least one input is 1.
Updated On: Dec 2, 2025
Hide Solution
collegedunia
Verified By Collegedunia

Correct Answer: 1

Solution and Explanation

Step 1: Analyzing the truth table.
The truth table provided shows a logic gate with two inputs and one output. By examining the pattern, we can identify the logic gate.

Step 2: Recognizing the logic gate.
The behavior of the gate matches that of an **OR gate**, where the output is 1 if at least one input is 1, and 0 only if both inputs are 0.

Step 3: Conclusion.
The value of \( X \) when both inputs are 1 is \( 1 \), since an OR gate gives 1 for \( 1 \) OR \( 1 \).

Final Answer: \( \boxed{1} \).

Was this answer helpful?
0
0