Skip to content

Labs · 9618 18.1 · expert systems

Build an Expert System: the Plant Doctor

Write the IF … THEN rules an expert uses to find out what is wrong with a plant. Watch the inference engine try them one by one, and see why the order of the rules matters.

3 levelsFree bench

In the exam

9618/13 October/November 2022 · Question 8(b) · 2 marks

A program for a vehicle repair garage includes an Artificial Intelligence (AI) module that can diagnose faults and suggest repairs. Describe one economic impact the AI module may have on the garage.

Points that gain marks

  • Lower costs for the garage, because finding the fault takes less time.
  • Higher profits, because the mechanics spend more time repairing and finish more jobs a day.
  • Lower prices for customers, so the garage may get more customers.

In this lab: A fault-finding module is an expert system like your plant doctor: an expert's knowledge as IF … THEN rules, and an inference engine that asks questions and finds the answer quickly.

IGCSE 0478/13 May/June 2026 · Question 6(d) · 3 marks

A computer game has an expert system that can be used to find a solution to any problems with the game. The expert system uses an inference engine. Explain the role of the inference engine in finding a solution to a problem with the game.

Points that gain marks

  • It takes the data the user gives about the problem.
  • It searches the knowledge base for similar knowledge.
  • It applies the rule base to that data to find the solution.
  • It decides which question to ask next, if it needs more data.

In this lab: Watch the inference engine in this lab: it takes the plant's symptoms, tries the IF … THEN rules one by one from the top, and gives the THEN part of the first rule that fits.

More real experiments

All labs →

Log in or create account

IGCSE, A-Level & AP