Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
This Text, images and sound all become integers, then binary worksheet is part of the ACARA Digital Technologies Years 7–8 — Representing Text, Images and Sound journey. Print it as a booklet?
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 | |
|---|---|---|
| 1CODE("A") returns 65 | AAll data is turned into whole numbers and stored as binary. Images use RGB pixel numbers, sounds use sample numbers, and text uses character codes. | |
| 2rgb(255, 0, 0) | Bsamples = [0, 12, 40, 12, 0] | |
| 3A sound is measured many times a second, and each volume measurement (sample) is a whole number | CThe letter A is stored as the character code 65, which is then saved as binary | |
| 4Every kind of data ends up as the same thing: a whole number written in binary | DOne pixel is stored as three numbers (red, green, blue), here pure red, each saved as binary | |
| 5"Hi" is stored as the letters H and i inside the computer | EComputers do not store letters directly. Each letter is first turned into a number code (H = 72, i = 105) and then stored as binary. | |
| 6Photos are stored as pictures, while sounds and text use a different kind of storage | F65 = 01000001 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
encoding — Encoding turns text, images and sound into whole numbers (character codes, RGB pixel values, sound samples), then stores each number as binary 0s and 1s.letter ← "A"
code ← 65
binary ← 01000001colour ← "red"
pixel ← (255, 0, 0)
binary ← 11111111 00000000 00000000sound ← [12, 40, 90, 40, 12]
FOR EACH sample IN sound
binary ← toBinary(sample)code ← 65
bits ← toBinary(code, 8)
DISPLAY bitspixel ← (255, 128, 0)
valuesPerPixel ← 3
bitsPerPixel ← valuesPerPixel * 8