IGCSE Computer Science · Area 1 · Computer systems

Automated and emerging technologies

This topic covers systems that run themselves: how a sensor, a microprocessor and an actuator work together in an automated system, and what such a system gains and costs in a given scenario. It then covers robotics, what makes a machine a robot, and the roles robots perform, followed by artificial intelligence, its main characteristics, and the two AI systems the syllabus names: expert systems and machine learning.

Not started

Syllabus coverage

  • Describe how sensors, microprocessors and actuators can be used in collaboration to create automated systems
  • Describe the advantages and disadvantages of an automated system used for a given scenario, including scenarios from industry, transport, agriculture, weather, gaming, lighting and science
  • Understand what is meant by robotics: a branch of computer science that incorporates the design, construction and operation of robots, with examples including factory equipment, domestic robots and drones
  • Describe the characteristics of a robot, including a mechanical structure or framework, electrical components such as sensors, microprocessors and actuators, and being programmable
  • Understand the roles that robots can perform, in areas including industry, transport, agriculture, medicine, domestic settings and entertainment, and describe the advantages and disadvantages of their use
  • Understand what is meant by artificial intelligence (AI): a branch of computer science dealing with the simulation of intelligent behaviours by computers
  • Describe the main characteristics of AI as the collection of data and the rules for using that data, the ability to reason, and the ability to learn and adapt
  • Explain the basic operation and components of AI systems that simulate intelligent behaviour, limited to expert systems and machine learning

Part of the IGCSE Computer Science syllabus 0478.

Automated systemsA sensor gives a reading, the processor compares it with the value it wants, and an actuator acts on the difference.The loop repeats, which is what makes the system automatic rather than a one-off measurement.Sensormeasures a physical quantityProcessorcompares it with the value it wantsActuatorchanges something in the real worldand thereading istaken againfeedback: the result is measured, and the system corrects itselfAutomated systems do a job without a person in the loop. Monitoring systems just report; control systems act.
An automated system shown as a control loop: a sensor measures a physical quantity and sends the reading to a microprocessor, which compares it with a value stored in its program and decides what to do, then signals an actuator that produces a physical action such as switching a heater on or opening a valve. The changed environment is measured again by the sensor, so the loop repeats. Alongside the loop, the four components of an expert system are shown: knowledge base, rule base, inference engine and interface.

Automated systems: sensors, microprocessors and actuators

An automated system is one that carries out a job without a person operating it. Three parts work together to make that possible: sensors, a microprocessor and actuators.

A sensor is an input device that measures a physical quantity in its surroundings, such as temperature, light, moisture, pressure or movement, and converts that measurement into data the microprocessor can use. A microprocessor is a processor built on a single integrated circuit chip, and it is the part that runs the program controlling the system: it takes the readings coming in from the sensors, compares them with the values stored in the program, and decides what should happen next. An actuator is an output device that converts a signal from the microprocessor into a physical action, such as a motor turning, a valve opening or closing, a heater switching on or a light coming on.

The three parts form a loop. The sensor measures the environment and sends the reading to the microprocessor. The microprocessor compares that reading with the value stored in its program and decides whether anything needs to change. If it does, the microprocessor sends a signal to an actuator, which makes the change. The environment is now different, so the sensor measures again and the loop repeats. That repeating cycle is what makes the system automatic, and it also means the system corrects itself: if the reading drifts away from what is wanted, the next pass through the loop pulls it back.

PartWhat it isIts job in the system
SensorAn input device that measures a physical quantity in the surroundingsCollects data about the environment, such as temperature, light, moisture, pressure or movement, and sends it to the microprocessor
MicroprocessorA processor on a single integrated circuit chip, running the control programTakes the readings from the sensors, compares them with the values stored in the program and decides what to do next
ActuatorAn output device that produces a physical actionCarries out the decision, for example switching a heater on, opening a valve, turning a motor or lighting a lamp
Sensor in, microprocessor decides, actuator out. Say all three and say how they are connected, or you have only described two thirds of the system.

A control loop in action

Take a greenhouse that keeps itself at the right temperature. A temperature sensor measures the air inside the greenhouse and sends a reading to the microprocessor many times a second. The program holds a value, say 22 degrees Celsius, and a rule about what to do either side of it.

