Exam style questions
Download a pdf version of the test
Use the space below each question or a pen and paper to write your answer. When complete click the button for the answer and mark scheme.
NOTE: Answers typed into the browser will not be retained if you leave the page or refresh
Questions
A shopping center uses automatic doors. Each door has 3 inputs. Input A is a switch to turn the door on and off. Input B is a motion detector outside the door and input C
is a motion detector inside the door. The output is the door opens if the switch is on and motion is detected either inside or outside the door.
Draw the logic circuit (Do this separately on paper) and give the associated logic statement. (3 marks)
Inputs B and C go into an OR gate (1) The result of that and input A go into an AND gate (1) Q= A ^ (B V C) (1)
Complete the truth table for the AND gate (2 marks)
Input A |
Input B |
Output |
0 |
0 |
0 |
0 |
1 |
0 |
|
1 |
0 |
0 |
1 |
1 |
1 |
If not completely correct 1 mark for any two correct combinations of input and output
<< Previous: Boolean logic Next: Programming languages >>