Professional Documents
Culture Documents
Workbook
You might use role-playing to understand the function of the A A Example
logic gates, e.g.: B Q B Q
Exercise 1 LINK PAGE 1 C A A
• a group project needs both students A and B to agree on C B Q B Q
Ask students to complete Exercise 1 in the workbook by something so that the project can proceed (AND gate) C
C
competing the table with binary and Boolean values that • a different group project will be able to proceed if either 3 input AND
correspond to the natural language expression. students A or B or both agree (OR gate)
Input Intermediate Output Output
A B C Q 3 input AND
AO1: Demonstrate knowledge and understanding of the 0 0 0 Input Intermediate Output Output
principles and concepts of computer science Support students by giving more real-life examples: 0 0 1 A B C Q
Answers LINK PAGE 000 • AND gate: in a bank vault, two keys must be turned 0 1 0 0
0
0
0
0
1
0 1 1
together by the manager and the senior clerk to open the 1 0 0 0 1 0
All answers to questions in the Workbook are available at safe doors 1 0 1 0 1 1
resource.marshallcavendish.com/teacher
• OR gate: a parent promises pocket money if their child 1 1 0 1
1
0
0
0
1
Students can check the answers to Let’s Practice at completes either a car washing chore or a housework
1 1 1
1 1 0
resource.marshallcavendish.com/student. xxxxx xxxxxx chore: whichever chore they complete will result in the In question 2, remind students that this is not math, and in this 1 1 1
same outcome, which is pocket money case ‘one and one is one’.
Challenge more able students by explaining that pocket Support students by pointing out that: Additional logic gates
Types of logic gates
money will be given if they do either chore or both. This • the first table has only one input so there can only be one Ask students what they think happens if they add a NOT gate
Before or after explaining each gate, use the suggested is called an ‘inclusive-OR’ situation, because if either input possible answer to an AND or OR gate. Explain that these gates already exist:
activities below to showcase how Boolean operations can be includes a true condition or both inputs are true then the with a NAND gate, the output is simply the opposite of the
applied in the switching circuits and how these are illustrative
• the second table has a positive output only if both inputs
output is true. Ask if they can think of a scenario where this is A AND B are true AND gate, and the same goes for a NOR gate. The ‘N’ means
of the different logic gates. not the case, i.e. if both conditions are true then the output is ‘NOT’.
not true. • the third table has a positive output if A OR B are true
Get students engaged in hands-on activities like building Support students as you explain each gate by asking them to
switching circuits to illustrate the different types of logic gates. Challenge more able students to discuss what happens when
Be on the lookout for possible misconceptions that may arise imagine the AND or OR gate and simply reverse the output.
These activities can be done in a school science lab. there are more than two inputs into the AND or OR gate, and
due to the unusual notation, especially the AND (‘·’ not ‘+’) the resulting truth tables. This could be done by searching for Challenge more able students to discuss the corresponding
gate. the answers on the Internet and giving feedback to the class. logic notation and Boolean algebra form for each logic gate.
AND They could then team teach the concept with the teacher. Be sure to guide students as to how the truth table relates to
Extension ideas each of the logic gates.
Logic Gates: A
A*B
Example
B
Students can create an informative leaflet that includes a
A BB A•B
A•B Challenge higher-ability students to discuss what happens
range of logic gates and their rules. n-input Gates
0
0 00 00 when there are more than two inputs into the NAND or
0 11 00 Students can test their peers by creating and exchanging logic • Because + and • are binary operations, they can be cascaded NOR gate and the resulting truth tables. This could be done
0
A 1 0 0 gate and truth table questions, such as fill in the blanks. together to OR or AND multiple inputs. by searching the answers on the internet and feeding back
B 1 0 0
Series Circuits 1 1 1 to the class. They could then team teach the concept with
1 1 1 Worked example
the teacher.
A A
Go through the worked example about a security light. A+B+C These students can also be asked to draw logic gates
A*B B C B ABC
containing three line inputs and the corresponding truth
Activity
tables. Ask them to give examples of when three inputs
Encourage students to attempt to do the same as the worked are used in the real world and share these real-life links with
OR example for the scenario in question 1. A A
the class.
B A+B+C B ABC
A Support students by encouraging them to do all the steps: C C
Logic Gates: For the XOR gate, explain that at a fast food restaurant you
A+B
B A A+B
B A+B • make a table in normal language can choose either a hot dog, or cheeseburger. It has to be
0 00 00 one or the other; it cannot be both. This is called an ‘exclusive-
A • make a table in Boolean and binary values
00 11 11 OR’ because it doesn’t allow both – the output is false if both
1 0 1
• make the resulting truth table inputs are true.
Parallel Circuit
1 0 1
• choose the logic gate that will make this happen You can also ask these students to draw logic gates with three
B 1 1 1
1 1 1 inputs and their corresponding truth tables.
Challenge more able students to skip steps and invent
A+B another scenario for the AND, OR or NOT gate.