9618/12/O/N/22 question 3: worked solution (October/November 2022, paper 12)
Show as plain textHide plain text
Cambridge AS Level Computer Science 9618 · 3.2 Logic Gates and Logic Circuits Worked solution from the Hardware Paper 1 Theory Fundamentals booklet, Part 2 of 2. Q47 9618/12/O/N/22 original Q3 Structured · 7 marks Worked solution (a) Turn the rules into an expression first. Temperature too high and wind acceptable gives T AND NOT W. Rain not detected or override off gives NOT R OR NOT M. Join the two parts with AND: X = (T AND (NOT W)) AND ((NOT R) OR (NOT M)) Draw these gates, wired in this order: A NOT gate on W, feeding an AND gate with T. This AND gate gives T AND NOT W [1] A NOT gate on R and a NOT gate on M, both feeding an OR gate. This OR gate gives NOT R OR NOT M [1] A final AND gate taking the output of the first AND gate and the output of the OR gate. Its output is X [1] (b) Work out NOT (A OR B OR C) and (B NOR C) for each row. NOT (A OR B OR C) is 1 only when A, B and C are all 0. B NOR C is 1 only when B and C are both 0. So X is 1 only on the first row. A B C X 0 0 0 1 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 0 First four rows correct [1] Last four rows correct [1] (c) ROM keeps its contents when the power is off and cannot be changed by accident. Write any two of these: It stores data or instructions that do not change [1] The data must stay stored when the device has no power [1] Also accepted: It stores the start-up (boot) instructions , firmware or system software Only two points are needed for the 2 marks. KEY IDEA Break a written rule into small gates (NOT, AND, OR), then join them with a final gate. TOTAL 7 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by Audere Prep. Tap the picture to open it on YouTube.