Skip to content
Cambridge IGCSE0984

Automated systems

Computer Science 0984 Chapter Notes

Last updated November 2026

What this chapter covers

RoboticsArtificial intelligence
ShareWhatsAppPost

Automated systems notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Automated systems notes as text: skim, search, and jump between subtopics.

~30 min read

1. Sensor, microprocessor and actuator

An automated system uses three parts in turn. A sensor is an input device. It measures its surroundings, such as the temperature or the light level, and sends the data to the microprocessor.

The microprocessor processes the data. An actuator is an output device. It converts a digital signal into physical movement.

Examiner insight

“Candidates must understand that it is not the sensor that detects the change, that the sensor just measures the environment.” “An actuator converts a digital signal into physical movement for example to move a motor to open a door, it does not display a message on a digital screen.”

Worked example 12 marks

An automatic door opens when a person stands within 1 metre of it. State the name of the part that makes the door move, and what it does.

  1. 1

    An actuator (for example a motor) [1]

  2. 2

    It converts a digital signal from the microprocessor into physical movement [1]

2. How the three parts work together

The sensor continuously sends data to the microprocessor. The data is converted to digital form.

The microprocessor compares the data with a stored value. If the result is true, it sends a signal to the actuator.

The pseudocode shows this decision for a window blind that closes when the light level is above 800 lux.

``` WHILE TRUE DO INPUT LightLevel IF LightLevel > 800 THEN SendSignal ← TRUE ELSE SendSignal ← FALSE ENDIF ENDWHILE ```

Examiner insight

“There seem to be a misconception from some candidates that the sensor only takes a sample when it notices something has changed or moved.” “Candidates needed to demonstrate their understanding of the steps involved in this decision and action, i.e. the value is compared, and then if the result is true the microprocessor sends a signal to the actuator to make the movement.”

Worked example 13 marks

A window blind closes when the light level is above 800 lux. Describe how the microprocessor makes the blind close.

  1. 1

    It compares the data from the light sensor with the stored value of 800 lux [1]

  2. 2

    If the light level is greater than 800 lux, the result is true [1]

  3. 3

    It sends a signal to the actuator, which moves the blind to close it [1]

3. Naming the right sensor

Name the type of sensor, not an example of it. A gas sensor measures gases such as oxygen and carbon dioxide. A pH sensor measures acidity; a moisture sensor does not.

A sensor that detects a person nearby is an infra-red sensor. Other types in the papers are light, pressure and level sensors.

Examiner insight

“Some candidates gave motion sensor which was not precise enough to indicate the actual sensor that would be used to detect the motion, which is most commonly an infra-red sensor.” “The most common error made was candidates not using the correct name for a type of sensor and rather listing and example of the type of sensor, such as O2 sensor or CO2 sensor for gas sensor, and acidity sensor for pH sensor.”

Worked example 13 marks

Name the most suitable sensor for each application.

(a) Switching a street lamp on at dusk.

(b) Checking the acidity of soil in a greenhouse.

(c) Detecting a person within 1 metre of a door.

  1. 1

    (a) light sensor [1]

  2. 2

    (b) pH sensor [1]

  3. 3

    (c) infra-red sensor [1]

4. Applying the system to a scenario

A question names a scenario. Use its details: its sensor, its values and what its actuator moves.

Name the sensor, say it sends data continuously, and say the microprocessor compares the data with the stored value given in the question. Then say what the actuator does.

Examiner insight

“Many candidates provided a generic description of a system that uses a sensor and a microprocessor, and did not relate their description to the system given in the question.” “Some candidates applied it to a different context such as an automatic lighting system or a security system.”

Worked example 15 marks

A greenhouse window opens automatically when the temperature is above 30 °C. Describe how the sensor, microprocessor and actuator work together.

  1. 1

    A temperature sensor measures the temperature in the greenhouse [1]

  2. 2

    It continuously sends the data to the microprocessor, converted to digital form [1]

  3. 3

    The microprocessor compares each reading with the stored value of 30 °C [1]

  4. 4

    If the reading is above 30 °C, it sends a signal to the actuator [1]

  5. 5

    The actuator (a motor) converts the signal into physical movement and opens the window [1]

