AP CSP Day 3 - Expressions and Operators

AP CSP Day 3 - Expressions and Operators

Course Information


Learning Objectives

Primary Goals

Students will be able to:

  1. Define what an expression is
  2. Understand how operators work in expressions
  3. Create and evaluate expressions in programs
  4. Perform operations using different types of operators

AP Exam Alignment


Lesson Structure (50 minutes)

Opening Hook (10 minutes)

1.1 Welcome & Lesson Preview (5 minutes)

Teacher Activities:

Student Activities:

1.2 Expression Examples Challenge (5 minutes)

Activity: "Identify the Expression"
Instructions:

Purpose: Activate thinking about expressions


Core Content Instruction (20 minutes)

2.1 What are Expressions? (10 minutes)

Definition (CRD-1.C.1):

An expression is a combination of values, variables, operators, and function calls that produces a result.

Key Concepts:

Case Study: Using expressions in a simple program

2.2 Types of Operators (5 minutes)

Examples:

Discussion Questions:

  1. What makes a good expression?
  2. Can you think of an example where expressions are used in daily life?
  3. Why are expressions important in programming?

2.3 Operator Precedence (5 minutes)

Why is it important?:

Discussion Questions:

  1. How can we control the order of operations?
  2. Why is operator precedence important in programming?

Hands-On Activity (15 minutes)

3.1 Group Project: Create a Program with Expressions (15 minutes)

Activity: "Design a Program"
Instructions:

Materials:

Learning Goals:

Assessment:


Closure & Preview (5 minutes)

4.1 Key Concepts Review (2 minutes)

Today's Learning Highlights:

  1. ✅ Understanding what an expression is
  2. ✅ Identifying examples of expressions
  3. ✅ Creating and evaluating expressions in programs
  4. ✅ Performing operations using different types of operators

AP Exam Connection:

4.2 Next Class Preview (3 minutes)

Day 4 Topic: "Strings and String Operations"