Skip to content

Representing Text and ImagesActivities & Teaching Strategies

Active learning makes abstract concepts concrete for students, which is especially important when teaching how computers represent text and images. By handling binary codes, color values, and file sizes directly, students build mental models that textbooks alone cannot convey.

Grade 10Computer Science4 activities20 min45 min

Learning Objectives

  1. 1Analyze the structure and function of character encoding schemes like ASCII and Unicode.
  2. 2Explain how pixels and color models, such as RGB, represent digital images.
  3. 3Compare the storage requirements for text files versus uncompressed image files.
  4. 4Calculate the approximate storage space needed for a given amount of text based on character encoding.
  5. 5Identify the trade-offs between image resolution, color depth, and file size.

Want a complete lesson plan with these objectives? Generate a Mission

30 min·Pairs

Pairs: ASCII Text Encoder

Pairs receive printed ASCII tables and sample text. They convert each character to 8-bit binary by hand, then verify using an online converter. Finally, they decode a binary string back to text and discuss patterns in bit usage.

Prepare & details

Analyze how character encoding schemes like ASCII and Unicode work.

Facilitation Tip: During the ASCII Text Encoder activity, circulate to ensure pairs record both the ASCII lookup and binary conversion for each character to reinforce the connection.

Setup: Groups at tables with access to source materials

Materials: Source material collection, Inquiry cycle worksheet, Question generation protocol, Findings presentation template

AnalyzeEvaluateCreateSelf-ManagementSelf-Awareness
45 min·Small Groups

Small Groups: Pixel Color Mixer

Groups use graph paper to create 8x8 pixel art, assigning RGB values (0-255) to each square. They calculate total storage in bytes (3 bytes per pixel) and recreate the image on digital tools like Paint. Compare group artworks for size differences.

Prepare & details

Explain how pixels and color models represent images digitally.

Facilitation Tip: For the Pixel Color Mixer, provide a color wheel reference so students can verify RGB values before converting to hex.

Setup: Groups at tables with access to source materials

Materials: Source material collection, Inquiry cycle worksheet, Question generation protocol, Findings presentation template

AnalyzeEvaluateCreateSelf-ManagementSelf-Awareness
25 min·Whole Class

Whole Class: File Size Challenge

Display images of varying resolutions and color depths. Class predicts uncompressed sizes using formulas (width x height x bit depth / 8). Reveal actual sizes with file properties and vote on most efficient for web use.

Prepare & details

Compare the storage requirements for different types of digital media.

Facilitation Tip: In the File Size Challenge, give sample files with different resolutions so groups can see how changing dimensions affects storage.

Setup: Groups at tables with access to source materials

Materials: Source material collection, Inquiry cycle worksheet, Question generation protocol, Findings presentation template

AnalyzeEvaluateCreateSelf-ManagementSelf-Awareness
20 min·Individual

Individual: Unicode Explorer

Students pick a non-English phrase and find its Unicode code points online. They note hex values, bit lengths, and compare to ASCII limits. Journal how this supports multilingual apps.

Prepare & details

Analyze how character encoding schemes like ASCII and Unicode work.

Setup: Groups at tables with access to source materials

Materials: Source material collection, Inquiry cycle worksheet, Question generation protocol, Findings presentation template

AnalyzeEvaluateCreateSelf-ManagementSelf-Awareness

Teaching This Topic

Teachers should start with hands-on encoding before explaining theory, letting students discover patterns like how ASCII uses 7 bits for common characters. Avoid diving into compression algorithms too early; focus first on how raw data is represented. Research shows that students grasp binary encoding better when they convert their own names or short messages, which makes the topic personal and memorable.

What to Expect

Successful learning looks like students confidently converting characters to binary, mixing colors to match hex codes, and calculating storage sizes with clear reasoning. They should explain why different encodings matter and justify their choices with evidence from the activities.

These activities are a starting point. A full mission is the experience.

  • Complete facilitation script with teacher dialogue
  • Printable student materials, ready for class
  • Differentiation strategies for every learner
Generate a Mission

Watch Out for These Misconceptions

Common MisconceptionDuring the ASCII Text Encoder activity, watch for students who assume letters are stored as images of letters.

What to Teach Instead

Have them build a lookup table where each character is mapped to its ASCII code and binary representation. Ask them to verify that 'B' always maps to 01000010, regardless of how it looks on screen.

Common MisconceptionDuring the Pixel Color Mixer activity, watch for students who think higher resolution always means larger file size.

What to Teach Instead

Provide a 2x2 pixel image and a 4x4 version of the same image for comparison. Guide them to calculate the storage difference to reinforce that more pixels require more bits.

Common MisconceptionDuring the Unicode Explorer activity, watch for students who believe Unicode uses the same fixed bits per character as ASCII.

What to Teach Instead

Give them a short English word and a word with accented characters. Have them use an encoding tool to observe how common letters use fewer bits while special characters expand.

Assessment Ideas

Quick Check

After the ASCII Text Encoder activity, provide a short paragraph of text. Ask students to calculate the file size in bytes using ASCII (8-bit) and identify one advantage of using Unicode for this text.

Exit Ticket

During the Pixel Color Mixer activity, have students draw a 2x2 grid and assign RGB values to each pixel. Ask them to describe the resulting image and calculate its storage requirement in bits.

Discussion Prompt

After the File Size Challenge activity, pose the question: 'Why might a company choose a lower resolution image even if it reduces visual detail?' Guide students to discuss trade-offs between quality, file size, and loading speed.

Extensions & Scaffolding

  • Challenge: Ask students to compress their ASCII-encoded text using run-length encoding and compare file sizes.
  • Scaffolding: Provide pre-filled binary tables for students to match characters during the ASCII encoder activity.
  • Deeper exploration: Have students research how emojis are encoded in Unicode and present their findings to the class.

Key Vocabulary

Character EncodingA system that assigns a unique numerical code to each character, allowing computers to store and process text.
ASCIIAn early character encoding standard that uses 7 or 8 bits to represent 128 or 256 characters, primarily for English text.
UnicodeA universal character encoding standard designed to represent characters from virtually all writing systems, using variable-length encoding.
PixelThe smallest controllable element of a picture represented on a screen, forming an image when arranged in a grid.
Color Model (RGB)A system, like RGB (Red, Green, Blue), that defines how colors are represented digitally by assigning numerical values to primary color components.

Ready to teach Representing Text and Images?

Generate a full mission with everything you need

Generate a Mission