Spotting patterns in an encoded image

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Spotting patterns in an encoded image

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. A pixel image code has these rows: 0110, 0110, 0110, 0110. What pattern can you spot?
A Every row is the same (repeating rows)
B Every row is different
2. Which row is symmetrical, meaning it reads the same from left to right and right to left?
A 1011
B 1001
3. A row of an image is 1111110000. Which description fits best?
A The digits swap every time: 1, 0, 1, 0
B A run of six 1s followed by a run of four 0s
4. An image has these rows: 00100, 01110, 11111, 01110, 00100. Which sentence describes a pattern?
A The rows mirror each other from top to bottom
B The rows are all exactly the same
5. Which is a good way to describe a pattern in words?
A Rows 1 and 3 are the same, and row 2 is all 1s
B It looks kind of nice

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
10110 0110 0110 A11110000
21001 0110 1001 B10101010
3A run of the same digit is a pattern: a long stretch of one digit in a row. CA symmetrical row reads the same forwards and backwards. 0111 backwards is 1110, so the row is not symmetrical.
4A pattern can be described in words, such as 'the digits swap between 1 and 0 every time'. DRepeating rows: the same row of digits is used again and again, so the picture has stripes.
5Row 1: 0110 Row 2: 0110 Row 3: 1001 'All three rows repeat.' EA symmetrical picture: the rows mirror each other, so the top row matches the bottom row.
60111 1110 'This row is symmetrical.' FRow 3 is different from rows 1 and 2, so only the first two rows repeat. The claim should say 'rows 1 and 2 repeat'.

Definitions

pattern

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
Row 1: 1001 Row 2: 1001 Row 3: ____
2.
Symmetrical row: 1100 then ____
3.
1110000 has a run of four _s
4.
Row: 1100 0011 Left mirrors right, so it is ___________
5.
01010101 repeats the pair __ four times

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A Row 1: 0110
B Row 2: 0111
C Row 3: 0110
D Pattern: all rows repeat
Question 2
A Row 1: 10001
B Row 2: 01010
C Row 3: 00110
D Row 4: 01010
E Pattern: left mirrors right
Question 3
A Row 1: 11100000
B Run of 1s: 4
C Run of 0s: 4
Question 4
A Row 1: 101
B Row 2: 110
C Row 3: 010
D Rows 1 and 2 repeat
Question 5
A Row: 000111
B Run 1: three 0s
C Run 2: four 1s

Answer Key

Spotting patterns in an encoded image
Section A: Quick Questions
Q1
A — Every row is the same (repeating rows)
Q2
B — 1001
Q3
B — A run of six 1s followed by a run of four 0s
Q4
A — The rows mirror each other from top to bottom
Q5
A — Rows 1 and 3 are the same, and row 2 is all 1s
Section B: Match the Pairs
Q1
0110 0110 0110 → Repeating rows: the same row of digits is used again and again, so the picture has stripes.
Q2
1001 0110 1001 → A symmetrical picture: the rows mirror each other, so the top row matches the bottom row.
Q3
A run of the same digit is a pattern: a long stretch of one digit in a row. → 11110000
Q4
A pattern can be described in words, such as 'the digits swap between 1 and 0 every time'. → 10101010
Q5
Row 1: 0110 Row 2: 0110 Row 3: 1001 'All three rows repeat.' → Row 3 is different from rows 1 and 2, so only the first two rows repeat. The claim should say 'rows 1 and 2 repeat'.
Q6
0111 1110 'This row is symmetrical.' → A symmetrical row reads the same forwards and backwards. 0111 backwards is 1110, so the row is not symmetrical.
Section C: Definitions
Q1
pattern — Something that repeats or mirrors in an image code, like matching rows, a symmetrical picture or a run of the same digit. You can spot it and describe it in words.
Section D: Fill in the Blanks
Q1
Row 1: 1001 Row 2: 1001 Row 3: 1001
Q2
Symmetrical row: 1100 then 0011
Q3
1110000 has a run of four 0s
Q4
Row: 1100 0011 Left mirrors right, so it is symmetrical
Q5
01010101 repeats the pair 01 four times
Section E: Spot the Error
Q1
B — The pattern says all rows repeat, so row 2 must match the others. It should be 0110, not 0111.
Q2
C — For a picture that mirrors left to right, each row reads the same backwards. 00110 does not, so row 3 should be 00100.
Q3
A — The notes say there is a run of four 1s and a run of four 0s. The row should be 11110000, with four 1s then four 0s.
Q4
B — The last line says rows 1 and 2 repeat, so row 2 must be the same as row 1. It should be 101.
Q5
C — The row 000111 ends with a run of three 1s, not four. The line should say 'Run 2: three 1s'.