Study Guide Instructor view
Representing Images
Teaching notes for Lesson 1.8, with controls for presenting it.
Keep this page on your own screen. Share only the lesson window. The lesson window holds no teaching notes, so sharing it cannot show them.
Presenting
- Open the lesson in its own window and share that window, not this one.
- Use Next and Previous here, or the lesson’s own, to move through the lesson. Next reveals one thing at a time: the next idea, or the answer to the question on screen, then the next step. Previous takes the last reveal back. The line below says what is on screen and what Next will show.
- Reveal hints and answers when the class is ready, and reset a demonstration before using it again.
The controls need JavaScript and a browser that supports BroadcastChannel. Without them, open the lesson in presentation mode and use its own controls.
The two windows talk to each other only inside this browser, on this device. Nothing is sent to a server, and no account is needed. A second device (a phone or another tablet) cannot follow the lesson window yet.
Now on the lesson window
- On screen
- Next teaching point
Guidance for this point
Lesson plan
- Level
- Intermediate
- Time
- About 55 minutes; the steps below add up to 55
Learners start by describing a picture over the phone to someone with squared paper, which gives them pixels, rows and 1 and 0 for black and white before any term is introduced. They encode and decode a black-and-white house, predict the effect of doubling the grid, work out how many bits colour needs, and separate resolution from colour depth by diagnosing blocky and banded pictures. The apply questions ask them to choose which setting to change and to compare two file sizes.
Objectives
- Describe an image as a grid of pixels, each stored as a binary code
- Encode and decode a small black-and-white image row by row
- Define image resolution and colour depth, and work out the number of pixels and the number of colours
- Explain the effect of resolution and colour depth on the quality and the file size of an image
- Choose a resolution and a colour depth that suit a purpose, and justify the choice
Before the lesson
- Squared paper with an 8 × 6 grid for each learner, or the grid displayed on the board.
- Coloured pencils or two colours of pen for the black-and-white house; optional.
- Mini whiteboards for counting pixels and colours.
- Optional: two images of the same photo, one blocky and one with colour bands, to show before the two-settings step (any pictures will do).
Steps
Introduction Opening
On the lesson window now
On screen: the lesson’s title, module and number; Next adds its objectives and key terms, as the lesson page lists them; Next again begins the first step.
Objectives on screen
- Describe an image as a grid of pixels, each stored as a binary code
- Encode and decode a small black-and-white image row by row
- Define image resolution and colour depth, and work out the number of pixels and the number of colours
- Explain the effect of resolution and colour depth on the quality and the file size of an image
- Choose a resolution and a colour depth that suit a purpose, and justify the choice
Purpose: Learners start by describing a picture over the phone to someone with squared paper, which gives them pixels, rows and 1 and 0 for black and white before any term is introduced. They encode and decode a black-and-white house, predict the effect of doubling the grid, work out how many bits colour needs, and separate resolution from colour depth by diagnosing blocky and banded pictures. The apply questions ask them to choose which setting to change and to compare two file sizes.
1. A picture over the phone Think 5 min
On the lesson window now
Purpose: Learners devise a way to describe a picture so that someone else can copy it exactly, which is the idea behind pixels.
Ask
- How could Aroha describe the picture so that Ben can colour in exactly the same squares?
- What would she need to tell him first, and then for every square?
Responses to expect
- The width and height of the grid, then each square in order, row by row from the top
- 1 for black and 0 for white
Misconceptions to challenge
- A learner may believe: “She can describe the picture in words such as ‘a house with a door’.” Respond: Ben must colour exactly the same squares. Ask what would be different between two people’s drawings of ‘a house’.
- A learner may believe: “The order does not matter if every square is mentioned.” Respond: Ask Ben what he would do if he heard ‘black, white, black’ without knowing which row it was.
On the board or with the pen
- Draw a 4 × 4 grid with a simple pattern and read it out as a string of 1s and 0s row by row.
Checking understanding: Partners compare the copy with the original: how many squares differ?
English as an additional language
- Check pixel, grid, row and column; draw a grid and point as you speak.
Discussion pause: Pairs try it with a partner as Ben, with a small hidden grid, before the discussion.
In the lesson window
- Think it through: How could Aroha describe the picture so that Ben can colour in exactly the same squares? What would she need to tell him first, and then for every square?
2. Encoding a black-and-white picture Discover 9 min
On the lesson window now
Purpose: Learners work out the number of pixels and bits, encode the house row by row, and decode a row.
Ask
- A picture is 8 pixels wide and 6 tall with one bit for each pixel. How many pixels and how many bits?
- A row is stored as 1001 1001, where 1 is black. Which row is it?
Responses to expect
- 48 pixels and 48 bits, which is 6 bytes
- #..##..#: black, two white, two black, two white, black
Misconceptions to challenge
- A learner may believe: “.##..##. is the row for 1001 1001 (decode-a-row option A).” Respond: That row is 0110 0110. The 1s and 0s have been swapped: which stands for black?
- A learner may believe: “#.#..#.# is the row (option C).” Respond: Read the bits one at a time from the left: 1, 0, 0, 1. After the first black pixel, how many white pixels come next?
- A learner may believe: “The picture needs only the bits, with no information about the width.” Respond: The computer also needs the width so that it can start a new row in the right place.
On the board or with the pen
- Write the six rows of the house as # and . on the left, with the binary beside them.
Checking understanding: The encode-house table; the decode-a-row check.
Depending on the answers
- If learners swap black and white: restate the agreed code: 1 is black, 0 is white, and repeat the first row.
Support
- Give learners a strip of eight boxes to write each row in.
In the lesson window
- Think it through: If each pixel is stored as a single bit, how many pixels are in the picture, and how many bits will the whole picture take?
- Check your understanding: One row of a black-and-white picture is stored as 1001 1001, where 1 is black and 0 is white. Which row of the picture is it?
3. How many pixels? Predict 8 min
On the lesson window now
Purpose: Learners predict what happens to the number of bits when both width and height double, and name image resolution.
Ask
- The grid doubles in width and in height, from 8 × 6 to 16 × 12. How many pixels does it have now?
- Which picture has smoother edges, and which needs more bits?
Responses to expect
- 192, which is four times as many, not twice
- The bigger grid has smaller pixels, so smoother edges, and it needs four times as many bits
Misconceptions to challenge
- A learner may believe: “Doubling the grid doubles the pixels.” Respond: Both width and height doubled, so there are 2 × 2 = 4 times as many pixels.
- A learner may believe: “A bigger picture on the screen always has a higher resolution.” Respond: Resolution is the number of pixels, not the size on the screen. A small picture can have many pixels.
On the board or with the pen
- Draw an 8 × 6 grid and a 16 × 12 grid of the same house side by side, and write the pixel counts under each.
What learners should notice
- More, smaller pixels give more detail and a smoother picture, but more data.
Checking understanding: The count-pixels table; ask a learner to state the answer to 1000 × 500 as a total.
Depending on the answers
- If many learners say 96 pixels: redraw the grid and count by rows to show that both dimensions doubled.
English as an additional language
- Check resolution, pixel and smooth; show a zoomed-in image if available.
Discussion pause: Silent prediction on mini whiteboards before the answer.
In the lesson window
- Think it through: The grid is doubled in width and in height, from 8 × 6 to 16 × 12. How many pixels does it have now? Which picture will have smoother edges, and which will need more bits?
4. More than black and white Predict 11 min
On the lesson window now
Purpose: Learners work out the bits needed for four colours, invent a code, and extend the idea to the number of colours for any depth.
Ask
- How many bits does each pixel need if the picture has four colours? Make up a code.
- A logo uses five colours. What is the smallest colour depth that can store it?
Responses to expect
- 2 bits; any code works if no two colours share a pattern, for example 00 white, 01 black, 10 red, 11 blue
- 3 bits: 2 bits give 4 colours, 3 bits give 8
Misconceptions to challenge
- A learner may believe: “2 bits is close enough for five colours (colours-needed option A).” Respond: Count the patterns: 2 bits give 4 colours. Is that enough for five, however close it is?
- A learner may believe: “5 bits, because there are five colours (option B).” Respond: 5 bits would make 32 colours. The question asks for the smallest depth that is enough.
- A learner may believe: “4 colours need 4 bits.” Respond: Bits are counted as patterns: 2^n colours for n bits, so 4 colours need 2 bits.
On the board or with the pen
- Fill in the colours-from-bits table with learners, then encode the six-pixel coloured row with the 2-bit code.
What learners should notice
- Each extra bit doubles the number of colours.
Checking understanding: The decode-colours table, then the colours-needed check.
Depending on the answers
- If learners cannot link bits to colours: use the 2-bit code as the model: list all four patterns and say what they cannot show.
Support
- Provide a doubling sequence card: 2 4 8 16 32 64 128 256.
Stretch
- How many bits per pixel would a picture with 1000 colours need? (10: 2^10 = 1024)
In the lesson window
- Think it through: How many bits does each pixel need if the picture uses four different colours? Make up a code of that many bits for each colour.
- Check your understanding: A fictional club logo uses five different colours. What is the smallest colour depth that can store it?
5. Two settings that get mixed up Explain 6 min
On the lesson window now
Purpose: Learners diagnose a blocky picture and a banded picture, so that resolution and colour depth are separated in their minds.
Ask
- One photo looks blocky; another has flat bands of blue in the sky. For each, which setting is too low?
- Can a picture with a very high resolution have only two colours?
Responses to expect
- Blocky: resolution too low (pixels too large). Banded: colour depth too low (too few colours)
- Yes: if each pixel has 1 bit
Misconceptions to challenge
- A learner may believe: “More pixels means more colours.” Respond: Resolution says how many pixels; colour depth says how many colours each can be. They are independent.
- A learner may believe: “Higher resolution means a higher colour depth.” Respond: A very high resolution picture can use only 1 bit per pixel.
On the board or with the pen
- Draw a two-column table: how many pixels? how many bits for each pixel? and write resolution and colour depth against each.
Checking understanding: Ask learners to say which setting each symptom points to; the apply questions follow.
Depending on the answers
- If learners confuse the two settings: use the question: what does the pixel count control, and what does the number of bits per pixel control?
English as an additional language
- Provide sentence frames: ‘The blocks mean the resolution is too …’.
In the lesson window
- Think it through: One fictional photo looks blocky: you can see square steps along every edge. Another has smooth edges, but its sky is made of a few flat bands of blue instead of a smooth change. For each photo, say which setting is too low, the number of pixels or the number of bits for each pixel.
6. Choose settings for a job Apply 13 min
On the lesson window now
Purpose: Apply the settings to three situations: blocks on a poster, banded sky, and which of two pictures has the bigger file.
Ask
- A printed poster shows large blocks along its edges. Which change helps most and what is the cost?
- A sunset photo has plenty of pixels but shows bands. Which setting is too low?
- Picture P is 100 × 100 at 8 bits; Q is 50 × 50 at 24 bits. Which needs more bits?
Responses to expect
- A higher resolution, at the cost of a bigger file
- The colour depth
- P: 80 000 bits against 60 000 bits
Misconceptions to challenge
- A learner may believe: “Increase the colour depth to fix blocks, and the file gets smaller (fix-the-blocks option A).” Respond: Blocks along an edge are the size of the pixels, not the number of colours. Also, would more bits for each pixel give a smaller file or a bigger one?
- A learner may believe: “A lower resolution would fix the blocks (option C).” Respond: A lower resolution means fewer, larger pixels, so the blocks would get worse.
- A learner may believe: “Q is bigger because 24 is bigger than 8 (which-file-is-bigger option A).” Respond: Colour depth is only one of the two numbers. Work out pixels × bits for each picture.
- A learner may believe: “The two pictures have the same number of bits (option B).” Respond: Work out each total: the pixels and the bits for each pixel are different, so check whether they come out the same.
Checking understanding: Three diagnostic questions; the last one needs a calculation, so ask learners to show it on mini whiteboards.
Depending on the answers
- If learners get the file comparison wrong: do 100 × 100 = 10 000 and 50 × 50 = 2500, then multiply each by its bits.
- If learners are secure: ask what the picture’s size in bytes is for each, as a preview of the next lesson.
Support
- Give learners the rule written as a sentence: pixels × bits for each pixel.
Stretch
- Find a pair of settings that give exactly the same number of bits as P but use 24 bits per pixel.
In the lesson window
- Apply it: A fictional pupil prints a school poster from a small photo, and the printed picture shows large square blocks along its edges. Which change would help most, and what is the cost?
- Apply it: A fictional sunset photo has plenty of pixels, but the sky shows clear bands of orange instead of a smooth change. Which setting is most likely too low?
- Apply it: Two fictional pictures are stored. Picture P is 100 × 100 pixels with 8 bits for each pixel. Picture Q is 50 × 50 pixels with 24 bits for each pixel. Which needs more bits, and why?
7. Bring it together Consolidate 3 min
On the lesson window now
Purpose: Learners explain how a picture is stored and what resolution and colour depth each mean, and count the colours for 4 bits.
Ask
- Explain how a computer stores a picture, and what resolution and colour depth mean.
- A colour depth of 4 bits: how many colours?
Responses to expect
- A grid of pixels, each with a binary colour code, stored row by row; resolution is the number of pixels, colour depth is the bits per pixel
- 16, because 2^4 = 16
Misconceptions to challenge
- A learner may believe: “4 colours, because the depth is 4 (number-of-colours option B).” Respond: That is the number of bits, not the number of colours. How many patterns can 4 bits make?
- A learner may believe: “8 colours, because 4 bits is half a byte (option C).” Respond: That is not how patterns are counted. Each extra bit doubles the number: 2, 4, 8, 16.
Checking understanding: Listen for pixels, rows, binary codes, and both settings named correctly.
Depending on the answers
- If learners mix resolution with colour depth: begin the next lesson with the blocky and banded photos.
In the lesson window
- Think it through: Without looking back, explain to a friend how a computer stores a picture, and what image resolution and colour depth each mean.
- Check your understanding: An image has a colour depth of 4 bits. How many different colours can each pixel be?
Lesson recap Closing
On the lesson window now
On screen: the lesson’s objectives again; Next adds the closing question, which asks the class to explain each one in their own words without looking back. It says nothing about what anyone has learnt: use the answers to decide what to revisit.
Points to listen for
- A computer stores an image as a grid of pixels, each with a binary colour code, row by row.
- Image resolution is the number of pixels (width × height); doubling both dimensions gives four times as many pixels.
- Colour depth is the number of bits for each pixel; n bits give 2^n colours.
- A higher resolution and a higher colour depth both improve quality and make the file bigger. They are separate settings.
- Blocky edges suggest the resolution is too low; flat bands of colour suggest the colour depth is too low.
Consolidation
- A computer stores an image as a grid of pixels, each with a binary colour code, row by row.
- Image resolution is the number of pixels (width × height); doubling both dimensions gives four times as many pixels.
- Colour depth is the number of bits for each pixel; n bits give 2^n colours.
- A higher resolution and a higher colour depth both improve quality and make the file bigger. They are separate settings.
- Blocky edges suggest the resolution is too low; flat bands of colour suggest the colour depth is too low.