Knowledge base
The part of an expert system that stores facts and information about a subject, gathered from human experts. It can be updated with new facts. The rule base holds the rules.
Understanding Knowledge base in IGCSE Computer Science Paper 1
What it does: This shows the knowledge base as a collection of facts, and the facts come from human experts.
Common mistakes: The arguments are the wrong way round. APPEND takes the list first, then the item to add, so the fact is stored in the knowledge base with APPEND(knowledgeBase, fact). A new fact must be added to the knowledge base (KB), not the rule base (RB). The rule base holds rules, not facts. The line should be APPEND(KB, newFact).
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 baseFill in the Blanks
Spot the Error
Student with a class code? Join your class →