Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
A library uses barcodes inside its books. Its new posters show QR codes that link to the library's web page.
Describe how a barcode scanner reads a barcode. Then explain one difference between a barcode and a QR code, and why the posters use QR codes.
An input device captures data from the outside world in a form the computer can process. A barcode scanner reads reflected light from bars, and a QR code scanner reads an image of a square code. A resistive screen works when two layers are pressed together, a capacitive screen when a finger draws charge, and an infra-red screen when a finger breaks beams. A 2D scanner images flat pages and a 3D scanner measures solid objects.
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.
Step 1. Reading a barcode.
Step 2. The difference. A barcode is a row of bars, read in one direction. A QR code is a square grid of small black and white squares, read in two directions. So a QR code can hold much more data.
Step 3. The posters. A web address is far more data than a short number. It fits in a QR code. A visitor can scan it with the camera of a phone.
Answer: reflected light from the bars and spaces is detected and converted to the code. A QR code is a two-dimensional pattern that holds much more data, enough for a web address.
Log in to join the discussion.
Loading…