Revision Notes
Cambridge O Level Computer Science (2210): Artificial intelligence – Revision Notes
Revision notes for Cambridge O Level Computer Science 2210 section 6.3: AI, its characteristics, expert system components, machine learning and a self-test.
- Subject
- Computer Science
- Level
- O LEVELS
- Topic
- Topic 6 – Automated and emerging technologies
- Author
- Marlbridge Academic Team
- Updated
- Reviewed by
- Harris Khan (what this means)
Aligned to Cambridge O Level Computer Science (2210), 2026-2028. Official specification .
Syllabus page (what it covers and how it is assessed): Cambridge O Level Computer Science.
Syllabus points this page covers
2210
- 6.3 Artificial intelligence
This page covers 1 of the 3 subtopics in topic 6, Automated and emerging technologies.
Found an error? Report a correction.
Need help with this topic? Request a free trial class for O Level Computer Science (2210).
Condensed notes for syllabus section 6.3, Artificial intelligence. For the full explanations and worked examples, use the Artificial intelligence study guide.
Syllabus checklist
- What is meant by artificial intelligence (AI).
- The main characteristics of AI: the collection of data and the rules for using that data, the ability to reason, and (it can include) the ability to learn and adapt.
- The basic operation and components of AI systems that simulate intelligent behaviour, limited to expert systems and machine learning.
Key terms
| Term | Definition |
|---|---|
| Artificial intelligence (AI) | A branch of computer science dealing with the simulation of intelligent behaviours by computers |
| Expert system | An AI system that simulates a human expert’s decisions in one subject area |
| Knowledge base | The collection of facts about the subject |
| Rule base | The set of rules (IF … THEN …) for using the facts |
| Inference engine | The part that applies the rules to the facts and the user’s answers to reach a conclusion |
| Interface | The screens through which the user enters data and sees results |
| Machine learning | When a program automatically adapts its own processes and/or data |
| Training data | Examples used to teach a machine learning system |
The three characteristics of AI
- Data and rules: it collects data and has rules for using it.
- Reasoning: it draws conclusions from the data and rules.
- Learning and adapting: it can include the ability to learn and adapt (not every AI does).
Expert systems
Components
| Component | Holds or does |
|---|---|
| Knowledge base | Facts from human experts |
| Rule base | IF-THEN rules |
| Inference engine | Reasons: searches the knowledge base and applies the rules |
| Interface | Takes input from the user and displays the output |
Operation
- The user answers questions at the interface.
- The inference engine searches the knowledge base.
- It applies the rules from the rule base.
- The conclusion (and often a probability) is displayed.
Example rules
- IF the plant has yellow leaves AND the soil is wet THEN the plant has too much water.
- IF the plant has yellow leaves AND the soil is dry THEN the plant needs water.
Answers “yellow leaves” and “soil wet” make the inference engine output “too much water”.
Strengths and limits
| Strengths | Limits |
|---|---|
| Available at any time | Only knows what was entered |
| Gives consistent answers | Wrong facts or rules give wrong answers |
| Stores more facts than one person | No common sense outside the subject |
| Can be used by non-experts | Needs experts to build and update it |
Machine learning
- The program adapts its own processes and/or data automatically.
- It starts with training data, finds patterns and makes predictions.
- Results are checked and feedback is used to improve.
- The more data it has, the better it tends to become.
Cycle
- Receive training data.
- Find patterns and adjust settings.
- Make a prediction on new data.
- Check the result and give feedback.
- Adapt again.
Uses
Spam filters, recommendations on streaming services, image and speech recognition, predicting traffic, detecting fraud.
Expert system versus machine learning
| Expert system | Machine learning | |
|---|---|---|
| Rules written by | People (from experts) | Found by the program from data |
| Improves automatically? | No, people must update it | Yes, as it receives more data |
| Core parts | Knowledge base, rule base, inference engine, interface | Training data and an adaptable program |
Answer templates
State what is meant by AI (2 marks): a branch of computer science; simulation of intelligent behaviours by computers.
Describe the characteristics of AI (3 marks): collects data and has rules for using it; can reason; can learn and adapt.
Describe the components of an expert system (4 marks): knowledge base of facts; rule base of IF-THEN rules; inference engine applies rules to facts; interface lets the user enter data and see results.
Explain how machine learning works (3 marks): trained with data; adapts its own processes and/or data; improves as feedback is received.
Exam traps
- Knowledge base and rule base swapped. Facts versus rules.
- Inference engine called a database. It is the reasoning part.
- “AI always learns.” It can include learning and adapting.
- “Machine learning means the programmer changes the code.” The program adapts itself.
- “An expert system is a robot.” It is software.
- No example linked to the scenario. Name the facts, rules or data used in the question.
Self-test
- What is AI?
- State the three main characteristics of AI.
- What is an expert system?
- Name the four components of an expert system.
- What does the knowledge base hold?
- What is the form of a rule in the rule base?
- What does the inference engine do?
- What is the role of the interface?
- What is machine learning?
- Why does a machine learning system need training data?
- Give one use of machine learning.
- Give one difference between an expert system and machine learning.
Answers
- A branch of computer science dealing with the simulation of intelligent behaviours by computers.
- Collecting data and rules for using it; the ability to reason; it can include the ability to learn and adapt.
- An AI system that simulates the decision-making of a human expert in a particular subject.
- Knowledge base, rule base, inference engine, interface.
- A collection of facts about the subject.
- IF (condition) THEN (conclusion).
- It searches the knowledge base and applies the rules to the user’s answers to reach a conclusion.
- It lets the user enter information and see the results.
- When a program has the ability to automatically adapt its own processes and/or data.
- It uses the examples to find patterns, so that it can make predictions about new data.
- Any one: spam filtering; recommendations; image recognition; speech recognition; fraud detection.
- In an expert system the rules are written by people; in machine learning the program finds patterns itself and adapts automatically.
Related resources
-
Study guides
Cambridge O Level Computer Science (2210): Automated systems
Study guide to Cambridge O Level Computer Science 2210 section 6.1: how sensors, microprocessors and actuators work together in automated systems, and their advantages and disadvantages in set scenarios.
Computer Science · Cambridge · O Level
Read guide -
Practice questions
Cambridge O Level Computer Science (2210): Automated systems – Practice Questions
Original questions with answers on Cambridge O Level Computer Science 2210 section 6.1: sensors, microprocessors and actuators, and the advantages and disadvantages of automated systems.
Computer Science · Cambridge · O Level
Try questions -
Revision notes
Cambridge O Level Computer Science (2210): Automated systems – Revision Notes
Revision notes for Cambridge O Level Computer Science 2210 section 6.1: sensors, microprocessors and actuators, the control loop, scenario advantages and disadvantages, and a self-test.
Computer Science · Cambridge · O Level
Revise topic
Get free revision emails (optional)
Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.