If the reading is below the stored value, the microprocessor sends a signal to the heater, which switches on and warms the air. If the reading is above the stored value, the microprocessor switches the heater off and opens a vent or starts a fan, so that the air cools. Because the sensor keeps sending readings, the temperature is never simply set and forgotten: each pass through the loop measures the effect of the last action and corrects it if necessary.

The same pattern appears wherever an automated system is used. In street lighting, a light sensor sends readings to a microprocessor, which compares them with a stored value and switches the lamps on when the light level falls below it. In a factory, a pressure or proximity sensor reports on a production line and the microprocessor stops the machine through an actuator if the reading is outside the safe range. In a weather station, sensors for temperature, pressure and wind speed send readings to a microprocessor that records them automatically and raises an alert when a value crosses a threshold.

The microprocessor does not have to be doing anything clever. It is following a program of rules written by a person: if the reading is above this value, do that; if it is below, do this. What makes the system useful is that it can do it continuously, far more often than a person could watch a dial, and without ever getting bored or distracted.

  • The sensor measures the environment and sends the reading to the microprocessor.
  • The microprocessor compares the reading with the value stored in its program.
  • If the reading is outside the stored value, the microprocessor signals an actuator to act.
  • The actuator changes the environment, and the sensor measures it again, so the loop repeats and the system corrects itself.
The comparison is the heart of the system. The microprocessor is not just passing readings on; it is deciding, by comparing the reading with the value stored in the program.

Advantages and disadvantages of automated systems

The advantages all come from the same source: a machine can do the same job continuously, in the same way, without getting tired. An automated system can run all day and all night without a break or a wage, it produces the same result every time because it never has an off day, it can work in conditions that would be dangerous or impossible for a person such as extreme heat, toxic gas, deep water or outer space, and it can measure and react faster and more precisely than a person can.

The disadvantages come from the same source too. Designing, building and installing an automated system is expensive, and it needs a power supply and usually a network connection. It must be maintained, and repairing it needs staff with technical skills that a manual process did not need. If the system fails, the whole process can stop at once, and there may be nobody on site able to take over by hand. It can reduce the number of workers needed for that job. And it will only ever do what it has been programmed to do, so anything outside its rules, such as an unusual item on a production line or a sensor that has failed, is handled badly unless somebody has planned for it.

For a scenario question, the marks are in the detail of the situation rather than in automation in general. A robot arm that welds car bodies never gets tired and never varies, which matters when thousands of identical welds are needed, but it cannot deal with a body shell that has arrived at the wrong angle, so a person still has to be there for the unexpected. That is the shape of every good answer: one advantage and one disadvantage, each tied to what the question actually describes.

ScenarioWhat an automated system might doOne advantage and one disadvantage of automating it
IndustryA robot arm welds, paints or assembles parts on a production line, with sensors checking that each part is in positionAdvantage: identical work at a consistent quality, all day. Disadvantage: it cannot cope with an unusual item, so the line may have to stop and wait for a person
TransportA train or a warehouse vehicle follows a route automatically, using sensors to detect obstacles and its own positionAdvantage: it runs to a precise timetable and never gets tired or distracted. Disadvantage: it cannot judge an unexpected situation, such as debris on the track, as well as a human driver
AgricultureSensors measure soil moisture and the system waters only when needed; machines sow, weed or harvest automaticallyAdvantage: water and fertiliser are used only when the crop needs them. Disadvantage: the equipment is expensive and needs maintenance that a small farm may struggle to provide
WeatherA weather station measures temperature, pressure, wind speed and rainfall continuously and reports the readings automaticallyAdvantage: readings are taken day and night in places where people cannot stay. Disadvantage: a failed or badly calibrated sensor sends wrong data, and there is no one there to notice
GamingA game uses sensors in a controller or camera to detect the player's movement and reacts to itAdvantage: the game responds to the player's real movement, which makes it more immersive. Disadvantage: the sensors can misread fast or unusual movement, so the game reacts wrongly
LightingA light sensor switches street lamps on when the light level falls below a stored value and off when it risesAdvantage: lamps are on only when they are needed, which saves energy, and nobody has to switch them by hand. Disadvantage: a fault or dirt on the sensor can leave a whole street in darkness
ScienceAutomated instruments take readings in a laboratory, under the sea or in space, and log the data for later analysisAdvantage: measurements can be taken continuously in places where a person could not work. Disadvantage: the instrument can only collect what it was programmed to collect, so an unexpected event may be missed
Answer the scenario you were given. An advantage of automation in general, with no link to the situation in the question, usually earns nothing.

