Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

AI, biometrics and big data

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

50 minutes

Your phone knows your face

You look at your phone and it unlocks. You say "play music" and it plays. A photo app groups all your pictures of a friend.

Ten years ago, this was rare. Now it is normal. These are new technologies, and they change what software developers build, and how.

Key words

WordWhat it meansExample
Artificial intelligenceComputer systems that do tasks which usually need human thinking.recognising speech
Machine learningA kind of AI that learns from examples instead of fixed rules.a spam filter (a tool that blocks junk messages) that learns from past emails
Generative AIAI that makes new text, pictures or code.a chat tool that writes an email
Conversational AIAI you can talk or type to, like a chat.a help chat on a shop website
Computer visionAI that understands pictures and video.reading a number plate
Object recognitionFinding and naming things in a picture.finding a dog in a photo
BiometricsUsing your body to prove who you are.fingerprint, face, voice
Data lakeA big store of raw data (data not yet organised) in many shapes.photos, logs, tables, all kept as they came
Data warehouseA store of tidy, organised data for reports.monthly sales tables

The cells students fill in are left blank in this preview.

The technologies at a glance

TechnologyWhat it doesExampleWhat it means for developers
Artificial intelligenceDoes tasks that need human thinkingA game opponentNew features, and new risks to test
Virtual intelligenceActs like a helper but follows set rules and does not learnA shop assistant that answers set questionsDevelopers write the rules and the answers
Conversational AITalks with peopleA bank chat helperNeeds clear replies, and a plan for when it does not understand
Generative AIMakes new text, pictures or codeA code helperDevelopers must check what it writes
Machine learningLearns from examplesFilm suggestionsNeeds good data, and fair data
Computer vision and object recognitionUnderstands picturesReading car number platesNeeds cameras and training pictures
BiometricsProves who you are by your bodyFingerprint loginMust protect very private data

The cells students fill in are left blank in this preview.

Quick check

Have a go

Quick check

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Try it: a program that learns

Code: python
spam = ["win free prize", "free money now", "claim your prize"]
normal = ["lunch at one", "homework is due", "free time at lunch"]

spam_words = set()
for message in spam:
    spam_words.update(message.split())
normal_words = set()
for message in normal:
    normal_words.update(message.split())

# A set keeps each word once. The minus sign takes away the normal words.
learned = spam_words - normal_words
print(learned)

test = "you win a prize"
found = False
for word in test.split():
    if word in learned:
        found = True
print(found)

# Add a new spam message to the list and run it again.

The more examples, the better

data-callouts.note.label

The program did not get rules from a person. It found the words in the examples. With more examples it learns more. With poor or unfair examples, it learns poor or unfair things.

Where does all the data live?

AI needs lots of data. Companies keep it in two main ways.

A data lake keeps data in its raw shape: photos, messages, logs and tables. A data warehouse keeps tidy, organised data, ready for reports.

Lakes are flexible. Warehouses are fast and clear.

The lesson goes on

4 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.