Back

An introduction to OR gates - Answers

Q1. If you have 3 inputs, there are 2 to the power of 3 = 8 permutations.
Q2. If you have 4 inputs, there are 2 to the power of 4 = 16 permutations.
Q3. The truth table for this diagram:

OR2c

A B D C E
0 0 0 0 0
0 0 1 0 1
0 1 0 1 1
0 1 1 1 1
1 0 0 1 1
1 0 1 1 1
1 1 0 1 1
1 1 1 1 1

Something very interesting is happening in columns A, B and D. We are counting in binary to get the different permutations.

000 - 0
001 - 1
010 - 2
011 - 3
100 - 4
101 - 5
110 - 6
111 - 7

Q4. This diagram has got 4 inputs. They are A, B, C and D. Note that E and F are outputs from OR gates that feed into another OR gate. We only count inputs that originate from outside the diagram.

OR4c
Q5. If you have 4 inputs, there are 2 to the power of 4 = 16 permutations.
Q6. There's 1 output, G. 
Q7. Complete the truth table below for the diagram. Use the inputs A and B to work out column E. Use the inputs C and D to work out column F. Use the E and F to work out column G.

A B C D E F G
0 0 0 0 0 0 0
0 0 0 1 0 1 1
0 0 1 0 0 1 1
0 0 1 1 0 1 1
0 1 0 0 1 0 1
0 1 0 1 1 1 1
0 1 1 0 1 1 1
0 1 1 1 1 1 1
1 0 0 0 1 0 1
1 0 0 1 1 1 1
1 0 1 0 1 1 1
1 0 1 1 1 1 1
1 1 0 0 1 0 1
1 1 0 1 1 1 1
1 1 1 0 1 1 1
1 1 1 1 1 1 1

We are counting in binary in columns A, B, C and D again! This will give us all of the permutations we need to try out!

0000 - 0
0001 - 1
0010 - 2
0011 - 3
0100 - 4
0101 - 5
0110 - 6
0111 - 7
1000 - 8
1001 - 9
1010 - 10
1011 - 11
1100 - 12
1101 - 13
1110 - 14
1111 - 15

Q8. Study this diagram:

OR3c
There are 4 inputs A, B, D and F. There is 1 output, G.
Q9. If you have 4 inputs, there are 2 to the power of 4 = 16 permutations.
Q10. The truth table for the diagram: 

A B D F C E G
0 0 0 0 0 0 0
0 0 0 1 0 0 1
0 0 1 0 0 1 1
0 0 1 1 0 1 1
0 1 0 0 1 1 1
0 1 0 1 1 1 1
0 1 1 0 1 1 1
0 1 1 1 1 1 1
1 0 0 0 1 1 1
1 0 0 1 1 1 1
1 0 1 0 1 1 1
1 0 1 1 1 1 1
1 1 0 0 1 1 1
1 1 0 1 1 1 1
1 1 1 0 1 1 1
1 1 1 1 1 1 1

Back