Robotics and the characteristics of a robot

Robotics is a branch of computer science that incorporates the design, construction and operation of robots. Examples include factory equipment such as robot arms on a production line, domestic robots such as a machine that cleans floors on its own, and drones that fly and carry cameras or sensors.

A robot has three characteristics you should be able to describe. It has a mechanical structure or framework: a body, made of parts that can move, which lets it carry out physical actions in the world rather than just processing data. It contains electrical components, including sensors, microprocessors and actuators: the sensors tell it about its surroundings and its own position, the microprocessor runs its program and decides what to do, and the actuators move the parts. And it is programmable: it follows a set of instructions that can be written and changed, so the same robot can be given a new job by changing its program rather than by rebuilding it.

The mechanical structure is what separates a robot from an automated system such as a central heating controller. Both use sensors, a microprocessor and actuators, and both follow a stored program, but only the robot has a body that moves and acts physically. The programmability is what separates a robot from an ordinary machine: a washing machine has a motor and a drum, but the sequence it follows cannot be rewritten to make it do a different job, whereas a robot arm can be reprogrammed for a new model.

CharacteristicWhat it means
A mechanical structure or frameworkA physical body of parts that can move, so the robot can carry out actions in the world
Electrical componentsSensors, microprocessors and actuators: the sensors gather information, the microprocessor runs the program and decides, and the actuators produce movement
ProgrammableIt follows a set of instructions that can be written and changed, so the same robot can be given a different job by changing the program
Three characteristics to name: a mechanical structure or framework, electrical components such as sensors, microprocessors and actuators, and it must be programmable.

The roles robots perform, and their advantages and disadvantages

Robots are used across a wide range of areas. In industry they weld, paint, assemble and move parts on production lines, and they work in places people cannot safely go. In transport they move goods around warehouses, and they are used in vehicles and trains that drive or run themselves. In agriculture they sow, weed, spray and harvest, and they can work a field precisely using sensors to tell a crop from a weed. In medicine they assist in surgery, where a robotic arm can hold an instrument steady and move it more precisely than a hand. In domestic settings they vacuum floors, cut grass and help with household tasks. In entertainment they appear in films and theme parks, and drones are used to film from the air.

The advantages are that a robot works without getting tired, keeps going for as long as it has power, and produces the same result every time, so quality is consistent. It can work in conditions that would harm a person, such as extreme heat, toxic fumes or a vacuum, it can be more precise than a person, and it reduces the cost of labour for the work it takes over. In surgery, a steadier instrument and a smaller movement mean smaller cuts and a quicker recovery.

The disadvantages are the mirror image. Robots are expensive to design, build and buy, and they need skilled people to program and maintain them, which is a new cost rather than no cost. They take over work that people used to do, so jobs are lost in that area. They cannot deal with a situation outside their program, so an unusual object or an unexpected event can stop the process or cause an accident, and a robot that malfunctions while working near people is a safety risk. Finally, they need a power supply, and a robot doing a job badly can do it badly very quickly, because there is no person in the loop noticing the mistake.

AreaWhat robots do thereAdvantageDisadvantage
IndustryWeld, paint, assemble and move parts on production linesConsistent quality and continuous work without breaksCannot deal with an unusual item, so a person is still needed for the unexpected
TransportMove goods in warehouses; drive or operate vehicles and trainsWorks to a precise route and timetable without getting tiredCannot judge an unexpected hazard as well as a human, and a failure can be dangerous
AgricultureSow, weed, spray and harvest using sensors to identify cropsWorks precisely over large areas and uses less spray and fertiliserExpensive equipment needing skilled maintenance
MedicineAssist in surgery by holding and moving instruments with great precisionSteadier and more precise movement, giving smaller cuts and quicker recoveryVery high cost, and the surgeon must be trained to use it
Domestic settingsVacuum floors, cut grass and carry out household tasksSaves time on routine jobs and works without supervisionCosts more than doing the job by hand, and cannot handle an unusual mess or obstacle
EntertainmentAppear in films and theme parks; drones film from the airCan perform actions and reach viewpoints that people cannotProgramming and running them is expensive, and a fault is very visible to the audience
Tie every point to the area in the question. Never getting tired matters in a factory running three shifts; being able to work in a vacuum matters for a robot in space.

Artificial intelligence: what it means

