0417 · 6.8Expert systems
Cambridge IGCSE Information and Communication Technology (0417) · Topic 6, ICT applications · 9:22
Practise this topic
Real past-paper questions on expert systems, with their mark schemes. Free with an account.
57 more Information and Communication Technology videos like this one
With a CIE Buddy account: every video in syllabus order, past-paper practice on each topic, and an AI tutor for anything unclear.
In this video
- 0:00Components and decision process. Explains expert systems, their components, and how facts and rules produce supported conclusions.
- 2:40Worked example: car diagnosis. Follows a car fault investigation to show how answers, rules and probabilities identify a weak battery.
- 3:47Expert system applications. Explores expert system uses in prospecting, diagnosis, chess, finance, route planning and species identification.
- 6:32Advantages and limitations. Compares the benefits and limitations of expert systems and recaps how their components work together.
- 7:45Exam answers for expert systems. Shows how to answer define, describe and explain questions about expert systems in examinations.
Transcript: Expert systems
Components and decision process
0:00An expert system is a computer system that copies the knowledge and decision-making of a human expert in one area. A mechanic can use one to investigate a car that will not start. The software asks about symptoms, applies specialist knowledge and suggests possible faults. Its usefulness depends on connecting the evidence to a suitable conclusion. Data is facts or values that a computer can process. For this investigation, the mechanic supplies observations such as whether the engine turns when starting is attempted.
0:26An expert system combines these observations with stored specialist knowledge. Its purpose is to make expert advice available to someone who needs help with a particular decision. The main components are the user interface, knowledge base, rules base, inference engine and explanation system. Each contributes something different to the decision. Together, they provide a way to collect observations, interpret them and explain a recommendation. The knowledge base and rules base hold what the experts know, while the other three components work during each consultation.
0:57The user interface allows questions to be displayed and answers to be entered. Most questions need a yes or no answer. A mechanic might also choose a symptom from a list or enter a measurement. Clear questions help the user provide useful evidence. The interface also displays the possible solutions once the system has processed the answers. The knowledge base stores facts about the specialist area gathered from human experts.
1:19For car diagnosis, these include information about batteries, starter motors and symptoms of faults. Specialists contribute their experience when the system is developed. Accurate, current information gives the software a reliable foundation for its recommendations. The rules base stores the rules used to make decisions, usually in an if then form. A simplified rule might say that dim lights during a starting attempt suggest a weak battery. The condition describes evidence to look for.
1:45The conclusion states what that evidence suggests about the problem. The inference engine applies the rules to the facts to reach conclusions. It is the reasoning part of the system. This component searches the knowledge base and uses suitable rules to interpret the user’s answers. When several possible causes remain, it can request further information to narrow the investigation. The explanation system shows how a conclusion was reached and how likely it is.
2:09It can identify the answers and rules that supported a suggested fault. This helps the mechanic judge whether the recommendation fits the situation. Estimates of likelihood also communicate uncertainty when the evidence supports several possibilities. The user begins by entering the problem through the user interface. The inference engine searches the knowledge base using the rules. It selects relevant questions, then applies the rules to the additional facts supplied. The process produces possible solutions with estimated probabilities where the system supports these, and the explanation system shows the reasoning.
Worked example: car diagnosis
2:40Consider a simplified worked example with a car that will not start. The interface first asks whether the engine turns during a starting attempt. The mechanic enters no. This answer directs the investigation towards the electrical starting system because the engine has not begun turning. The next question asks whether the lights become very dim during that attempt. The mechanic answers yes, and the system records this additional fact. Its rules connect that combination of symptoms with a possible weak battery.
3:06The inference engine therefore selects a weak battery as a possible cause. The explanation identifies the two supporting observations and the rule that connected them. The screen also shows an estimated probability for the diagnosis as a percentage. A weak battery is therefore the likely cause, and other faults remain possible. A quick battery test lets the mechanic confirm the suggestion before replacing any part. Different answers produce a different path through the rules.
3:31With normal brightness and no engine movement, the system could suggest investigating the starter circuit. If the engine turns, questions about fuel and ignition become relevant instead. The questions change because each answer changes which explanations fit the evidence.
Expert system applications
3:47Expert systems have several applications: mineral prospecting, car engine fault diagnosis, medical diagnosis, chess games, financial planning, route scheduling for delivery vehicles, and plant and animal identification. Each application uses specialist facts and decision rules. The information entered changes with the task. The purpose remains to produce useful conclusions from that information. Mineral prospecting means investigating locations for valuable mineral deposits. Geological observations and sample results can be matched against knowledge about where particular minerals occur.
4:19Mining specialists gain a consistent way to identify promising sites before expensive investigation. Limited geological information can still produce an unsuitable recommendation, so physical exploration remains important. Car engine fault diagnosis connects observed symptoms and test results with possible engine problems. A mechanic benefits from access to specialist knowledge about many faults. The system can guide checks in a consistent sequence. Unusual faults outside its stored knowledge can delay the mechanic’s investigation or produce an unsuitable suggestion.
4:49Medical diagnosis involves identifying possible illnesses from symptoms, medical history and test results. An expert system can help a doctor consider conditions supported by the available evidence. Patients benefit when relevant specialist knowledge is readily available. Incomplete symptoms can produce misleading suggestions, so the doctor must assess the advice alongside clinical evidence. In chess games, specialist rules can help select moves from the current board position. Knowledge about threats and useful positions supports decisions during play.
5:19Players gain an opponent or practice tool that is available whenever the software can run. A system with limited chess knowledge may choose weak moves in unfamiliar positions. Financial planning uses information such as income, savings, commitments and financial goals to suggest suitable plans. Rules can connect a person’s circumstances with possible saving or investment choices. Customers gain access to consistent advice based on specialist knowledge. Outdated financial information can produce unsuitable recommendations, so advisers must keep the knowledge current.
5:49Route scheduling for delivery vehicles uses delivery addresses, deadlines, vehicle capacity and road information to suggest delivery plans. Rules help a transport planner choose routes that satisfy these requirements. A suitable schedule can reduce wasted journeys and help drivers meet deadlines. Missing road closures or incorrect delivery details can make the suggested plan impractical. Plant and animal identification matches observed characteristics to stored descriptions of species. Users might enter leaf shape, flower colour, body covering or habitat.
6:20This gives fieldworkers access to specialist identification knowledge away from an expert. Inaccurate observations or missing species descriptions can produce an incorrect match, so users should check important identifying features.
Advantages and limitations
6:32Across these applications, consistent decisions, availability at any time and access to several experts’ knowledge are important advantages. Consistency helps users receive repeatable advice when the facts and rules remain unchanged. Availability supports people who need assistance outside an expert’s working hours. Combining expertise gives users access to a wider range of specialist experience. The system also responds quickly, because it can check many possible solutions in seconds. The main limitations are a lack of human common sense, expensive development and dependence on the knowledge base.
7:05Human judgement remains important when a situation requires understanding beyond the stored facts and rules. Organisations must pay for specialist input, development and testing. Missing or outdated knowledge reduces the quality of advice available to users. Staff also need training to enter answers carefully and to judge the advice they receive. Keep the stored knowledge, decision rules and reasoning process separate in your explanations. The knowledge base provides the specialist facts, while the rules base supplies conditions and conclusions.
7:34The inference engine uses both during an investigation. Possible solutions express what the available evidence supports, and their reliability depends on accurate answers and suitable knowledge.
Exam answers for expert systems
7:45In Paper One Theory, a define question requires the precise meaning of a term. Here is a full-mark answer to define an expert system. An expert system is a computer system that copies the knowledge and decision-making of a human expert in one area. Answers that name a software brand gain no marks, so describe what the system does instead. For describe how the car diagnosis system produces solutions, follow the information through its components.
8:08The user interface asks questions, and the mechanic answers them, often with yes or no. The inference engine searches the knowledge base using rules from the rules base. It produces possible faults with estimated probabilities. The explanation system shows how each conclusion was reached. An explain question needs reasons or a clear connection between a feature and its effect. For medical diagnosis, the system can make specialist knowledge available whenever a doctor needs support.
8:34Its knowledge base may contain outdated information, so it can suggest an unsuitable diagnosis. Each point connects a feature to a consequence for the user. An expert system is a computer system that copies the knowledge and decision-making of a human expert in one area. Through the user interface, questions are displayed and answers are entered. The knowledge base stores facts about the specialist area gathered from human experts. Alongside it, the rules base stores the rules used to make decisions, usually in an if then form.
9:02At the centre, the inference engine applies the rules to the facts to reach conclusions. The explanation system shows how a conclusion was reached and how likely it is. Together, these components turn observations into possible solutions that users can assess. Reliable advice depends on accurate input, suitable rules and current specialist knowledge.