Day 5 - Data Abstraction and File Formats

Day 5: Data Abstraction and File Formats

Learning Objectives

Essential Questions

Materials Needed

Vocabulary

Procedure (50 minutes)

Opening (8 minutes)

  1. Review and Connection (3 minutes)

    • Review binary representation of different data types from previous lessons
    • Connect to today's focus on how bits are organized into file formats
  2. Warm-up Activity (5 minutes)

    • Display several file extensions (.jpg, .mp3, .docx, .html, etc.)
    • Ask students to identify what type of data each extension represents
    • Discuss: "Why do we need different file formats for the same type of data?"

Main Activities (32 minutes)

  1. Lecture: Data Abstraction (10 minutes)

    • Explain how bits are grouped to represent abstractions
    • Discuss the layers of abstraction in computing:
      • Bits → Bytes → Data types → Files → Applications
    • Explain how abstraction hides complexity
    • Discuss how the same binary sequence could represent different things depending on context
    • Explain how file formats provide context for interpreting binary data
  2. Exploration: File Formats (12 minutes)

    • Divide students into small groups
    • Assign each group a category of data (text, image, audio, video)
    • Groups research and document:
      • Common file formats for their category
      • Key features of each format
      • Typical use cases
      • Advantages and disadvantages
    • Groups create a comparison chart for their assigned formats
  3. Comparison Activity: Analyzing File Formats (10 minutes)

    • Provide students with the same content in different file formats
      • Text: .txt vs .docx vs .pdf
      • Image: .bmp vs .jpg vs .png vs .gif
      • Audio: .wav vs .mp3 vs .flac
    • Students examine and compare:
      • File sizes
      • Quality/fidelity
      • Compatibility
      • Features supported
    • Students document their findings in a comparison worksheet

Closing (10 minutes)

  1. Group Sharing (5 minutes)

    • Each group briefly shares their findings about their assigned file formats
    • Create a class reference chart of common file formats and their uses
  2. Exit Ticket and Preview (5 minutes)

    • Students complete an exit ticket comparing and contrasting different file formats for the same type of data
    • Preview that next class will focus on lossless data compression

Assessment

Differentiation

For Advanced Students

For Struggling Students

Homework/Extension

Teacher Notes