Construct a truth table for the combination of logic gates

1 reply · 2K views · last reply
moenste
Messages
711
Reaction score
12

Homework Statement


Logic circuit diagram with inputs A and B: A feeds an AND gate, whose output goes through a NOT gate; A and B feed an OR gate; the NOT output and OR output feed a final AND gate producing output X.


Construct a truth table for the combination of logic gates shown above.

2. The attempt at a solution
First of all the combination of logic gates with added letters to the combination:

Logic circuit diagram with inputs A and B: A and B feed an AND gate (output P), P goes to a NOT gate (output I), and A and B also feed an OR gate (output O). I and O feed a final AND gate with output X.


The truth table:

Truth table with inputs A, B, P and outputs O, I, X, listing 16 rows of binary values (0 and 1) for all combinations of A, B and P.


I think it should be correct. But just want to be sure.