5. Advantages and disadvantages

An advantage or disadvantage must fit the scenario and the person the question asks about. A generic point such as "it can work 24/7" is not an advantage to an employee.

Give a benefit, not a feature. "It can measure the heat level" is a feature. A benefit is that the system can instantly indicate when the level is too hot.

Disadvantages that earned marks were high setup or maintenance costs, and that robots could take employees' jobs. Scenarios in the syllabus are industry, transport, agriculture, weather, gaming, lighting and science.

Examiner insight

“Many candidates gave generic reasons such as the robots will not need to take breaks. They did not consider the context given in the question and were not relevant as advantages to the employee.” “It would be beneficial for candidates to state a benefit, rather than a feature, of the sensor in this context.”

Worked example 14 marks

A factory uses an automated system with a temperature sensor to control an oven on its production line. Give two advantages of the system to the factory owner and two disadvantages of using it.

  1. 1

    Advantage: the system can work 24/7, so the owner's oven keeps running without breaks [1]

  2. 2

    Advantage: it measures the oven temperature and can instantly indicate when the oven is too hot [1]

  3. 3

    Disadvantage: high setup or maintenance costs for the owner [1]

  4. 4

    Disadvantage: the system could take employees' jobs on the production line [1]

Recap

  • A sensor measures its surroundings and sends the data to the microprocessor.
  • A microprocessor compares the data with a stored value.
  • An actuator converts a digital signal into physical movement.
  • The sensor sends data continuously, not only when something changes.
  • Name the type of sensor, for example infra-red, light, pH or gas.
  • Use the details of the scenario in every answer.
  • Fit each advantage or disadvantage to the scenario and to the person asked about.

6. What robotics is

Robotics is a branch of computer science. It incorporates the design, construction and operation of robots.

Robotics is the field of study. A robot is one thing the field produces. Examples include factory equipment, domestic robots and drones.

Examiner insight

“The stronger responses included a description of the design and construction of robots, whilst the weaker responses described a robot as simulating human actions.”

Worked example 12 marks

State what is meant by robotics.

  1. 1

    a branch of computer science [1]

  2. 2

    that incorporates the design, construction and operation of robots [1]

7. Characteristics of a robot

The syllabus lists three characteristics of a robot. It has a mechanical structure or framework. It has electrical components, such as sensors, microprocessors and actuators. It is programmable. Mark schemes also credit that it can move.

Artificial intelligence is not on this list. Not all robots have artificial intelligence.

Examiner insight

“Some candidates described the actions of the drone and how it worked, instead of its characteristics related to it being a robot.” “Some candidates gave an inaccurate response of ‘artificial intelligence’. It would be beneficial for candidates to understand that not all robots have artificial intelligence.”

Worked example 12 marks

A drone is used to search for lost animals. The drone is a flying device that can be autonomous or operated using a remote control. The drone is a robot. Give two characteristics of the drone that identify it as a robot.

  1. 1

    any two from: mechanical structure / framework, electrical components, programmable, it can move [2]

8. Sensors, microprocessors and actuators

A sensor sends data to the microprocessor. To identify if an object is nearby, mark schemes credit a proximity sensor, an infra-red sensor, a light sensor or a magnetic field sensor. An acoustic sensor identifies a sound, such as a clap.

A microprocessor is an integrated circuit on a single chip that performs all the functions of a CPU.

An actuator produces physical movement. It is used to stop, change or control the robot.

Examiner insight

“Some candidates gave motion or movement sensor. These terms require more precision as to that actual type of sensor within it, for example infra-red.” “Some candidates linked a microprocessor to an embedded system and defined an embedded system instead of a microprocessor.”

Worked example 12 marks

The drone has a built-in system to stop it from crashing into objects, for example a tree. The system uses sensors and a microprocessor.

(i) Identify one sensor that could be built into the drone to detect if it is near an object.

(ii) State what is meant by a microprocessor.

  1. 1

    (i) proximity sensor // infra-red sensor [1]

  2. 2

    (ii) any one from: an integrated circuit that performs all the functions of a CPU, an integrated circuit on a single chip [1]

