The four parts of an expert system
The four parts of an expert system: the knowledge base holds facts, the rule base holds rules, the inference engine reasons, and the interface talks to the user.
Understanding The four parts of an expert system in IGCSE Computer Science Paper 1
What it does: A rule base is made of rules written in an IF ... THEN form, which the inference engine uses to reach conclusions. The interface is the part that talks to the user. It asks questions, takes the inputs and shows the output, so a prompt like this belongs to the interface. The knowledge base is the store of facts about the topic, such as symptoms and diseases in a medical expert system. Students often confuse the interface with the inference engine. The interface communicates with the user, while the inference engine does the reasoning.
Common mistakes: The knowledge base holds facts. The rules are held in the rule base, so line 2 should say 'holds facts'. The inference engine does the reasoning by applying the rules to the facts. Facts are held in the knowledge base, so it should say 'reasons'.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 662–678) and word search (Modules 652–678).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
knowledge base, rule base, inference engine, interfaceFill in the Blanks
Spot the Error
Student with a class code? Join your class →