Revision Notes
OxfordAQA A-Level Computer Science (9645): Creating artificially intelligent systems – Revision Notes
Recall notes for OxfordAQA 9645 sub-topic 3.16.2: neural network structure, backpropagation, deep learning, machine learning, training data and bias.
- Subject
- Computer Science
- Level
- A LEVEL
- Topic
- Topic 16 – Artificial intelligence
- Author
- Marlbridge Academic Team
- Updated
- Reviewed by
- Harris Khan (what this means)
Aligned to OxfordAQA A Level Computer Science (9645), 2024-onwards. Official specification .
Syllabus page (what it covers and how it is assessed): OxfordAQA A Level Computer Science.
Syllabus points this page covers
9645 (A Level)
- 3.16.2 Creating artificially intelligent systems
This page covers 1 of the 3 subtopics in topic 16, Artificial intelligence.
Found an error? Report a correction.
Need help with this topic? Request a free trial class for A Level Computer Science (9645).
These notes condense sub-topic 3.16.2 Creating artificially intelligent systems of OxfordAQA International AS and A-level Computer Science (9645), Version 1.1 (International A-level content in topic 3.16, examined in Unit 4). For worked examples, see the creating AI systems study guide, then practise with the creating AI systems practice questions.
What the specification requires
- Know what a neural network is and how it can be used.
- Describe the structure of a neural network: nodes in layers, weighted outputs forming the next layer’s inputs; a simple network has input, hidden and output layers.
- Know that backpropagation is commonly used to train a neural network.
- Know that deep learning uses several hidden layers; more layers allow more complex problems.
- Know that machine learning improves performance based on experience.
- Know that systems are trained using data, and that care must be taken in selecting training data to avoid bias.
Key terms
| Term | Meaning |
|---|---|
| Neural network | Nodes connected in layers, similar to neurons in a brain |
| Node | Combines weighted inputs and passes on an output |
| Weight | A number on a connection showing how strongly one node affects the next |
| Input layer | Receives the data |
| Hidden layer | Processing layer between input and output |
| Output layer | Gives the result |
| Backpropagation | Passes the error backwards through the network to adjust the weights |
| Deep learning | Neural networks with several hidden layers |
| Machine learning | Performance improves based on experience |
| Training data | Examples the system learns from |
| Bias | Systematically unfair or inaccurate results, often from unrepresentative data |
Network structure
| Layer | Role |
|---|---|
| Input | Takes in the data (for example pixel values) |
| Hidden | Processes; its outputs are weighted to form inputs to the next layer |
| Output | Gives the answer (for example a category) |
- Weights on connections between layers are what the network learns.
- Number of weights between layers = nodes in one layer × nodes in the next. A 4-5-3 network has 4 × 5 + 5 × 3 = 35 weights.
Forward pass reminder
Hidden node H1: weights 0.5 and 0.25, bias 0. Hidden node H2: weights −1 and 1, bias 0.5. Output: weights 2 and 1 from H1 and H2, bias −1. Hidden nodes output the total if positive, otherwise 0.
| Inputs | H1 | H2 | Output |
|---|---|---|---|
| (1, 2) | 0.5 + 0.5 = 1.0 | −1 + 2 + 0.5 = 1.5 | 2 + 1.5 − 1 = 2.5 |
| (3, 0) | 1.5 | −2.5, so 0 | 3 + 0 − 1 = 2.0 |
Training by backpropagation
- Forward pass: run an example through the network.
- Compare the output with the correct answer to get the error.
- Pass the error backwards through the layers to find each weight’s contribution.
- Adjust the weights to reduce the error.
- Repeat with many examples.
Single-weight reminder (input 2, target 3, learning rate 0.1, start weight 0.5): the weight goes 0.5, 0.9, 1.14, 1.284, 1.3704 and the output goes 1.0, 1.8, 2.28, 2.568, 2.7408 towards the target 3. The error shrinks each pass.
Deep learning and machine learning
- Deep learning = several hidden layers. More layers allow more complex problems, but need more data and computing power.
- Machine learning is a type of AI where the system learns from experience (training data), rather than from fixed rules written by a programmer.
- Neural networks trained by backpropagation are machine learning.
Training data and bias
- Systems are often trained on data; the data shapes the system.
- Poor data gives poor or biased systems.
| Problem with the data | Effect | Remedy |
|---|---|---|
| Under-represents a group or class | Poor accuracy for that group | Include representative examples |
| Reflects past unfair decisions | The system repeats the unfairness | Review and correct the data |
| Wrong labels | The system learns wrong answers | Check the labelling |
| Too little data | Poor generalisation | Collect more varied data |
Example: 900 images of A and 100 of B. A model that always answers “A” scores 90% on this data but never recognises B.
- Keep some data back for testing on unseen examples. High accuracy on the training data but low accuracy on new data (for example 99% against 71%) means the system has learned the examples rather than the pattern.
- Check results for each group, not just overall.
Exam traps
- Hidden layer simply lies between input and output.
- Backpropagation passes the error backwards, not the data.
- Deep means several hidden layers, not just a big network.
- Machine learning is a type of AI, not the same thing.
- Bias comes mostly from the training data; more data does not fix it unless it is representative.
- Weights are what the network learns.
- Test data must be separate from training data.
Quick self-test
- What is a neural network?
- Name the three layers of a simple neural network.
- What is a weight?
- How many weights are there in a 3-4-2 network?
- What is backpropagation used for?
- What does the backward pass carry?
- What is deep learning?
- Why use more layers?
- What is machine learning?
- What is the effect of under-represented groups in training data?
- Why is some data kept back for testing?
- In the forward pass reminder, what is the output for inputs (1, 2)?
Answers
- A network of nodes connected in layers, similar to neurons in the brain.
- Input, hidden and output layers.
- A number on a connection that sets how strongly one node influences the next.
- 3 × 4 + 4 × 2 = 20.
- Training the network by adjusting the weights to reduce error.
- The error, so that each weight can be adjusted.
- A neural network with several hidden layers.
- More layers allow more complex problems to be solved.
- A type of AI in which the performance of the system improves based on experience.
- The system performs poorly (or unfairly) for those groups.
- To check that the system works on unseen examples.
- 2.5
- Creating AI systems study guide
- Creating AI systems practice questions
- Applications of AI revision notes
Official syllabus
OxfordAQA International AS and A-level Computer Science (9645) specification, Version 1.1, for International AS exams May/June 2025 onwards and International A-level exams May/June 2026 onwards: sub-topic 3.16.2 Creating artificially intelligent systems.
Related resources
-
Study guides
OxfordAQA A-Level Computer Science (9645): Applications of artificial intelligence
OxfordAQA 9645 sub-topic 3.16.1 in depth: characteristics of AI, narrow and general AI, generative AI, recommendation systems, game playing and medical diagnosis.
Computer Science · OxfordAQA · A Level
Read guide -
Practice questions
OxfordAQA A-Level Computer Science (9645): Applications of artificial intelligence – Practice Questions
Ten original OxfordAQA 9645 questions on sub-topic 3.16.1 Applications of AI: AI characteristics, narrow AI, generative AI, recommendations, games and diagnosis.
Computer Science · OxfordAQA · A Level
Try questions -
Revision notes
OxfordAQA A-Level Computer Science (9645): Applications of artificial intelligence – Revision Notes
Recall notes for OxfordAQA 9645 sub-topic 3.16.1: AI characteristics, narrow and general AI, generative AI, recommendation, games and diagnosis, with a self-test.
Computer Science · OxfordAQA · A 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.