QR code scanner
Uses a camera to capture a 2D square grid of black and white modules and decodes it into data like a web address or text. It holds more data than a barcode and reads from any angle.
Understanding QR code scanner in IGCSE Computer Science Paper 1
What it does: A grid of black and white modules uses both width and height to store data, giving a QR code far more capacity than a 1D barcode. A web address is a typical piece of data stored in a QR code. The scanner decodes the pattern into this text and opens the link. The corner squares show the orientation, so a QR code scanner can read the code from any angle. QR codes are used for links, tickets and payments. Printing is an output task done by a printer, not a QR code scanner.
Common mistakes: A QR code stores data across a two-dimensional grid of modules, not in lines like a barcode. The line should be pattern ← findGrid(image). The scanner must output the decoded data, such as a web address or text, not the raw camera image. It should be OUTPUT data.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 252–261) and word search (Modules 240–261).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
QR code scannerFill in the Blanks
Spot the Error
Student with a class code? Join your class →