Artificial intelligence Cambridge IGCSE Computer Science (9–1) revision

Not started

Learn it

In plain words

Artificial intelligence is about getting computers to do things that seem to need intelligence when people do them: recognising a face, diagnosing an illness, playing chess.

The syllabus looks at two kinds. An expert system follows rules that human experts have given it. A machine learning program improves by itself, from data.

5 things to know

  1. Artificial intelligence (AI) is a branch of computer science dealing with the simulation of intelligent behaviours by computers.
  2. An AI has a collection of data and the rules for using that data. It has the ability to reason. It can include the ability to learn and adapt.
  3. An expert system has four parts. The knowledge base holds the facts. The rule base holds the rules that link the facts. The inference engine applies the rules to the facts to reach a conclusion. The interface is how the user enters information and sees the result.
  4. Expert systems are used for tasks such as medical diagnosis and finding faults in machines.
  5. Machine learning is when a program has the ability to automatically adapt its own processes or data. It gets better at a task through experience, without being reprogrammed.

Worked example

A doctor uses an expert system to help diagnose a patient. Describe how the system reaches a diagnosis.

  1. The doctor enters the patient's symptoms through the interface, answering the questions it asks.
  2. The inference engine takes the symptoms and searches the knowledge base, using the rules in the rule base.
  3. It finds the illnesses that match, and the interface displays the likely diagnoses.

Tips and tricks

  • Knowledge base: facts. Rule base: rules. Inference engine: applies the rules to the facts. Interface: questions in, answers out. Learn the four.
  • An expert system does not learn by itself. Its knowledge is given to it by human experts. A program that adapts itself is machine learning.
6 questions, about 2 minutes.

It lands in your notebook with its questions as flashcards.

Artificial intelligence: 6 questions and answers

These are the quiz’s questions. Do the quiz first, then come back here for the ones that got you.

  1. What is artificial intelligence?
    • a robot that looks like a person
    • the simulation of intelligent behaviours by computers (the answer)
    • a very fast processor
    • a type of memory

    It is a branch of computer science.

  2. Which part of an expert system stores the facts?
    • the knowledge base (the answer)
    • the rule base
    • the inference engine
    • the interface

    The rules that link the facts are in the rule base.

  3. Which part of an expert system applies the rules to the facts?
    • the knowledge base
    • the interface
    • the inference engine (the answer)
    • the rule base

    It does the reasoning.

  4. What is machine learning?
    • a robot being taught by a teacher
    • a program automatically adapting its own processes or data (the answer)
    • a person learning to use a machine
    • a database of facts

    It improves with experience.

  5. Which is a characteristic of AI?
    • It never uses data.
    • It has the ability to reason. (the answer)
    • It cannot adapt.
    • It needs no rules.

    It uses a collection of data and rules, and can reason.

  6. What is the purpose of the interface of an expert system?
    • to store rules
    • to let the user enter information and see the results (the answer)
    • to learn new facts
    • to draw conclusions

    It asks the questions and shows the answers.

Still stuck on this one?Ask in the Papermunch Discord, or help someone else who is. Discord is for ages 13 and up.Join the server

Things you can type

Or go straight to

Or browse a shelf