Day 4 - Program Function and Purpose

Day 4: Program Function and Purpose

Learning Objectives

Essential Questions

Materials Needed

Vocabulary

Procedure (50 minutes)

Opening (10 minutes)

  1. Review and Transition (3 minutes)

    • Briefly review collaboration concepts from previous lessons
    • Transition to today's focus on understanding programs themselves
  2. Activating Prior Knowledge (7 minutes)

    • Think-Pair-Share: "What are some programs you use daily? What problems do they solve?"
    • Create class list of programs and their general purposes

Main Activities (30 minutes)

  1. Lecture: Understanding Program Purpose and Function (10 minutes)

    • Define program purpose: the problem a program is intended to solve
    • Define program function: how a program actually works to achieve its purpose
    • Explain the relationship between purpose and function
    • Show examples of programs with clear purposes and functions
  2. Demo: Analyzing Different Programs (8 minutes)

    • Present 2-3 different programs/apps
    • For each, analyze and distinguish between:
      • Purpose (problem being solved)
      • Function (how it works)
      • Behavior (what it does when executed)
    • Highlight how documentation reveals purpose and function
  3. Group Activity: Program Analysis (12 minutes)

    • Divide class into small groups (3-4 students)
    • Distribute different program descriptions/code segments to each group
    • Groups identify and document:
      • The program's purpose
      • How the program functions to achieve that purpose
      • Who the intended users are
      • How the program solves a problem
    • Groups share their analyses with the class

Closing (10 minutes)

  1. Discussion (5 minutes)

    • How can understanding a program's purpose help in evaluating its effectiveness?
    • Why is it important to distinguish between purpose and function?
    • How might a program's function fail to fulfill its intended purpose?
  2. Exit Ticket: Written Analysis (5 minutes)

    • Students select a program not discussed in class
    • Write a brief analysis of its purpose and function
    • Explain how it solves a problem for users

Assessment

Differentiation

For Advanced Students

For Struggling Students

Homework/Extension

Teacher Notes