GCSE · Computer Science · AQA · Spec 8525
CAPTCHA
Ever had to pick every picture with a bicycle to get into a website? That's a test, and it's aimed at robots, not you.
Computer Science · Flowcharts
What happens when a form has a CAPTCHA?
Step through the path a wrong response takes. Watch the one decision box.
A program gives the wrong response to the task. Which way does the decision go?
Output
Step 1: Someone, or some program, tries to submit a form that is protected by a CAPTCHA.
Step through with Next and keep your eye on the diamond.
What you need to know
- CAPTCHA stands for Completely Automated Public Turing test to tell Computers and Humans Apart.
- Its job is to tell human users apart from automated programs, often called bots.
- It does that by setting a task that is easy for a person but hard for a computer program.
- A task must pass both tests: easy for people AND hard for programs. Fail either and it won't work.
Have a goSam says: 'My CAPTCHA is unbeatable. It asks you to count every grain of sand on a beach!' Does Sam's task work? Check it against both tests.
No. It's hard for a program, but it isn't easy for a person either.
A CAPTCHA task has to be easy for a person AND hard for a program. Hard for everyone fails the first test.
- Typical tasks are reading distorted letters and numbers, picking images that contain a given object, and analysing behaviour.
- A CAPTCHA does not check who you are or protect your password. It checks that a human is using the site.
Have a goSomeone passes a CAPTCHA and says, 'So the site now knows exactly who I am.' What have they got wrong?
Passing only shows a human is there, not which human.
A CAPTCHA tests human versus automated program. It isn't an identity check and it isn't a password check.
- After the task, access is allowed only if the response is correct. If it isn't, the submission is refused.
- It helps against automated attacks such as brute-force password guessing, fake accounts and spam.
Have a goA contact form is flooded by a program sending message after message. Why might a CAPTCHA on the form help?
The program has to complete a task it finds hard each time.
The task is designed to be hard for a program, so automated sending is held up. It helps, but it isn't guaranteed to stop every program.
- A limitation: it can be hard for some people with impairments, so alternatives such as audio versions are offered.
- It can also annoy genuine users, and advanced software can sometimes solve it.
The big picture
A CAPTCHA is a test that tells human users apart from automated programs. It sets a task that is easy for a person but hard for a computer program, and lets the user through only if the response is correct. That helps against automated attacks such as brute-force password guessing, fake accounts and spam, but it has limits too.
Key points
Worked example
Problem
A website wants to stop programs creating fake accounts. It is choosing between two tasks: (a) 'Type the answer to 5 × 5' or (b) 'Type the distorted letters shown in the picture'. Which would work as a CAPTCHA?
⚠ Watch out
Thinking a CAPTCHA checks who you are or protects your password. It only checks that a human, rather than an automated program, is using the site.
Memory hook
Easy for ME, hard for a BOT. Only the overlap makes a CAPTCHA.
Check yourself
Think of a CAPTCHA you've met online. Which task did it set? Say how it passes both tests, and one thing that could go wrong for a genuine user.
Flashcards
(11)What does CAPTCHA stand for?
What is the job of a CAPTCHA?
What kind of task does a CAPTCHA set?
A task is easy for everyone, programs included. Could it be a CAPTCHA?
A task is hard for everyone, people included. Could it be a CAPTCHA?
Name three kinds of CAPTCHA task.
Does a CAPTCHA check who you are or how strong your password is?
When does a CAPTCHA allow access?
What is brute-force password guessing?
Which automated attacks can a CAPTCHA help against?
Give three limitations of CAPTCHAs.
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore AQA GCSE Computer Science topics
How this lesson was checked. This AQA GCSE Computer Science (specification 8525)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 9 October 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.