Artificial intelligence (AI) is a branch of computer science dealing with the simulation of intelligent behaviours by computers. The word to hold on to is simulation: the computer is not thinking or understanding in the way a person does. It is processing data using rules in a way that produces behaviour which looks intelligent to the person watching it.

AI has three main characteristics. First, it is a collection of data and the rules for using that data: the facts and the rules are what the system works from, and without them it has nothing to act on. Second, it has the ability to reason: it can draw conclusions from the data and the rules, working out an answer or a decision rather than simply looking one up. Third, it can include the ability to learn and adapt: some AI systems change their own processes or their own data as they receive more information, so their behaviour improves with use rather than staying fixed at whatever the programmer first wrote.

Those characteristics are what make AI useful for tasks that are hard to write as a fixed list of instructions: recognising a face in a photograph, translating between languages, filtering out unwanted messages, or suggesting what to watch next. The system is not told every single answer in advance; it works from data and rules, and in the learning case it adjusts itself as more data arrives.

  • AI is a branch of computer science dealing with the simulation of intelligent behaviours by computers.
  • It is a collection of data and the rules for using that data.
  • It has the ability to reason: to draw conclusions from the data and rules.
  • It can include the ability to learn and adapt, changing its own processes or data as it receives more information.
Use the word simulation. AI mimics intelligent behaviour; it does not understand or think in the way a person does.

Expert systems and machine learning

The syllabus names two AI systems that simulate intelligent behaviour, and you need their components as well as their operation.

An expert system is an AI system that reproduces the decision-making of a human expert in a particular subject. It is built from four parts. The knowledge base holds the facts and the data about that subject, written in by the human expert. The rule base holds the rules for using that knowledge, written as conditions: if this is true, then that follows. The inference engine is the part that applies the rules to the facts it has been given, working through them to reach a conclusion. The interface is the part that lets the user ask questions, answer the questions the system asks back, and see the conclusion and the reasoning behind it.

Using one is a conversation. The user describes the problem through the interface. The inference engine applies the rule base to the knowledge base and to the information the user has given, and it may ask for more information where a rule needs it. It then produces a conclusion or a recommendation, with the reasoning that led to it. Expert systems are used where expert knowledge is scarce or expensive: supporting a diagnosis, finding the fault in a piece of equipment, or advising on which product suits a customer's needs.

Machine learning is different in where the rules come from. Machine learning is when a program has the ability to automatically adapt its own processes and/or data, so instead of being given every rule by a person it is given data and finds the patterns in it for itself. As more data is fed to it, it adjusts and improves, which is why a system that filters unwanted messages or recognises faces gets better with use.

The distinction is worth stating plainly in an exam answer. In an expert system, a human expert supplies the knowledge and writes the rules, and the system applies them to the facts of each case. In machine learning, the data is supplied and the program works out the patterns and adapts its own processes or data, so the rules are not all written by a person.

Expert systemMachine learning
Where the knowledge comes fromA human expert supplies the facts and writes the rulesLarge amounts of data are supplied, and the program finds the patterns in it
Main componentsKnowledge base, rule base, inference engine and interfaceA program that can adapt its own processes and/or data as it is given more data
How it produces an answerThe inference engine applies the rule base to the knowledge base and to the information given by the userThe program applies the patterns it has learned from the data, and improves as it receives more data
What changes over timeLittle: the rules change only when a person changes themThe program adapts its own processes or data as it learns, so its behaviour changes with use
Typical useSupporting a diagnosis, diagnosing a fault in equipment, advising on a suitable productRecognising faces or speech, filtering unwanted messages, suggesting what to watch next
Expert system: a human expert writes the rules. Machine learning: the program works the patterns out from data and adapts itself. That single difference answers most questions on the pair.

Key terms you must be able to define

