Or search by topic
Published 2011 Revised 2019
Before we experiment with circuits we need to decide how to record what happens when we change the switches in the circuit from 0 to 1 or from 1 to 0. We use small letters $p$ and $q$ to represent the switches. These switches also represent statements that are true or false. A true statement has truth value 1 and a false statement has truth value 0.
In circuit diagrams each switch is either 'on' (representing the number 1 or a true statement) or 'off' (representing the number 0 or a false statement). Combinations of switches called logical gates represent the logical connectives .
|
Fig. 1 gives a summary of the information you need to build your own circuits. |
Fig. 1
|
First, connect a switch to a lamp as in Fig. 2 and click on the switch several times to change it from 1 to 0 and back to 1. Observe that the light goes on when the switch registers 1 and the light goes off when the switch registers 0. |
Fig. 2
|
Fig. 3
|
Now put a NOT gate into the circuit between the switch and the lamp, as shown in Fig. 3, and observe what happens when you change the switch from 1 to 0. |
Make and test the circuit shown in Fig. 4 and fill in the truth table replacing question marks by 1 if the light goes on and zero if the light does not go on. | Fig. 4
|
$$ \begin{array} p &q & p\wedge q \\ 1 &1 &?\\ 1 &0 &?\\ 0 &1 &?\\ 0 &0 &? \\ \end{array} $$ |
Given any two statements$p$, $q$ then $p$ or $q$, (written $p \vee q$)is given in the truth table on the right. Make the circuit shown in Fig. 5 and replace the question marks by 1's and 0's according to whether the lamp lights up or not. | Fig. 5 |
$$ \begin{array}{ccc} p &q & p\vee q \\ 1 &1 &?\\ 1 &0 &?\\ 0 &1 &?\\ 0 &0 &? \\ \end{array} $$ |
What does logic mean to us and is that different to mathematical logic? We will explore these questions in this article.
Learn about the link between logical arguments and electronic circuits. Investigate the logical connectives by making and testing your own circuits and fill in the blanks in truth tables to record your findings.