Learn in your language
Skip to content
IGCSE · Cambridge (CIE) · 0984

Trace an expert system

Follow a knowledge base and rule base through an inference engine to a user-facing conclusion.

Cambridge IGCSE Computer Science 0984 · Automated and emerging technologies · 2026–2028 Version 4 · 0984 (9–1) · 6.3
Exam scope and assessment notes

This sequence follows Cambridge IGCSE Computer Science 0984, 2026–2028 syllabus Version 4. It covers subject content sections 6.1–6.3 only. The separately published 2029–2031 syllabus is not mapped here. Practice is original, self-checked and does not award an official Cambridge grade. Full timed papers and human subject-teacher review remain outstanding. Cambridge states that 0984 has the same 2026–2028 subject content as 0478, with 9–1 grading. In June and November, Cambridge lists 0984 in Administrative zone 3 and for centres in Oman and the UAE. Confirm availability for your centre and exam series with Cambridge International. The separately published 2029–2031 syllabus changes to Python 3 only and removes pseudocode; this 2026–2028 route does not cover those changes.

Before you begin

  • No programming language is required. Be comfortable with place value and multiplication; each lesson introduces the computer-science notation it uses.

Work on paper. Try each question before revealing help, and explain why your method works.

Quick readiness check

Where are the facts in an expert system stored?

What you will learn

  • Identify the four expert-system components
  • Explain how facts and rules produce an inference
  • Describe how the interface communicates the result

An expert system applies stored expertise

An expert system contains a knowledge base of facts, a rule base of conditional instructions, an inference engine that applies rules, and an interface for the user. Together these components simulate specialist decision-making within a defined area.

Apply and check the rule

The user supplies information through the interface. The inference engine compares it with the knowledge base and rule base, then returns a conclusion or advice through the interface. The conclusion depends on the quality and coverage of stored knowledge; it is not a guarantee that a human expert has checked the case.

Pause and explain

Which component presents a result to a user?

Put the idea to work

Worked example

A simple plant expert system receives “leaves are yellow” and “soil is wet.” A rule says yellow leaves plus wet soil may indicate overwatering. Trace the system.

Show the worked solution
  1. The interface receives the observations.
  2. The inference engine checks the facts and applies the rule.
  3. The system displays a possible overwatering conclusion.

Answer The interface accepts the observations; the inference engine matches them to the knowledge and rule bases; the interface presents a possible overwatering result.

Try a topic test

Choose Easy, Normal or Difficult. Save your answers and open worked review after finishing.

Test this topic →

From guided practice to a new situation

Write your answer and reasoning first. Use a hint only if you are stuck. The model solution is for self-checking; your written work is not automatically marked.

1 · Guided

Match knowledge base, rule base, inference engine and interface to their roles.

Give me a hint

Separate stored facts, conditions, processing and communication.

Compare my reasoning
  1. Knowledge base: facts.
  2. Rule base: conditional rules.
  3. Inference engine applies rules; interface accepts information and presents the result.

Knowledge base stores facts; rule base stores conditions; inference engine applies them; interface communicates with the user.

Look for these in your work

  • Facts
  • Rules
  • Processing and communication
2 · Independent

An expert system has a rule “if temperature is high and pressure is low, show alert.” Explain how the inference engine uses two sensor facts.

Give me a hint

It must match both conditions before triggering the rule.

Compare my reasoning
  1. The knowledge base contains the current readings.
  2. The inference engine checks both conditions against the rule base.
  3. If both match, it returns the alert through the interface.

It compares the readings with the rule; if both conditions match, the system presents the alert.

Look for these in your work

  • Facts read
  • Rule checked
  • Output
3 · Transfer

An expert system recommends a treatment based on an incomplete knowledge base. Explain why its answer should be reviewed and identify the components involved.

Give me a hint

The inference process cannot exceed stored knowledge.

Compare my reasoning
  1. The knowledge base may omit relevant facts.
  2. The inference engine can only apply rules that are present.
  3. A professional should review the result and add relevant information through the interface.

The system may miss an important condition because its knowledge or rules are incomplete. The inference engine cannot infer beyond them, so a qualified person should review the advice.

Look for these in your work

  • Knowledge limitation
  • Inference limitation
  • Human review

Common mistakes

  • Calling the inference engine the database
  • Treating an expert system's output as a guaranteed diagnosis
Recall without your notes

What can you explain now?

Which component applies rules to facts?

Compare with the explanation

Inference engine

It uses the knowledge base and rule base to derive a response.

After trying it yourself, choose your next review. This is your self-assessment.

Your review choice appears on Today. Sign in to sync it across devices.

Make it stick

Name the four components of an expert system and the role of each.

If you needed the solution, close it and solve the problem again from a blank page. A correct answer is stronger when you can explain the reason for each step.

Keep learning Computer Science (9-1)

Course scope and assessment

165 original lessons map the listed objectives across all 10 main topics in the 2026–2028 Version 4 syllabus. Cambridge states that 0984 has the same subject content as 0478, with 9–1 grading. Three retained introductory lessons remain available but are not counted as syllabus-mapped teaching. The 2023–2025 syllabus remains unmapped. The separately published 2029–2031 syllabus changes to Python 3 only and removes pseudocode; this 2026–2028 route does not cover those changes. In June and November, Cambridge lists 0984 in Administrative zone 3 and for centres in Oman and the UAE. Confirm availability for your centre and exam series with Cambridge International. Practical programming in an executable browser workspace, full timed-paper practice and human subject-teacher review remain outstanding. Practice is self-checked and does not award an official Cambridge grade.

StudyForA · Learn with understanding

Original teaching content and links to official sources. Check your exam year and qualification before using a resource.