Automated system
A system that carries out a job without a person operating it, using sensors, a microprocessor and actuators working together.
Sensor
An input device that measures a physical quantity in its surroundings, such as temperature, light, moisture, pressure or movement, and converts it into data a microprocessor can use.
Microprocessor
A processor built on a single integrated circuit chip. In an automated system it runs the control program, compares the readings from the sensors with the values stored in the program and decides what should happen.
Actuator
An output device that converts a signal from a microprocessor into a physical action, such as a motor turning, a valve opening or a heater switching on.
Feedback
The repeating cycle of an automated system: the actuator changes the environment, the sensor measures the change and the microprocessor compares the new reading with the stored value again.
Robotics
A branch of computer science that incorporates the design, construction and operation of robots. Examples include factory equipment, domestic robots and drones.
Robot
A machine with a mechanical structure or framework and electrical components such as sensors, microprocessors and actuators, which is programmable so that it can be given instructions to carry out physical tasks.
Programmable
Able to follow a set of instructions that can be written and changed, so that the same machine can be given a different job by changing its program rather than being rebuilt.
Artificial intelligence (AI)
A branch of computer science dealing with the simulation of intelligent behaviours by computers.
Simulation
Imitating a behaviour without being it: an AI system produces behaviour that looks intelligent by processing data using rules, rather than understanding it as a person would.
Reasoning
The ability to draw conclusions from data and rules, working out an answer or a decision rather than looking one up.
Expert system
An AI system that reproduces the decision-making of a human expert, built from a knowledge base, a rule base, an inference engine and an interface.
Knowledge base
The part of an expert system that holds the facts and data about the subject, supplied by the human expert.
Rule base
The part of an expert system that holds the rules for using the knowledge, written as conditions such as if this is true then that follows.
Inference engine
The part of an expert system that applies the rules to the facts to reach a conclusion, asking the user for more information where a rule needs it.
Interface
The part of an expert system through which the user asks questions, answers the questions the system asks, and sees the conclusion and the reasoning behind it.
Machine learning
AI in which a program has the ability to automatically adapt its own processes and/or data, finding patterns in the data it is given and improving as more data is supplied, rather than being given every rule by a person.

Applied to real systems

Cambridge sets 0478 in systems you already use - a phone, a school network, a supermarket till, a website, a bank. Use these as models for how to apply the theory to a context you have not seen before, then write your own.

On a farm

A moisture sensor in the soil sends readings to a microprocessor, which compares them with the stored value for that crop. If the soil is drier than the stored value, the microprocessor signals a valve to open and water the field; if it is wetter, the valve stays shut. The same field may be worked by a machine that uses sensors to tell a crop from a weed, which is an advantage over spraying the whole field, though the equipment is expensive and needs maintaining.

In a car factory

Robot arms weld and paint car bodies on the production line. Each one has a mechanical structure that moves, sensors that report the position of the part, a microprocessor running the program, and actuators that move the arm. The advantage is the same weld, at the same quality, thousands of times a day. The disadvantage is that a body shell that arrives at the wrong angle is not something the robot can reason about, so the line stops and a person has to sort it out.

In a hospital

Two very different technologies meet here. A surgical robot is a robot with a mechanical structure and actuators, controlled by a surgeon, that holds an instrument steady and moves it with great precision, so the cuts can be smaller. An expert system is used to support a diagnosis: its knowledge base holds the medical knowledge, its rule base holds the rules written by clinicians, and its inference engine applies them to the symptoms the patient reports to reach a conclusion, which the doctor then judges.

On the road at night

Street lighting is automated by a light sensor. The microprocessor compares the reading with a stored value and switches the lamps on through an actuator when the light falls below it, so no one has to drive round switching them by hand and the lamps burn only when they are needed. The weakness is that a faulty or dirty sensor can leave a street dark, and there is nobody in the loop to notice.

In a video game

A game reads sensors in the controller or a camera to detect the player's movement and reacts to it, which is what makes the game feel responsive. Behind the scenes, a learning system may also be adjusting the difficulty: it has been given data about how players behave, and it adapts its own processes as it learns how well this particular player is doing, which is machine learning rather than a set of rules written out by hand.

At a weather station

Sensors for temperature, pressure, wind speed and rainfall take readings continuously and send them to a microprocessor, which logs them automatically and raises an alert when a value passes a threshold. Nobody has to be present, which is the point: the station can sit on a mountain or a buoy at sea. The limit is that it collects only what it was programmed to collect, and a sensor that drifts out of calibration produces wrong data with no one on site to spot it.

Flashcards

Click a card to flip it. Mark honestly — the tracker uses this.

