Skip to content
IGCSE·Tuition
Computer Science · Lesson

Distinguish feedback from a fixed sequence

Two systems can both switch a heater on and off, yet only one of them is listening to the room.

On this page
  1. How do you tell them apart?
  2. Worked example
  3. The mistake to watch for
  4. Check yourself
  5. Where this leads next

A feedback system uses a sensor to check the effect of its own output, then adjusts. A fixed sequence runs the same steps in the same order whatever happens. The test is simple: does the next decision depend on a new reading?

Extension: feedback loops go slightly beyond the Cambridge syllabus list. They are included to help you understand how automated systems correct themselves.

This lesson builds on tracing the stages and sits inside automation and emerging systems. Exam scenarios often describe one system and ask whether it uses feedback, so the habit of looking for the reading is worth building.

How do you tell them apart?

Ask three questions about the scenario:

  1. Is there a sensor that measures the thing being controlled?
  2. Does the processor use that reading to choose the next action?
  3. Does the action change what the sensor reads next?

If all three answers are yes, it is a feedback system. If the actions follow a timetable or a counter and ignore what the sensor reads, it is a fixed sequence.

Worked example

A room starts at 18 °C. The target is 22 °C. Each step, a heater that is ON raises the temperature by 2 °C, and a heater that is OFF lets it fall by 1 °C.

Feedback version. The processor reads the temperature and applies IF temp < 22 THEN heater ← "ON" ELSE heater ← "OFF".

temp ← 18
FOR step ← 1 TO 6
   IF temp < 22
      THEN
         heater ← "ON"
         newTemp ← temp + 2
      ELSE
         heater ← "OFF"
         newTemp ← temp - 1
   ENDIF
   OUTPUT step, temp, heater, newTemp
   temp ← newTemp
NEXT step
steptemp readheatertemp after
118ON20
220ON22
322OFF21
421ON23
523OFF22
622OFF21

Fixed version. The heater is ON for steps 1 to 3 and OFF for steps 4 to 6, whatever the temperature is.

steptemp readheatertemp after
118ON20
220ON22
322ON24
424OFF23
523OFF22
622OFF21

Both runs end at 21 °C, but the fixed version pushed the room to 24 °C, two degrees over target, because it never looked at the reading. The feedback version stayed within 1 °C of the target after step 2.

The mistake to watch for

A common slip is to call a system “feedback” because it has a sensor.

Mistaken answer: “A sprinkler has a moisture sensor, so it is always feedback.”

The student stopped at the sensor and did not check what the processor does with the reading.

If the sprinkler logs the moisture but still waters for 20 minutes at 06:00 every day, the reading never changes the action, so it is a fixed sequence. If it stops watering when the moisture reaches a set level, the output changes the next reading and it is feedback.

Check yourself

1. A school bell rings at set times each day. Feedback or fixed sequence?

Show answer

Fixed sequence. The bell follows a timetable and does not read the effect of its own output.

2. A water tank pump switches off when a level sensor reads full. Feedback or fixed sequence? Give a reason.

Show answer

Feedback. The pump raises the level, the sensor reads the new level, and the processor uses it to stop the pump.

3. In the feedback heater trace above, why is the heater OFF at step 3 although the room is still below 24 °C?

Show answer

The rule compares with the target 22, not 24. At step 3 the reading is 22, and 22 < 22 is false, so the heater is OFF.

Where this leads next

Next, move from one rule to several inputs in explaining a simple decision model. To step through loops like the one above, use the pseudocode trace trainer.

A teacher in Computer Science tuition can build you a fresh scenario each time, so you practise the three-question test on systems you have not seen.

Questions people ask

What is a feedback loop in an automated system?

It is a loop where the system's own output changes the next input. A heater warms the room, the sensor reads the warmer temperature, and the processor uses that new reading to decide the next action. The decision depends on the effect of the previous one.

Is a timer a feedback system?

A timer that runs for a set time regardless of conditions is a fixed sequence. It does not read the effect of its own output. If the timer is combined with a sensor that can cut it short, the sensor part gives feedback.

Why would anyone use a fixed sequence?

A fixed sequence is simple and cheap, and it can be enough when conditions do not change much. A traffic signal on a set cycle is an example. It cannot adapt to unusual conditions, so check whether the scenario needs adapting.

Updated:

Your next step

If the feedback idea makes sense in words but your trace tables go wrong after step three, a one-to-one teacher can trace a fresh example with you and show where it slips.

Paid one-hour trial at your assigned teacher’s confirmed rate, starting from RM80.

Tuition is arranged with a parent or guardian. Send them this page on WhatsApp and they can enquire for you.

Parents: enquire here

  • 9,000+ students helped through our service
  • 9+ years helping IGCSE students