9. How the parts work together

The sensor continually sends digitised data to the microprocessor. The microprocessor compares the data to a stored value. If the test is true, it sends a signal to the actuator. The actuator makes the movement. If the test is false, no action is taken.

The process repeats until the robot is turned off.

Examiner insight

“Few candidates were able to demonstrate an understanding of a sensor continually sending data to the microprocessor for analysis, instead suggesting that the sensor only sends data when an object is detected.” “Candidates needed to demonstrate their understanding of the steps involved in this decision and action, i.e. the value is compared, and then if the result is true the microprocessor sends a signal to the actuator to make the movement.”

Worked example 13 marks

A child has a robot animal. If the robot animal is walking and it senses an object is less than 10 cm away, it will stop. The sensor continuously sends digitised data to the microprocessor. Describe how the microprocessor uses the data from the sensor to stop the robot animal when an object is less than 10 cm away.

  1. 1

    the microprocessor compares the received data to the stored value (of 10) [1]

  2. 2

    if the value received is less than 10, it sends a signal to stop the robot [1]

  3. 3

    the signal is sent to an actuator that is used to stop the robot [1]

10. Roles, advantages and disadvantages

Robots can be used in industry, transport, agriculture, medicine, domestic settings and entertainment. A drone that searches for lost animals is an example.

An advantage must be an advantage to the person the question names. Robots do not need to take breaks, but that helps the employer. It does not help the employees.

Disadvantages include that a robot is expensive to purchase and that robots could take employees' jobs.

Examiner insight

“Many candidates gave advantages to the employers instead of the workers.” “The most common correct disadvantage given is that the robots could take employees jobs.”

Worked example 12 marks

A factory replaces some of its workers with robots. Give two disadvantages of using robots in the factory.

  1. 1

    a robot is expensive to purchase [1]

  2. 2

    the robots could take employees' jobs [1]

Recap

  • Robotics is a branch of computer science: the design, construction and operation of robots.
  • A robot has a mechanical structure, electrical components and is programmable.
  • Artificial intelligence is not a key characteristic of a robot: not all robots have it.
  • A microprocessor is an integrated circuit on a single chip that performs all the functions of a CPU.
  • The sensor continually sends data. The microprocessor compares it to a stored value. If true, it signals the actuator.
  • An advantage must help the person the question names: no breaks helps the employer, not the workers.

11. What artificial intelligence is

Artificial intelligence (AI) is a branch of computer science. It deals with the simulation of intelligent behaviours by computers.

AI is not the same as a robot. Not all robots have AI, and AI does not define a robot.

Examiner insight

“It would be beneficial for candidates to understand that not all robots have artificial intelligence.”

Worked example 12 marks

State what is meant by artificial intelligence (AI).

  1. 1

    AI is a branch of computer science. [1]

  2. 2

    It deals with the simulation of intelligent behaviours by computers. [1]

12. The characteristics of AI

The main characteristics of AI are the collection of data and the rules for using that data, and the ability to reason.

AI can also include the ability to learn and adapt.

A characteristic is a feature of AI itself. A scenario that uses AI, or a type of AI such as an expert system, is not a characteristic.

Examiner insight

“This question asked for the characteristics of artificial intelligence; some candidates describe different scenarios that could make use of artificial intelligence or described different types or categories of artificial intelligence, which did not answer this question.” “Some candidates repeated the characteristics given in the question, or gave this in another form, for example that it learns from its mistakes.”

Worked example 11 mark

A computer game uses artificial intelligence (AI) to create extra characters (players) in the game. One characteristic of the AI is that it can adapt and learn. Give one other characteristic of the AI.

  1. 1

    It collects data, or it applies rules to the data, or it has the ability to reason. [1]

13. The parts of an expert system

An expert system is one of two kinds of AI system you must know. The other is machine learning.

An expert system has four parts: a knowledge base, a rule base, an inference engine and an interface.

Examiner insight

“Candidates seemed to either know this fully, or not at all.” “They mainly identified the component parts of an expert system and what they contain.”

Worked example 14 marks

