2.4. I Have a Dream Part 2 Explore Curricular Activity¶
This lesson extends the app begun in Part I of the 'I Have a Dream Tutorial' by adding a second button and an if/else algorithm to its code. The if/else construct is one of the essential building block for algorithms. It enables the app to select between two different behaviors depending on the user's action. This reinforces the enduring understanding that algorithms are a precise sequence of instructions executed by a computer.
CSP Framework | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Big Idea 1: Creative Development (CRD) | |||||||||||||||||||||||||||||||||||||||||
Enduring Understanding CRD-1: Incorporating multiple perspectives through collaboration improves computing innovations as they are developed. | |||||||||||||||||||||||||||||||||||||||||
Learning Objective CRD-1.A: Explain how computing innovations are improved through collaboration. | |||||||||||||||||||||||||||||||||||||||||
Learning Objective CRD-1.B: Explain how computing innovations are developed by groups of people. | |||||||||||||||||||||||||||||||||||||||||
Enduring Understanding CRD-2: Developers create and innovate using an iterative design process that is user-focused, that incorporates implementation/feedback cycles, and that leaves ample room for experimentation and risk-taking. | |||||||||||||||||||||||||||||||||||||||||
Learning Objective CRD-2.A: Describe the purpose of a computing innovation. | |||||||||||||||||||||||||||||||||||||||||
Big Idea 3: Algorithms and Programming (AAP) | |||||||||||||||||||||||||||||||||||||||||
Enduring Understanding AAP-2: The way statements are sequenced and combined in a program determines the computed result. Programs incorporate iteration and selection constructs to represent repetition and make decisions to handle varied input values. | |||||||||||||||||||||||||||||||||||||||||
Learning Objective AAP-2.H.a: For selection: a. Write conditional statements. Learning Objective AAP-2.H.b: For selection: b. Determine the result of conditional statements. | |||||||||||||||||||||||||||||||||||||||||
Professional Development
The Student Lesson: Complete the activities for Mobile CSP Unit 2 Lesson 2.4: I Have a Dream, Part 2.
Materials
- Access to computer, laptop, or Chromebook (install the Companion app on Chromebooks)
- Access to mobile device with the Companion app installed or access to the emulator installed on the computer or laptop. (suggested list of mobile devices)
- I Have a Dream, Part 2 Tutorial (video or handout)
- Explore Curricular Activity - "What is a computing innovation?" Notes Worksheet
2.4.1. Learning Activities¶
Estimated Length: 45 minutes
- Hook/Motivation (5 minutes): Think-Pair-Share: How you might add another speaker to the I Have a Dream app? What user interface components would they need? How would their blocks change?
- Experiences and Explorations (20 minutes): Lead the students through the I Have a Dream, Part 2 Tutorial, which adds an image component, another button, and a horizontal arrangement so that speeches from both MLK and Malcom X can be played. The app also introduces selection through the use of an if/else block. You can use the short handout version of the tutorial to help you lead the lesson.
Explore Curricular Activity - What is a computing innovation? (10 minutes): Discuss what a computing innovation is and how the app they have just created is an example of a computing innovation. Discuss how effective collaboration can help when developing computing innovations. (Note: This activity is part of the Explore Curricular Requirements for AP CSP. Additional resources and materials can be found in the Explore Curricular Requirement Teacher Resources guide available as a secure document through the AP Classroom site.)
- Rethink, Reflect and/or Revise (10 minutes):
- Self-Check: Ask students to complete the interactive exercises below the tutorial. This can be done independently, in pairs, or as a class.
- Discussion questions: What are some things to remember as more components are added to the user interface? What are some other examples of computing innovations?
- Reflection: Ask the students to write a reflection in their Google portfolio that explains conditional logic with if/else blocks. They might also reflect on further enhancements that could be made to the I Have a Dream app.
2.4.2. Professional Development Reflection¶
Discuss the following questions with other teachers in your professional development program.
- How does this lesson help students toward the enduring understanding that the way statements are sequenced and combined in a program determines the computed result. Specifically, how do selection statements (if/else statements) determine which two parts of an algorithm are used?
-
I am confident I can teach this lesson to my students.
- 1. Strongly Agree
- 2. Agree
- 3. Neutral
- 4. Disagree
- 5. Strongly Disagree