HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Problems
  2. /A greenhouse temperature sensor sends a reading every 10 minutes…
HardComputer ScienceHigh School (9–10)Computer Science › Computer HardwareNumericalConceptualIGCSE

A greenhouse temperature sensor sends a reading every 10 minutes…

StemPy LabContributed by StemPy Lab

Try it on paper first. A hint, the key idea and the worked solution are here when you need them.

A greenhouse temperature sensor sends a reading every 10 minutes. The microprocessor switches the heater on for the next 10 minutes after any reading below 16 ∘C16\ ^\circ\text{C}16 ∘C. It opens the window after any reading above 18 ∘C18\ ^\circ\text{C}18 ∘C. Eight readings, in ∘C^\circ\text{C}∘C, are:

14, 15, 17, 19, 18, 16, 15, 13

How many readings switch the heater on? For how many minutes is the heater on? How many readings open the window? Then describe the job of the microprocessor.

Check your answer

Work it out on paper, then type your number. The answer itself stays hidden.

Need a reminder? The key ideaShowHide

A sensor measures a physical quantity and sends the reading to a microprocessor. The microprocessor compares the reading with stored values and decides, and an actuator acts. To choose a sensor, name the quantity that must be measured. Water in soil needs a moisture sensor and water vapour in air needs a humidity sensor. The height of a liquid needs a level sensor, and how close an object is needs a proximity sensor.

The worked solution

Have you tried it?

Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.

Step 1. The heater. The readings below 16 are 14, 15, 15 and 13. That is 4 readings, and each one keeps the heater on for 10 minutes: 4×10=404 \times 10 = 404×10=40 minutes.

Step 2. The window. Only 19 is above 18. That is 1 reading.

Step 3. The microprocessor.

  • It receives each reading from the sensor.
  • It compares the reading with the stored values 16 and 18.
  • It decides what must happen.
  • It sends a signal to the actuators: the heater switch and the window motor.

Answer: 4 readings, 40 minutes and 1 reading. The microprocessor compares each reading with the stored values and sends signals to the actuators.

Watch out. The readings 16 and 18 do nothing. They are not below 16 or above 18.

Log in to save this for later
← All Problems
← An engineer is choosing sensors for five systems…A student says: "ROM is pointless. A computer could keep everything in RAM, because RAM can be read… →
More onComputer Science › Computer Hardware

Discussion (0)

Log in to join the discussion.

Loading…

More on this topic

  1. A family's home network has a laptop, two phones, a games console and a printer…Hard
  2. A network tool shows the IPv4 address of a laptop in binary: 11000000.10101000.00000001.00101101…Medium
  3. A printer's network interface card has the MAC address 00:1A:2B:3C:4D:5E…Easy
  4. A small design company has five staff. Two of them often work from home…Hard
  5. A music shop sells old songs on CD and keeps its sales records on a hard disk drive…Medium
All problems on this topic →