A doctor uses an expert system to help find the cause of an illness. Name the four components of the expert system.

  1. 1

    Knowledge base [1]

  2. 2

    Rule base [1]

  3. 3

    Inference engine [1]

  4. 4

    Interface [1]

14. How an expert system finds a solution

The user inputs data about the problem. The inference engine uses this data.

It searches for similar knowledge in the knowledge base and applies it to the rule base to find a solution. If it needs more data, it decides which question to ask next.

When a question asks how an expert system works, describe the role of each part in the context given. Naming the parts is not enough.

Examiner insight

“Very few candidates were able to accurately describe the role of the inference engine.” “Some candidates were able to name some or all of the components involved but very few could describe their role in the process.”

Worked example 13 marks

The computer game has an expert system that can be used to find a solution to any problems with the game. The expert system uses an inference engine. Explain the role of the inference engine in finding a solution to a problem with the game.

  1. 1

    It uses the data input by the user about the problem. [1]

  2. 2

    It searches for similar knowledge in the knowledge base. [1]

  3. 3

    It applies it to the rule base to find the solution. [1]

15. Machine learning

Machine learning is when a program has the ability to automatically adapt its own processes and/or data.

One way a program can do this is to store successful and unsuccessful actions, then use them the next time.

When a question asks how machine learning is used, apply it to the context. Do not only define it.

Examiner insight

“Few candidates were able to explain how machine learning would be used in the given context. Most candidates just gave a description of what is meant by machine learning.” “Some of the weaker responses described the use of an expert system in this scenario, which is not appropriate for the scenario due to there not being a user to answer the questions to move to an outcome.”

Worked example 14 marks

A child has a robot animal. The robot animal uses artificial intelligence (AI). Explain how the robot animal can use AI to learn where objects are in a room.

  1. 1

    It can use machine learning, adapting its own data/rules/processes. [1]

  2. 2

    It can create a (digital) map of the room, recording the shape and dimensions of the room. [1]

  3. 3

    It can record/store the location of objects. [1]

  4. 4

    It can update its map to record when objects are moved, removed or added. [1]

