Completing a truth table for logic gate combination

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

Homework Statement


Logic circuit diagram: inputs A and B feed an AND gate with output C; B also feeds a NOT gate with output D; C and D feed a NAND gate with output E.


Complete the truth table for the simple combination of logic gates shown above.

Partially completed truth table with columns A, B, C, D and E. Columns A and B show the four input combinations 00, 01, 10, 11; columns C, D and E are empty.


2. The attempt at a solution
I think this should be correct, but just want to check, since I don't have a book answer to compare:

Truth table with columns A, B, C, D and E and eight rows of binary values; column E is 1 for every row, and D is 1 only in rows where A and B are both 0 and C is 1, or A and C are 1 and B is 0, or A, B and C are all 1.