Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1barcode scanner | AAn input device that shines a laser across a barcode and reads the reflected light to get the product number | |
| 2reflected light pattern | BThe pattern of light bouncing back from the white gaps but not from the black lines, which the sensor reads | |
| 3Black lines absorb light and white gaps reflect it, so the scanner can tell the lines and gaps apart | Cblack = absorbs light, white = reflects light | |
| 4The product number read from the barcode is looked up in a database to find the product name and price | DA barcode only stores a product number. The price is found by looking the number up in a database. | |
| 5White gaps absorb light and black lines reflect it | Eprice = database.lookup(number) | |
| 6The barcode itself stores the price of the product | FThis is the wrong way round. Black lines absorb light and white gaps reflect it. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
barcode scanner — An input device that shines a laser across a barcode. Black lines absorb light, white gaps reflect it, and a sensor reads the pattern to get the product number.Black lines absorb the scanner's lightWhite gaps reflect light back to the sensorSensor turns the pattern into digital dataLook up the number in a database for priceA laser is shone across the barcode