1  Theory of Computer Science / Logic Gates


Exam Questions  Logic Gates
Example Question 1
Example Question 2
Reveal Answers
10
(a) Question 10 (a) requires you to fill in the truth table for a NOR gate. Remember that a NOR gate is essentially the opposite of an or gate. X will only be 1 if Neither of the inputs are 1 and both of them are not 1.
Answers
(a) Question 10 (a) requires you to fill in the truth table for a NOR gate. Remember that a NOR gate is essentially the opposite of an or gate. X will only be 1 if Neither of the inputs are 1 and both of them are not 1.
Answers
(b) Question 10 (b) asks you to write a logic statement for the given diagram
For this question 1 mark would be awarded for each correct part of the answer.
Answer
The whole answer should look something like this:
X = (A AND B) AND (C OR NOT B)
1 mark for each of the following sections
(A AND B) = 1 mark
AND = 1 mark
(C OR NOT B) = 1 mark
For this question 1 mark would be awarded for each correct part of the answer.
Answer
The whole answer should look something like this:
X = (A AND B) AND (C OR NOT B)
1 mark for each of the following sections
(A AND B) = 1 mark
AND = 1 mark
(C OR NOT B) = 1 mark
Example Question 3
Example Question 4
Reveal Answers
5
(a) Question 5 (a) provides you with a logic statement and asks you to draw a diagram. Remember to take your time here to fully understand the statement. 1 mark is awarded for each correct gate.
Answer
(a) Question 5 (a) provides you with a logic statement and asks you to draw a diagram. Remember to take your time here to fully understand the statement. 1 mark is awarded for each correct gate.
Answer
(b) Question 5 (b) asks for you to draw an XOR gate and then explain the function of it. When drawing gates remember to take your time and make sure that it is clear, you do not want the examiner to get confused by what gate you are trying to draw!
Answers
Answers
Example Question 5
Example Question 6
Reveal Answers
3
(a) Question 3 (a) provides you with a logic diagram and asks you to complete a truth table. This diagram contains an XOR gate a NOR and a NAND so be sure to take your time when completing the table.
Answers:
(a) Question 3 (a) provides you with a logic diagram and asks you to complete a truth table. This diagram contains an XOR gate a NOR and a NAND so be sure to take your time when completing the table.
Answers:
(b) Part B asks you to explain the difference between an AND and a OR gate. The question is worth 3 marks. Each of the following points are worth 1 mark (Max 3)
Answers
 output of AND is 1 if both inputs are 1
 output of AND is 0 if either or both inputs are 0
 output of OR is 1 if either input is 1
 output of OR is 0 if both inputs are 0
 Correct example of AND truth table
 Correct example of OR truth table