Control
3-5 Computer Science Modules Series
A subconcept of
Algorithms and Programming
Standard 4.AP.C.1: Develop programs the include sequences, events, loops, and conditionals.
Overview of the Lesson
If you find a dead link or error, please report it by completing this form.
What Real-World Problem Does the Standard Address?
Below is a video showing a young man eating 18 peanut butter and jelly sandwiches in one minute. He has a lot of decisions to make as he works through his problem of how to eat as many sandwiches as possible in the time allotted. As you watch the video, think about what things he is doing in regard to the following bulleted items. Relations to parts of the standard that will be clarified later are listed in parentheses after each item.
Your Turn
What is one other example of a loop (something that repeats over and over) that you can think of from your everyday life? | |
How is this video connected to this computer science standard? | |
What Does the Standard Say?
In this section you will examine the standard and think about the learning targets and potential ways of measuring student understanding of the concept by addressing the session question, "What does the standard say?"
Deconstructing the Standard
Examine how a colleague would interpret the parts of the standard for a student or parent. As you read, think about how you would help a parent interpret the standard language, if you would use the same common understandings, and why it would be important to interpret the standard.
Standard: 4.AP.C.1 Develop programs the include sequences, events, loops, and conditionals. | |
Standard Language | Common Understanding |
program | This is a set of instructions through which a computer works. When it is run, a program performs the specific task that the programmer has set for it. As humans, we essentially program everything we do by running a set of instructions through our internal computers--our brains. These sets of instructions can take the form of sequences, events, loops, and conditionals. |
sequence | A sequence is a series of actions or events. The order of those actions is fixed, and the completion of one action leads to the next action. Until one action is complete, the next one cannot begin, and none of the actions in the sequence can be skipped. Think about effectively hitting a golf ball. You have to pick up your club, stand next to the ball, pull the club back, and swing the club forward. Those actions have to be done in that order, and you can't skip any of them if you are to have any chance at moving the ball forward according to the goals of your golfing game. |
Deconstructing the Standard
Examine how a colleague would interpret the parts of the standard for a student or parent. As you read, think about how you would help a parent interpret the standard language, if you would use the same common understandings, and why it would be important to interpret the standard.
Standard: 4.AP.C.1 Develop programs the include sequences, events, loops, and conditionals. | |
Standard Language | Common Understanding |
events | Sometimes a program can be impacted by one or more events. Those events at a simple level might be actions that the end user takes, like pressing a button on the keyboard or clicking the left button on the mouse. At a more complex level, those events might be output from sensors or messages fed in from other programs. One event many people experience each morning is their alarm going off. The body is running through the sleep sequences up until that point, and the alarm is an event that triggers a whole new set of actions to begin. |
loops | Loops refer to things you do over and over again. An excellent synonym is the word "repeat." It could involve the repetition of one or more actions. For instance, a boy might tap his foot 20 times. That would be just one action, tapping his foot, repeated 20 times. A more complex loop might be a gym routine that involves performing circuits of exercises. In this case, the person lifting weights might do 12 bicep curls, 12 chest presses, and 15 ab crunches. If that same circuit of three exercises is repeated four times, that would constitute a loop of multiple actions. |
Deconstructing the Standard
Examine how a colleague would interpret the parts of the standard for a student or parent. As you read, think about how you would help a parent interpret the standard language, if you would use the same common understandings, and why it would be important to interpret the standard.
Standard: 4.AP.C.1 Develop programs the include sequences, events, loops, and conditionals. | |
Standard Language | Common Understanding |
conditionals | Conditionals are points in a computer program where it can branch out and perform different actions based upon tests of whether certain conditions set by the programmer are either true or false. These are sometimes referred as "if-then" or "if-then-else" statements in a program. For example, "if" a person is hungry, "then" he will eat some food. In this case, if he isn't hungry, he won't eat food. As a more complex example, "if" a person sees a dress she wants to buy and it is in her price range, "then" she will go ahead and buy it at that price or "else" she will ask for a discount. |
The Embedded Content of the Standard
Begin by watching the following three videos that discuss the three more complex parts of this standard--events, loops, and conditionals. As you watch, think about the real-life examples discussed so far and how they relate to the computer science concepts
The Embedded Content of the Standard
To put this all together in the context of an example encountered by many people in daily life, think about driving along the road as you encounter a stoplight like this one.
Consider your journey in terms of a sequence, event, loop, and conditional.
Achieving the Standard
Learning Targets (Student Friendly Language) | Assessment Targets (Student Evidence) |
Standard: Standard: 4.AP.C.1 Develop programs the include sequences, events, loops, and conditionals. | |
|
|
Your Turn
With respect to the standard, tell about three things you learned? | |
What are a couple other real-world connections you can make to this standard? | |
What Could This Look Like for My Students?
Think about what activities you would want your students to do in your classroom to develop their understanding.
1. Generate 3 lesson activities or ideas that would help students reach mastery of the standard.
2. Use the learning targets from the previous section as a guide of what students need to know.
3. Focus on the standard as an end goal.
Your Turn
1 | |
2 | |
3 | |
Describe in at 3-5 sentences each of the 3 lesson activities or ideas you came up with according to the instructions on the previous slide.
What Resources Could Support Further Implementation?
In this final section, you will use your knowledge of the standard to examine some potential resources. When you look through the resources, it is important to recognize that students need to actively participate in developing their understanding.
Resources About the Content
How to Teach Kids About Sequence
What is here: A brief overview of one of the first things students learn when starting to code.
Resource Link: https://www.youtube.com/watch?v=LcIJJdbG9VE
How to Teach Kids About Loops
What is here: Breaks down loops and explains with examples and applications.
Resource Link: https://www.youtube.com/watch?v=uVVSopz56ek
Resources About the Content
How to Teach Kids About Conditional Statements
What is here: Learn about conditions and how they are used in programming.
Resource Link: https://www.youtube.com/watch?v=nsQ2605KSa8
For Loop - Processing Tutorial
What is here: Demonstrates another kind of loop (more advanced).
Resource Link: https://www.youtube.com/watch?v=h4ApLHe8tbk
Resources About the Content
How to Teach Kids About Conditional Statements
What is here: Learn about conditions and how they are used in programming.
Resource Link: https://www.youtube.com/watch?v=nsQ2605KSa8
For Loop - Processing Tutorial
What is here: Demonstrates another kind of loop (more advanced).
Resource Link: https://www.youtube.com/watch?v=h4ApLHe8tbk
Resources About the Content
What is Event-Driven Programming?
What is here: Meaning, definition, and explanation of events.
Resource Link: https://www.youtube.com/watch?v=fpphnWwMrug
Resources for Lesson Ideas
Unplugged - Graph Paper Programming
What is here: Lesson that connects to the sequences part of this standard.
Resource Link to Video: https://www.youtube.com/watch?v=vBUtejDNvrs
Resource Link to Lesson: https://code.org/curriculum/course2/1/Teacher
Unplugged - Getting Loopy
What is here: Lesson that connects to the loops part of this standard.
Resource Link to Video: https://www.youtube.com/watch?v=JoKTqHCni0M
Resource Link to Lesson: https://code.org/curriculum/course2/5/Teacher
Resources for Lesson Ideas
Unplugged - For Loop Fun
What is here: Lesson that connects to the loops part of this standard.
Resource Link to Video: https://www.youtube.com/watch?v=HO4uhoahtjM
Resource Link to Lesson: https://code.org/curriculum/course4/8/Teacher
Unplugged - The Big Event
What is here: Lesson that connects to the events part of this standard.
Resource Link to Video: https://www.youtube.com/watch?v=u0WV9shCoak
Resource Link to Lesson: https://code.org/curriculum/course2/15/Teacher
Resources for Lesson Ideas
Unplugged - Conditionals with Cards
What is here: Lesson that connects to the conditionals part of this standard.
Resource Link to Video: https://www.youtube.com/watch?v=2m2Rn9VxHfU
Resource Link to Lesson: https://code.org/curriculum/course2/12/Teacher
Your Turn
What resources looked most useful to you and why? | |
What resources or information do you still need to seek out and why? | |