Year 9 · Y9.5 Artificial Intelligence and the Impact of Computing · Lesson 1
Stretch tasks What AI actually is
Quiz Challenge
A quiz game against four computer players, then short and long written answers.
- Quiz Blitz12 questions against the clock
- Quick Fire4 short answers
- Big Think2 long answers
About 20 minutes
This or That
Pixel the cat asks 8 questions. Each has two answers: pick the right one.
- Two answers to every question
- A fish treat for every right answer
- Streaks win Pixel shades, then a party hat
About 4 minutes
Memory Match
Flip the cards two at a time to match each term card to its meaning card.
- 12 cards: each term has a meaning
- One peek at every card
- Combo points for pairs found in a row
6 pairs, about 4 minutes
The games need JavaScript. Every question is below, with the answers at the end.
Read the lesson: What AI actually is
What AI actually is: the questions
Quiz Challenge, round 1: Quiz Blitz
What is the main difference between machine learning and traditional programming?
- Machine learning finds patterns in examples instead of following rules a programmer wrote
- Machine learning uses no data at all
- Traditional programs teach themselves
- Machine learning only works without the internet
Put the steps of building a cat recogniser in order.
Number these 1 to 4.
- Train: adjust internal values to get more labels right
- Test it on images it has never seen
- Use it to classify new images
- Collect images labelled cat or not cat
An AI that recognises cats understands what a cat is.
- True
- False
Why is an AI tested on images it has never seen?
- To add more labels to the data
- To check it learned general patterns rather than memorising its training images
- To make the training faster
- Because the training images get deleted
Which THREE use AI?
Tick 3.
- Spam filters
- Face unlock on a phone
- Film recommendations on a streaming service
- A light switch
- A calculator adding 2 and 2
What is training data?
- The answers it gives its users
- The labelled examples a system learns patterns from
- The program code of the AI
- Data the AI deletes after use
An AI trained only on photos of dogs on grass says a dog on a beach is not a dog. Why?
- It ran out of memory
- Sand is too bright to photograph
- It learned that grass goes with dogs, not what a dog is
- Beaches confuse all computers
Machine learning systems can be confidently and bizarrely wrong.
- True
- False
Which task is LEAST suited to machine learning?
- Recognising faces in photos
- Turning speech into text
- Spotting spam emails
- Adding up a shopping bill
What is the name for the labelled examples a machine learning system learns from? Two words.
Why does a machine learning system need hundreds of thousands of examples?
- So the computer feels more confident
- So it sees enough variety to find general patterns
- So it fills the hard drive
- Because each example can only be used once
Which is an example of AI generating something new?
- Creating an image from a text description
- Sorting a list into order
- Copying a file
- Adding two numbers
Quiz Challenge, round 2: Quick Fire
Explain how a machine learning system is trained to recognise cats. [2 marks]
Why is an AI system tested with data it has not seen before? [2 marks]
Give two everyday examples of AI, and say what each one does. [2 marks]
What does it mean to say that a cat-recognising AI has no idea what a cat is? [2 marks]
Quiz Challenge, round 3: Big Think
Explain the steps used to build a machine learning system that spots spam emails. [4 marks]
Should schools use AI to mark students' essays? Discuss. [6 marks]
This or That: tick the right answer
A spam filter learns from thousands of emails marked spam or not spam. What is this?
- Machine learning
- Traditional programming
Face unlock on a phone is an example of what?
- A simple password check
- AI recognising images
Apart from being huge, what must training data have?
- Correct labels
- Bright colours
A cat recogniser says a cat in a costume is not a cat. How can that happen?
- It ran out of memory
- It matches patterns, not the idea of a cat
Your sat nav predicts the traffic on your route. What is that?
- An everyday use of AI
- A fixed bus timetable
During training, what does the system change?
- The training images
- Its own internal values
What does artificial intelligence mean?
- Computers that think and feel like us
- Computers doing tasks that need human intelligence
Speech to text on your phone is an example of what?
- AI understanding language
- Simple spell checking
Memory Match: match each term to its meaning
| Term | Meaning |
|---|---|
| A Artificial intelligence | 1 Unseen examples used to check what it learned |
| B Machine learning | 2 The correct answer attached to an example |
| C Training data | 3 Finding patterns in examples instead of following rules |
| D Label | 4 Learns which emails are junk |
| E Spam filter | 5 Labelled examples a system learns from |
| F Test data | 6 Computers doing tasks that need human intelligence |
Answers
Round 1: Quiz Blitz
- Machine learning finds patterns in examples instead of following rules a programmer wrote In machine learning the rules are not written by hand: the system finds them in the training data.
- Collect images labelled cat or not cat → Train: adjust internal values to get more labels right → Test it on images it has never seen → Use it to classify new images Collect, train, test on unseen data, then use. Skipping the test step hides whether it has really learned.
- False It has found statistical patterns that go with the label cat. That is why it can be confidently and bizarrely wrong.
- To check it learned general patterns rather than memorising its training images A system that only works on the pictures it was trained on has memorised them, not learned.
- Spam filters; Face unlock on a phone; Film recommendations on a streaming service Each of the three finds patterns in data. A switch and a simple sum just follow fixed rules.
- The labelled examples a system learns patterns from Training data is everything the system learns from, so its quality decides how good the system is.
- It learned that grass goes with dogs, not what a dog is It latched on to something that usually appears with dogs. Correlation is not understanding.
- True A pattern that usually works can fail badly on something slightly unusual, with no warning.
- Adding up a shopping bill Adding up has exact rules a programmer can write. Machine learning is for problems too messy for hand-written rules.
- training data Training data is the system's entire experience of the world.
- So it sees enough variety to find general patterns Cats come in every colour, pose and lighting. Without variety the system learns something too narrow.
- Creating an image from a text description Generative AI produces new text, images or sound from patterns in its training data.
Round 2: Quick Fire
- It is shown a very large number of labelled examples: its training data
- It adjusts its internal values to find patterns, getting more labels right
Model answerIt is shown hundreds of thousands of images labelled cat or not cat, which is its training data. It adjusts its internal values to find the patterns that go with the label cat, getting more of the labels right each time.
- To check it works on new data in the real world
- Rather than having just memorised its training data
Model answerTo check that it has learned general patterns that work on new data in the real world, rather than just memorising the training examples.
- Recommendations on streaming or social media
- Voice assistants and speech to text
- Face unlock
- Spam filters
- Sat nav route prediction
- Translation
- Text or image generation
Model answerA spam filter decides which emails are junk and moves them out of the inbox. A streaming service recommends films and shows based on what you have watched before.
- It has only found statistical patterns that go with the label
- So it can be confidently wrong when those patterns mislead it
Model answerIt has only found statistical patterns in the pixels that go with the label cat. It has no real understanding, so when those patterns mislead it, it can be confidently and bizarrely wrong.
Round 3: Big Think
- Collect a large set of emails labelled spam or not spam
- Train it: it adjusts its values to find patterns, such as certain words, links or senders
- Test it on emails it has never seen
- Use it to filter incoming emails, improving as users mark spam
Model answerFirst, collect a very large set of emails, each labelled spam or not spam: the training data. Next, train the system, which adjusts its internal values to find patterns that go with spam, such as certain words, suspicious links or unknown senders. Then test it on emails it has never seen, to check it has learned general patterns rather than memorising. Finally, use it to filter incoming emails, and it can keep improving as users mark new messages as spam.
- It is fast, giving instant feedback
- It applies the same rules to every essay
- Teachers would have more time for teaching
- It can be confidently wrong, because it does not understand the essay
- Bias in its training data could penalise unusual or creative writing
- Students could learn to trick it, for example by stuffing in keywords
- It is unclear who is responsible for a wrong grade, and how to appeal
- A reasoned conclusion
Model answerAI marking would be fast, giving students instant feedback, and it would apply the same rules to every essay. It could also reduce teachers' workload, leaving more time for teaching. However, an AI has no real understanding of an essay: it finds patterns, so it can be confidently wrong. If its training data favoured one style of writing, it could be biased against unusual or creative answers, and students might learn to trick it by stuffing in keywords. It is also unclear who is responsible for a wrong grade, or how a student could appeal. On balance, AI could give quick practice feedback, but a teacher should make the final judgement on anything that counts.
This or That
- Machine learning The system finds the patterns in labelled examples itself, instead of following rules a programmer wrote.
- AI recognising images Face unlock uses a trained system to recognise your face, one of the everyday uses of AI.
- Correct labels The system learns from the labels, so wrong labels teach it the wrong patterns.
- It matches patterns, not the idea of a cat The system has no idea what a cat is. It found statistical patterns that go with the label cat.
- An everyday use of AI Route prediction learns from enormous amounts of journey data: AI you already meet every day.
- Its own internal values It adjusts its internal values to get more of the labels right. The images stay the same.
- Computers doing tasks that need human intelligence AI performs tasks such as recognising objects or understanding language. It does not think or feel.
- AI understanding language Turning speech into text means recognising language, a classic AI task.
Memory Match
- A 6 Artificial intelligence: Computers doing tasks that need human intelligence
- B 3 Machine learning: Finding patterns in examples instead of following rules
- C 5 Training data: Labelled examples a system learns from
- D 2 Label: The correct answer attached to an example
- E 4 Spam filter: Learns which emails are junk
- F 1 Test data: Unseen examples used to check what it learned