Skip to content
Computer Science · Grade 10

Active learning ideas

Representing Audio and Video

Active learning works for this topic because students need to hear and see the effects of sampling and quantization to grasp abstract concepts like Nyquist rates and bit depth. When they manipulate audio clips or rebuild video frames, they connect theory to real-world trade-offs in file size and quality, avoiding passive absorption of technical details.

Ontario Curriculum ExpectationsCS.HS.D.1CS.HS.D.2
25–40 minPairs → Whole Class4 activities

Activity 01

Case Study Analysis30 min · Small Groups

Demo Lab: Changing Audio Sampling Rates

Provide headphones and computers with Audacity. Have small groups record a short voice clip or tone at 8 kHz, 22 kHz, and 44.1 kHz. Groups play back clips side-by-side, rate quality on a scale, and record file sizes for comparison.

Explain how analog sound and video are converted into digital formats.

Facilitation TipDuring the Demo Lab, play the same audio clip at different sampling rates while students note file size changes, so they observe diminishing returns in quality directly.

What to look forPresent students with a scenario: 'You need to upload a 3-minute song to a website that has a 5MB upload limit.' Ask them to calculate the maximum allowable bit rate (kbps) for the audio, assuming a standard 44.1 kHz sampling rate and 16-bit depth. They should show their work.

AnalyzeEvaluateCreateDecision-MakingSelf-Management
Generate Complete Lesson

Activity 02

Case Study Analysis25 min · Pairs

Pairs Task: Quantization Bit Depth

Pairs record the same sound clip and export versions at 8-bit, 16-bit, and 24-bit depths. They listen for noise differences, measure file sizes, and graph quality-size relationships on shared charts.

Analyze the trade-offs between file size and quality in digital media.

Facilitation TipFor the Pairs Task, provide students with two identical audio segments but different bit depths, asking them to measure amplitude differences before and after quantization to see how bit depth affects fidelity.

What to look forProvide students with three audio files: one WAV, one MP3, and one AAC, all of the same song. Ask them to: 1. Identify which file is which based on size and perceived quality. 2. Write one sentence explaining why the MP3 and AAC files are smaller than the WAV file.

AnalyzeEvaluateCreateDecision-MakingSelf-Management
Generate Complete Lesson

Activity 03

Stations Rotation40 min · Small Groups

Stations Rotation: Codec Compression

Set up stations with HandBrake or online tools. Groups compress a sample video using H.264, VP9, and uncompressed settings. At each station, note output size, play quality, and discuss trade-offs before rotating.

Differentiate between various audio and video file formats and their uses.

Facilitation TipAt the Codec Compression stations, have students compress the same video clip with MP4 and H.264 at varying bitrates, then compare file sizes and visual artifacts side by side to identify compression trade-offs.

What to look forFacilitate a class discussion: 'Imagine you are creating a YouTube video. What factors would influence your choice of video codec and resolution? Discuss the trade-offs between file size, upload time, and viewer experience.'

RememberUnderstandApplyAnalyzeSelf-ManagementRelationship Skills
Generate Complete Lesson

Activity 04

Case Study Analysis35 min · Whole Class

Whole Class: Format Comparison Challenge

Share sample files (MP3, WAV, MP4, AVI) via projector. Class votes on best uses for scenarios like podcasting or gaming, then verifies with file properties and playback tests.

Explain how analog sound and video are converted into digital formats.

Facilitation TipIn the Format Comparison Challenge, assign each group a different video format (e.g., MOV, WebM, MP4) to research and present, ensuring they address resolution, codec, and use-case suitability.

What to look forPresent students with a scenario: 'You need to upload a 3-minute song to a website that has a 5MB upload limit.' Ask them to calculate the maximum allowable bit rate (kbps) for the audio, assuming a standard 44.1 kHz sampling rate and 16-bit depth. They should show their work.

AnalyzeEvaluateCreateDecision-MakingSelf-Management
Generate Complete Lesson

A few notes on teaching this unit

Approach this topic by starting with concrete examples students know well, like music files or YouTube videos, then reveal the technical processes behind them. Avoid overwhelming students with equations; instead, use real files and tools to let them discover relationships between sampling rates, bit depth, and file size. Research shows that when students manipulate variables themselves, they retain concepts better than through lectures alone.

Students demonstrate understanding by predicting outcomes before changing settings, explaining trade-offs with evidence from their demos or stations, and justifying codec choices based on file size and perceptual quality. They should articulate why some changes improve audio or video and others waste resources.


Watch Out for These Misconceptions

  • During Demo Lab: Changing Audio Sampling Rates, watch for students assuming that higher rates always create noticeably better audio without considering file size or hardware limits.

    After resampling the same clip at 44.1 kHz, 48 kHz, and 96 kHz, have students measure file sizes and conduct a blind listening test in pairs, then discuss why improvements plateau beyond 48 kHz for most listeners.

  • During Station Rotation: Codec Compression, watch for students treating all video formats as interchangeable without considering compression methods or intended use.

    Provide a table with columns for format, codec, average bitrate, and typical use-case. Have students fill it in as they test each station, then present how motion prediction in H.264 differs from simple frame storage in uncompressed formats.

  • During Format Comparison Challenge, watch for students assuming that all compressed formats (e.g., MP3, AAC) sound identical to the original WAV file.

    Play three versions of the same clip in random order and ask students to rank them by quality. Then, reveal the file sizes and lead a discussion on perceptual coding and how lossy compression discards frequencies beyond human hearing.


Methods used in this brief