Q1Name the three parts that work together in an automated system.
Sensors, a microprocessor and actuators.
Q2What does a sensor do?
It measures a physical quantity in its surroundings, such as temperature, light, moisture, pressure or movement, and converts it into data a microprocessor can use.
Q3What does an actuator do?
It converts a signal from the microprocessor into a physical action, such as a motor turning, a valve opening or a heater switching on.
Q4What is the microprocessor doing in an automated system?
It runs the control program: it takes the readings from the sensors, compares them with the values stored in the program and decides what should happen next.
Q5Describe the control loop of an automated system.
The sensor measures and sends a reading, the microprocessor compares it with the stored value and decides, the actuator acts, the environment changes, and the sensor measures again.
Q6Give two advantages of using an automated system in a factory.
It works continuously without breaks and produces consistent quality every time; it can also work in conditions that would be dangerous for a person, and it can measure and react faster and more precisely.
Q7Give two disadvantages of using an automated system.
Any two of: expensive to design, build and install; needs maintenance and skilled staff; a failure can stop the whole process; it may reduce the number of workers needed; it cannot deal with anything outside its programmed rules; a faulty sensor may go unnoticed.
Q8What is robotics?
A branch of computer science that incorporates the design, construction and operation of robots. Examples include factory equipment, domestic robots and drones.
Q9What are the three characteristics of a robot?
A mechanical structure or framework; electrical components such as sensors, microprocessors and actuators; and it is programmable.
Q10Name four areas in which robots are used.
Any four of: industry, transport, agriculture, medicine, domestic settings, entertainment.
Q11What is artificial intelligence?
A branch of computer science dealing with the simulation of intelligent behaviours by computers.
Q12What are the main characteristics of AI?
It is a collection of data and the rules for using that data, it has the ability to reason, and it can include the ability to learn and adapt.
Q13Name the four components of an expert system.
Knowledge base, rule base, inference engine and interface.
Q14What does the inference engine do?
It applies the rules in the rule base to the facts in the knowledge base and to the information the user gives, in order to reach a conclusion.
Q15What is machine learning?
AI in which a program has the ability to automatically adapt its own processes and/or data, finding patterns in the data it is given and improving as more data is supplied.
Q16How does an expert system differ from machine learning?
In an expert system a human expert supplies the knowledge and writes the rules, and the system applies them. In machine learning the data is supplied and the program works out the patterns and adapts its own processes or data.
0 of 16 marked as known

Exam-style questions

8 questions, 27 marks. Write your answer, then reveal the mark scheme and tick each point you actually made. Answering honestly here is what makes the rest of the site useful.

DescribeAO13 marks
Describe how a sensor, a microprocessor and an actuator are used together in an automated system.

Mark scheme — tick each point you actually made

Examiner tip: Write the three parts in the order in which they act, and include the comparison. A description that mentions the sensor and the actuator but never says that the microprocessor compares the reading with a stored value will not earn the middle mark.
DescribeAO24 marks
A street lighting system switches the lamps on when the light level falls below a stored value. Describe how this automated system works, and give one advantage and one disadvantage of automating the lighting in this way.

Mark scheme — tick each point you actually made

Examiner tip: Both halves are needed: how the system works, then one advantage and one disadvantage that belong to street lighting rather than to automation in general.
DescribeAO13 marks
Describe the characteristics of a robot.

Mark scheme — tick each point you actually made

Examiner tip: Three characteristics, three marks. Do not spend the answer on examples of robots; the question asks what makes a machine a robot.
ExplainAO22 marks
A factory uses robot arms to weld car bodies. Explain one advantage and one disadvantage of using robots for this job.

Mark scheme — tick each point you actually made

Examiner tip: Link each point to welding car bodies. 'Robots are faster' on its own is too general; 'the same weld, at the same quality, thousands of times' answers the question.
StateAO11 mark
State what is meant by artificial intelligence (AI).

Mark scheme — tick each point you actually made

Examiner tip: Use the word simulation in the definition. It is the difference between describing what AI does and claiming that the computer thinks. The two AI systems named in the syllabus, expert systems and machine learning, are examined in the question below.
DescribeAO14 marks
Describe the main characteristics of artificial intelligence.

Mark scheme — tick each point you actually made

Examiner tip: Give the characteristics in the syllabus's own terms: data and the rules for using it, reasoning, and the ability to learn and adapt. Adding that this is a simulation of intelligence shows you understand what AI is not.
ExplainAO25 marks
Explain the basic operation and components of an expert system, and explain how machine learning is different.

Mark scheme — tick each point you actually made

Examiner tip: Name all four components and say what each one does before you compare. For the comparison, the key point is who supplies the rules: a human expert in an expert system, the data and the program itself in machine learning.
EvaluateAO25 marks
A hospital is considering using automated systems to monitor patients and alert staff when a reading goes outside a safe range. Evaluate the advantages and disadvantages of doing this.