Recap

  • AI is a branch of computer science that simulates intelligent behaviours by computers.
  • AI characteristics: the collection of data and the rules for using it, the ability to reason, and it can include the ability to learn and adapt.
  • An expert system has a knowledge base, a rule base, an inference engine and an interface.
  • The inference engine uses the user's data, searches the knowledge base and applies it to the rule base.
  • Machine learning is a program that automatically adapts its own processes and/or data.
  • Apply machine learning to the context in the question. Do not only define it.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State what a sensor does and what an actuator does in an automated system.2 marks
    Answer
    1. A sensor measures its surroundings and sends the data to the microprocessor [1].
    2. An actuator converts a digital signal into physical movement [1].

    Trap: Saying that the sensor detects the change, or that the actuator changes what is shown on a screen.

  2. A greenhouse system checks the acidity of the soil. Name the sensor it needs.1 mark
    Answer
    1. pH sensor.

    Trap: "Acidity sensor" is not the name of a type of sensor, and a moisture sensor does not measure acidity.

  3. A door opens when a person is within 1 metre of it. Name the sensor the system needs.1 mark
    Answer
    1. Infra-red sensor.

    Trap: "Motion sensor" is not precise enough.

  4. A barn has a roof vent that closes when the temperature is below 12 °C. A temperature sensor sends data to a microprocessor. State what the microprocessor does with the data.2 marks
    Answer
    1. It compares the data from the sensor with the stored value of 12 °C [1].
    2. If the temperature is less than 12 °C, it sends a signal to the actuator to close the vent [1].

    Trap: Writing only "the value is compared" is vague: say what is compared with what.

  5. A fish tank heater switches on when the temperature sensor reads below 22 °C. Four readings in order are 24 °C, 23 °C, 22 °C and 21 °C. Give the first reading at which the heater switches on, and why.2 marks
    Answer
    1. The first reading is 21 °C [1].
    2. It is the first reading that is less than the stored value of 22 °C [1].

    Trap: At 22 °C the reading is equal to the stored value, not below it.

  6. A student says: "The sensor only sends data to the microprocessor when the light level changes." Explain why this is wrong.2 marks
    Answer
    1. The sensor continuously sends data to the microprocessor [1].
    2. The microprocessor compares each reading with the stored value, so the microprocessor finds the change [1].

    Trap: Believing that the sensor takes a sample only when something changes.

  7. A weather station uses an automated system with a temperature sensor to warn of frost. A student writes this advantage: "It can measure the temperature." Explain why this earns no mark, and give a better answer.2 marks
    Answer
    1. It is a feature of the sensor, not a benefit of the system [1].
    2. A benefit: it measures the temperature and can instantly indicate when it is cold enough for frost [1].

    Trap: Giving a feature of the sensor where a benefit is asked for.

  8. A factory fits an automated system to pack boxes. A question asks for an advantage and a disadvantage to the employees. A student writes: "Advantage: the system can work 24/7." Explain why this earns no mark, and give one disadvantage to the employees.2 marks
    Answer
    1. Working 24/7 is an advantage to the factory owner, not to the employees [1].
    2. Disadvantage: the system could take the employees' jobs [1].

    Trap: Giving a generic advantage that does not fit the person the question asks about.

  9. A corridor light switches on when movement is detected. It switches off when no movement has been detected for 120 seconds. The microprocessor uses a timer that counts in seconds. Movement is detected at 0 s, 50 s and 130 s, and not again. (a) State the time at which the light switches off. (b) Describe how the microprocessor uses the sensor data and the timer to decide when to switch the light off.5 marks
    Answer
    1. (a) The timer is reset at 0 s, 50 s and 130 s. It next reaches 120 at 130 + 120 = 250, so the light switches off at 250 s [1].
    2. (b) The infra-red sensor continuously sends data and the microprocessor analyses it constantly [1].
    3. It compares each reading with a stored value to decide whether there is movement [1].
    4. Each time movement is detected, it resets the timer to 0 [1].
    5. It compares the timer with the stored value of 120. When the timer reaches 120, it sends a signal to switch the light off [1].

    Trap: Saying the data is analysed once every 120 seconds, or timing from the first movement, which gives 120 s.

  10. A farm waters a field automatically. A moisture sensor is in the soil. A water valve opens when the reading is below 35. It closes when the reading is 60 or above. For any reading in between, the valve stays as it is. The valve starts closed. Seven readings in order are 41, 35, 34, 52, 60, 58 and 33. (a) State each reading at which the valve changes, and whether it opens or closes. (b) Describe how the microprocessor and the actuator make the valve open. (c) Give one disadvantage of this system to the farmer.7 marks
    Answer
    1. (a) At 34 the valve opens: 41 and 35 are not below 35 [1].
    2. At 60 it closes: 52 is in between, so the valve stays open until then [1].
    3. At 33 it opens again: 58 is in between, so the valve stays closed until then [1].
    4. (b) The microprocessor compares each reading from the moisture sensor with the stored value of 35 [1].
    5. If the reading is less than 35, it sends a signal to the actuator [1].
    6. The actuator converts the signal into physical movement, which opens the valve [1].
    7. (c) The farmer has high setup or maintenance costs for the system [1].

    Trap: Opening the valve at 35, which is equal to the stored value, or closing it at 52 because the reading is no longer below 35.

  11. State what is meant by robotics.2 marks
    Answer
    1. A branch of computer science [1].
    2. It incorporates the design, construction and operation of robots [1].

    Trap: Describing a robot instead of the field of robotics.

  12. A student writes: “Robotics is a robot that copies human actions.” Explain what is wrong with this.2 marks
    Answer
    1. Robotics is the field of study, not a robot [1].
    2. It covers the design, construction and operation of robots [1].

    Trap: Describing a robot as simulating human actions.

  13. Give three characteristics of a robot.3 marks
    Answer
    1. A mechanical structure or framework [1].
    2. Electrical components, such as sensors, microprocessors and actuators [1].
    3. It is programmable [1].
    4. That it can move is also credited.

    Trap: Writing ‘artificial intelligence’.

  14. A student says that every robot uses artificial intelligence. State whether the student is correct and give a reason.2 marks
    Answer
    1. The student is not correct [1].
    2. Not all robots have artificial intelligence, and it does not define a robot [1].

    Trap: Treating artificial intelligence as a key characteristic.

  15. State what is meant by a microprocessor.1 mark
    Answer
    1. An integrated circuit on a single chip that performs all the functions of a CPU [1].

    Trap: Defining an embedded system, or only a CPU.

  16. A domestic robot must stop before it hits a wall. Give one suitable sensor for the robot to detect that the wall is near.1 mark
    Answer
    1. A proximity sensor or an infra-red sensor [1].
    2. A light sensor or a magnetic field sensor is also credited.

    Trap: Giving ‘motion sensor’, which is not precise enough.

  17. A warehouse replaces some workers with robots. The manager says: “The robots do not need to take breaks.” Explain why this is not an advantage to the workers.2 marks
    Answer
    1. It is an advantage to the employer, not to the workers [1].
    2. It would likely be a disadvantage to the workers [1].

    Trap: Giving an advantage to the employer, not the workers.

  18. A robot stops if an object is less than 15 cm away. Its sensor continually sends digitised data to the microprocessor. Describe how the microprocessor and an actuator stop the robot.4 marks
    Answer
    1. The microprocessor compares the data received to the stored value of 15 [1].
    2. If the value is less than 15, the microprocessor sends a signal to stop the robot [1].
    3. The signal goes to an actuator, which stops the robot [1].
    4. If the value is not less than 15, no action is taken, and the process repeats [1].

    Trap: Repeating the question with no comparison of the data to the stored value.

  19. A hospital uses a robot to carry medicines between rooms. The robot must stop if a person is less than 50 cm in front of it. A student describes how this works: “A motion sensor sends data to the microprocessor when it detects a person. The microprocessor checks that the person is less than 50 cm away. An actuator then displays a warning on the robot's screen.” Identify four mistakes in the description and correct each one.4 marks
    Answer
    1. ‘Motion sensor’ is not precise enough: it is a proximity sensor or an infra-red sensor [1].
    2. The sensor does not wait until it detects a person: it continually sends digitised data [1].
    3. ‘Checks’ only repeats the question: the microprocessor compares the data received to the stored value of 50 [1].
    4. An actuator does not display a message: the microprocessor sends it a signal and it produces the physical movement that stops the robot [1].

    Trap: Four reported mistakes at once: an imprecise sensor, data sent only on detection, no comparison to a stored value, and an actuator used as a display.

  20. A farm uses a robot to carry boxes of fruit along a path. The robot stops if an object is less than 40 cm in front of it. It moves again when the object is 40 cm or more away. (a) Explain how the sensor, the microprocessor and an actuator work together to stop the robot and to move it again. (b) The data received gives a distance of exactly 40 cm while the robot is stopped. State what the robot does and give a reason. (c) Give two disadvantages of the farm using the robot.9 marks
    Answer
    1. (a) The sensor continually sends digitised data to the microprocessor [1].
    2. The microprocessor compares the data received to the stored value of 40 [1].
    3. If the value is less than 40, it sends a signal to an actuator to stop the robot [1].
    4. If the value is 40 or more, it sends a signal to the actuator to move the robot [1].
    5. The process repeats until the robot is turned off [1].
    6. (b) The robot moves again [1].
    7. 40 is not less than the stored value of 40, so the test for stopping is false [1].
    8. (c) The robot is expensive to purchase [1].
    9. The robot could take employees' jobs [1].

    Trap: Treating exactly 40 as ‘less than 40’ in (b), and describing only the stop in (a).

  21. AI is a branch of computer science. State what AI deals with.1 mark
    Answer
    1. The simulation of intelligent behaviours by computers [1].

    Trap: Giving an example of AI in use instead of saying that it simulates intelligent behaviours.

  22. The syllabus limits AI systems to two types. One is an expert system. Name the other.1 mark
    Answer
    1. Machine learning [1].

    Trap: Naming a robot, which is not a type of AI system: not all robots have AI.

  23. An expert system has a knowledge base, a rule base and an interface. Name the fourth component.1 mark
    Answer
    1. Inference engine [1].

    Trap: Repeating a component the question has already given, in other words.

  24. State what is meant by machine learning.1 mark
    Answer
    1. A program that has the ability to automatically adapt its own processes and/or data [1].

    Trap: Answering 'the computer learns' with no mention of adapting its own data or processes.

  25. A translation program uses AI. Give three characteristics of AI.3 marks
    Answer
    1. Any three from: it collects data; it has rules for using that data; it has the ability to reason; it can include the ability to learn and adapt [1 each, max 3].

    Trap: Describing a scenario that uses AI, or a type of AI, instead of a characteristic.

  26. A heater switches on at 06:00 every day. It follows this one fixed instruction and never changes what it does. A student says the heater uses AI. State two characteristics of AI that the heater does not show.2 marks
    Answer
    1. It does not have the ability to reason: it only follows one fixed instruction [1].
    2. It does not have the ability to learn and adapt: it never changes what it does [1].

    Trap: Treating any automatic device as AI.

  27. A bank uses an expert system to help decide whether to lend money. State the component the inference engine searches for similar knowledge, and the component it then applies that knowledge to.2 marks
    Answer
    1. It searches the knowledge base [1].
    2. It applies the knowledge to the rule base [1].

    Trap: Swapping the knowledge base and the rule base.

  28. A music app recommends songs. After each recommendation it records whether the user played the song or skipped it, and uses this to change what it recommends next. Explain how this is machine learning.3 marks
    Answer
    1. It records data about which songs the user played or skipped [1].
    2. It uses this data to adapt its own data/rules [1].
    3. It does this automatically, so the next recommendations change [1].

    Trap: Defining machine learning without applying it to the music app.

  29. A garage uses an expert system to find faults in cars. A mechanic inputs two facts: the engine will not start and the lights do not work. The system then asks: 'Is the battery more than five years old?' Asked to explain how the system finds the fault, a student writes only: 'It has a knowledge base, a rule base, an inference engine and an interface.' Write an answer that would earn 4 marks. Include why the system asked about the battery.4 marks
    Answer
    1. The inference engine uses the data input: engine will not start, lights do not work [1].
    2. It searches the knowledge base for similar knowledge about these faults [1].
    3. It applies this knowledge to the rule base to find the fault [1].
    4. It needed more data, so it decided which question to ask next: the age of the battery [1].

    Trap: Naming the components without their roles, and not using the details of this car.

  30. A greenhouse is watered by a computer system. No person is present. Each day the system records how much water it gave each plant bed, and a reading of whether the soil was too dry, too wet or correct the next day. One designer suggests an expert system. Another suggests machine learning. Explain why an expert system is not appropriate here (2 marks), and explain how the system could use machine learning to improve its watering (4 marks).6 marks
    Answer
    1. An expert system needs a user to answer its questions to move to an outcome [1].
    2. No person is present in the greenhouse to answer the questions [1].
    3. With machine learning the program automatically adapts its own data/rules/processes [1].
    4. It collects data: the water given to each bed and the soil reading the next day [1].
    5. It stores which amounts were successful (soil correct) and which were unsuccessful [1].
    6. It analyses this stored data and adapts the amount of water it gives each bed [1].

    Trap: Choosing an expert system with no user to answer it, or only defining machine learning.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
