By connecting different logic gates together in various configurations, you can create more complex logic functions and circuits.
Two invaluable uses of logic circuits include:
For the examination you will need to be able to:
When evaluating a logic circuit you always work from left to right.
Here in the example the output of the NOT gate feeds in as an input into the AND gate.
A | B | not A | (not A) and B |
---|---|---|---|
0 | 0 | 1 | 0 |
0 | 1 | 1 | 1 |
1 | 0 | 0 | 0 |
1 | 1 | 0 | 0 |
The expression "(A AND B) OR C" represents a logical operation that involves three variables, A, B, and C, along with the AND (AND) and OR (OR) logical operators.
A | B | C | A AND B | (A AND B) OR C |
---|---|---|---|---|
0 | 0 | 0 | 0 | 0 |
0 | 0 | 1 | 0 | 1 |
0 | 1 | 0 | 0 | 0 |
0 | 1 | 1 | 0 | 1 |
1 | 0 | 0 | 0 | 0 |
1 | 0 | 1 | 0 | 1 |
1 | 1 | 0 | 1 | 1 |
1 | 1 | 1 | 1 | 1 |