Review, explain, practice

Study guide: Encode Pictures and Written Messages

Represent a 2×3 picture with paletteA=dark,B=light and row sequencesABA/BAB. Count pixels and estimate its data at 2 bytes per pixel; state the model’s limit.

Download the grade study pack

Ideas to explain in your own words

Useful vocabulary

pixel
One position in a raster image grid.
palette
A mapping from recorded symbols to colors or labels.
byte
A group of eight bits.

Watch your reasoning

A worked review example

A paper pixel image has 2 rows and 3 columns. How many pixel positions need values? The supported answer is 6 pixels. Applying the stated rule gives 6 pixels. Multiply the number of rows by the number of columns to count pixel positions. The count of positions is not automatically the file size in bytes. Calculation: (2*3) = 6. The model stores 8 pixels at 1 bytes per pixel, with no other data. How many bytes? The supported answer is 8 bytes. Applying the stated rule gives 8 bytes. Multiply recorded element count by the stated bytes per element, using consistent units. An uncompressed classroom estimate is not an exact real file size. Calculation: (8*1) = 8.

Make a practice plan

  1. Draw or tell one computing idea from each of the four lessons. Give one example of using each idea.
  2. Use the example to explain one mistake to avoid.
  3. Try the unit review before opening the explanations.
  4. Try the new task on paper or say your answer. Then compare your steps with the example answer.