Skip to main content
O-LevelComputer ScienceBoolean logic2210/12 · Oct/Nov 2018 · Q35 Marks

A greenhouse uses a system to monitor the conditions that plants need to grow. The inputs to the system are: Input Binary value Condition W 1 Window is open 0 Window is closed T 1 Temperature >=26 °C 0 Temperature <26 °C H 1 Humidity >=50% 0 Humidity <50% The system will sound an alarm when certain conditions are detected. Alarm (X) will sound (=1) when: window is closed and temperature >=26 °C or temperature <26 °C and humidity >=50% Draw a logic circuit to represent the system. W T H X

This question uses a diagram from the original paper, which isn't shown here. Open the full paper from the past papers archive to see it.

Mark scheme

Marking points from the official mark scheme (Oct/Nov 2018). The mark or mark type is shown in brackets.

  1. [5] 1 mark for each correct logic gate, with correct inputs.
  2. [Diagram of logic circuit shows: NOT gate for W, AND gate for (NOT W and T), NOT gate for T, AND gate for (NOT T and H), OR gate for the two AND gate outputs leading to X.]

Write your answer and get it marked

On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.

Sign up free →

About this question

Topic
Boolean logic, O-Level Computer Science (syllabus 2210). Structured question, 5 marks.
Source
O-Level Computer Science, Oct/Nov 2018 Paper 1 Variant 2, question 3.

Questions and mark schemes are from past examination papers and remain the copyright of the exam board. How Oracle Prep builds its content

Related Computer Science questions

© 2026 Oracle Prep