motion sensorinfra-red sensor
O2 sensor, or acidity sensorgas sensor, or pH sensor
The sensor detects the change, then the actuator shows it on the screen.The sensor measures. The microprocessor compares the data with the stored value. The actuator makes physical movement.
An advantage to the employee is that it works 24/7.An advantage that fits the person asked about; "24/7" is an advantage to the owner.
Robotics is a robot that simulates human actions.Robotics is the design, construction and operation of robots.
A robot has artificial intelligence.A robot has a mechanical structure, electrical components and is programmable.
A motion sensor or movement sensor.A proximity sensor or an infra-red sensor.
The sensor sends data when it detects an object.The sensor continually sends digitised data to the microprocessor.
A robot is a machine that has AI.AI is not a key characteristic of a robot. Not all robots have AI.
An expert system is a characteristic of AI.A characteristic is that it collects data, applies rules to the data or has the ability to reason.
The expert system has a knowledge base, a rule base, an inference engine and an interface. (Asked how it finds a solution.)The inference engine searches the knowledge base for similar knowledge and applies it to the rule base.
Machine learning means the computer learns.A program that automatically adapts its own data and processes.

Frequently asked questions

What is the difference between a sensor, a microprocessor and an actuator?
A sensor is an input device that measures its surroundings, such as the temperature or the light level, and sends the data to the microprocessor. The microprocessor processes the data. An actuator is an output device that converts a digital signal into physical movement.
How does a microprocessor decide when to send a signal to an actuator?
The microprocessor compares the data with a stored value. If the result is true, it sends a signal to the actuator. For example, a blind closes when the light level is above 800 lux, so the microprocessor compares each reading with the stored value of 800.
Which sensor detects a person nearby?
Name the type of sensor, not an example of it. A sensor that detects a person nearby is an infra-red sensor. A motion sensor is not precise enough, and a pH sensor measures acidity.
Does a sensor only send data when something changes?
No. The sensor continuously sends data to the microprocessor, which compares each reading with the stored value. Believing that the sensor only takes a sample when it notices something has changed or moved is a common misconception.
What is a benefit of an automated system with a sensor?
Give a benefit, not a feature. A feature such as it can measure the heat level is not a benefit. A benefit is that the system can instantly indicate when the level is too hot, and it must fit the scenario and the person the question asks about.
What is a common mistake when giving advantages and disadvantages of an automated system?
A common mistake is to give a generic reason that does not fit the person asked about. Working 24/7 is an advantage to the owner, not to an employee. Disadvantages that earned marks were high setup or maintenance costs, and robots could take employees' jobs.
What is robotics?
Robotics is a branch of computer science. It incorporates the design, construction and operation of robots. Robotics is the field of study, and a robot is one thing the field produces.
What are the characteristics of a robot?
A robot has a mechanical structure or framework, electrical components such as sensors, microprocessors and actuators, and it is programmable. Mark schemes also credit that it can move. Artificial intelligence is not on this list, and not all robots have it.
What is a microprocessor?
A microprocessor is an integrated circuit on a single chip that performs all the functions of a CPU. Some candidates defined an embedded system instead, which is not the same answer.
How does a robot stop when an object is near?
The sensor continually sends digitised data to the microprocessor. The microprocessor compares the data to a stored value, such as 10. If the value received is less than 10, it sends a signal to an actuator that stops the robot.
Which sensor can detect that an object is near a robot?
A proximity sensor or an infra-red sensor detects an object nearby. A light sensor or a magnetic field sensor is also credited. A motion sensor or movement sensor is not precise enough, and an acoustic sensor identifies a sound, such as a clap.
What is a common mistake when defining robotics?
A common mistake is to describe a robot, such as a robot that simulates human actions, instead of the field of robotics. Robotics is the design, construction and operation of robots. The field is more than a robot.
What is artificial intelligence?
Artificial intelligence (AI) is a branch of computer science. It deals with the simulation of intelligent behaviours by computers. AI is not the same as a robot, and not all robots have AI.
What are the characteristics of artificial intelligence?
The main characteristics of AI are the collection of data and the rules for using that data, and the ability to reason. AI can also include the ability to learn and adapt. A scenario that uses AI, or a type of AI such as an expert system, is not a characteristic.
What are the parts of an expert system?
An expert system has four parts: a knowledge base, a rule base, an inference engine and an interface. Naming the parts is not enough when a question asks how the system works. Each part must be described in the context given.
How does an expert system find a solution?
The inference engine uses the data input by the user about the problem. It searches for similar knowledge in the knowledge base and applies it to the rule base to find a solution. If it needs more data, it decides which question to ask next.
What is machine learning, and how is it applied?
Machine learning is when a program has the ability to automatically adapt its own processes and/or data. One way is to store successful and unsuccessful actions and then use them the next time. When a question asks how it is used, apply it to the context rather than only defining it.
What is a mistake students make when explaining how machine learning is used?
Students often only define machine learning, and they do not explain its use. Apply it to the context in the question. For example, a robot animal can record the location of objects and update its map when objects are moved, removed or added.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters