Building an App: Color Sleuth Lesson 5-10 AP Computer Science Principles
Objectives Students will be able to: Write code to implement solutions to problems from pseudo code or description Follow the iterative development process of a collaboratively created program Develop and write code for conditional expressions to incorporate into an existing program Write a large program from scratch when given directions for each step
Building an App from Scatch In this lesson you’re going to build an app from scratch, but you’ll have guidance and help. The app you’ll make will require you to apply all of the skills you’ve learned so far: Adding event handlers Using variables Breaking problems down into functions Using if statements
Here’s what you are going to build: Looking at just this sketch of the app with its few notes about what it’s supposed to do…What are you thinking?…What are you worried about?…Are there elements of this that you’re not sure you know how to program? With an elbow partner write down two things: Make a quick list of things you’re not sure you know how to program yet, or things you’re worried about. What would be the first thing you’d try to get working? (Assume that all of the design layout is done – what’s the first code you’d write to get things started?)
Stage 10 Complete all of stage 10. You can work in pairs for this program but you must trade off typing code. If you work in pairs let me know who worked together. You need to complete this today.