Mark scheme — tick each point you actually made

Examiner tip: An evaluate question needs both sides and a conclusion. Give at least two advantages, at least two disadvantages, and finish with a judgement that says under what conditions the system is worth using.

Exam technique for this topic

  • For an automated system question, describe the loop in order: the sensor takes a reading, the microprocessor compares it with the stored value, the microprocessor signals an actuator, and the actuator makes the change. All three parts must appear, and the comparison is what shows you understand the system.
  • Scenario questions ask about the scenario, not about automation in general. Name an advantage and a disadvantage that would only make sense in that setting, such as working in a vacuum for a robot in space or never getting tired for a factory on three shifts.
  • For the characteristics of a robot, give all three: a mechanical structure or framework, electrical components such as sensors, microprocessors and actuators, and that it is programmable. These are three separate marks.
  • For AI, use the word simulation and give the three characteristics: a collection of data and the rules for using it, the ability to reason, and the ability to learn and adapt.
  • For expert systems, name all four components and say what each one does: knowledge base, rule base, inference engine and interface. Then separate expert systems from machine learning by who supplies the rules, because that is the comparison the examiners are looking for.

Why students lose marks here

A student wroteA student wrote: 'An automated system uses a sensor to do the job and a microprocessor to store the data.'
Why it loses marksThis leaves out the actuator, which is the part that actually changes something, and it describes the microprocessor as storage rather than as the part that decides. A system with a sensor and a microprocessor but no actuator can measure and record, but it cannot act on what it finds.
The answer that scoresThe sensor measures a physical quantity and sends the reading to the microprocessor. The microprocessor compares the reading with the value stored in its program and decides what to do. If something needs to change, it signals an actuator, which carries out the physical action such as switching on a heater or opening a valve. The sensor then measures the change and the loop repeats.
A student wroteA student wrote: 'A robot is any machine that works automatically, such as a washing machine.'
Why it loses marksA washing machine has a motor and follows a fixed sequence, but it has no mechanical structure that carries out tasks in the world, and its sequence cannot be rewritten to give it a different job. The characteristics the syllabus asks for are a mechanical structure or framework, electrical components such as sensors, microprocessors and actuators, and being programmable.
The answer that scoresA robot has a mechanical structure or framework, so it can act physically in the world; it contains electrical components including sensors, microprocessors and actuators, which gather information, decide and move; and it is programmable, so its instructions can be written and changed. A washing machine is an automated machine, but it is not programmable in that sense and its body does not carry out varied physical tasks.
A student wroteA student wrote: 'AI means the computer is intelligent and can think for itself, so it knows when it is making a mistake.'
Why it loses marksThe syllabus definition is about the simulation of intelligent behaviour. The system produces behaviour that looks intelligent by processing data with rules, but it does not understand the subject or know when it is wrong unless the data and rules lead it to a different conclusion.
The answer that scoresArtificial intelligence is a branch of computer science dealing with the simulation of intelligent behaviours by computers. Its main characteristics are a collection of data and the rules for using that data, the ability to reason, and the ability to learn and adapt. The behaviour may look intelligent, but the computer is processing data according to rules rather than thinking in the way a person does.
A student wroteA student wrote: 'An expert system learns from experience and gets better the more it is used, just like machine learning.'
Why it loses marksThis mixes the two systems up. An expert system applies rules that a human expert has written, and those rules change only when a person changes them. It is machine learning that adapts its own processes or data as it is given more data.
The answer that scoresAn expert system reproduces the decision-making of a human expert using a knowledge base of facts, a rule base of rules written by that expert, an inference engine that applies the rules to the facts, and an interface for the user. It does not learn by itself. Machine learning is when a program has the ability to automatically adapt its own processes and/or data, finding patterns in the data it is given and improving as more data arrives.
A student wroteA student wrote: 'Automated systems are always better because they do not make mistakes.'
Why it loses marksAutomation has real disadvantages and this answer names none of them. A system does exactly what it was programmed to do, so an unexpected situation, a failed sensor or a programming error produces the wrong result at machine speed, and it may do so before anyone notices.
The answer that scoresAutomated systems are consistent, work continuously and can operate in conditions that would harm a person, but they are expensive to design and install, they need skilled maintenance, they can reduce the number of workers needed, and they cannot deal with anything outside their programmed rules. A failed sensor may go unnoticed, and if the system stops there may be nobody on site able to take over by hand.