For A = 1, B = 0 and C = 1, what will be the value of Q in the following logic…
2018
For A = 1, B = 0 and C = 1, what will be the value of Q in the following logic diagram?

- A.
0
- B.
1
- C.
Cannot be determined
- D.
Both 0 and 1
Attempted by 123 students.
Show answer & explanation
Correct answer: A
First, evaluate the top AND gate with inputs A=1 and B=0. Since one input is 0, the output is 0. Next, analyze the lower section where an OR gate takes B=0 and C=1 to produce 1, while a bottom AND gate takes the same inputs to produce 0. These results feed into another AND gate, resulting in 1 AND 0 which is 0. Finally, the output Q combines the top result (0) and lower section result (0) via an OR gate, yielding a final value of 0.