Wiki Page, AP CSP: Module 10: Doing Things Over and Over (Loops)

Wiki Page
2016-07-21T11:18:35-06:00

AP Computer Science Principles Curriculum Framework
Big Ideas:
1-Creativity, 2-Abstraction, 4-Algorithms, 5-Programming
Enduring Understandings:
1.1, 1.2, 1.3, 2.2, 4.1, 4.2, 5.1, 5.2, 5.3, 5.4, 5.5

Module 10: Doing Things Over and Over (Loops):

"One of the real powers of computers and computing is that we can give them some instructions, but in some way ask the computer to do those over and over again. Computers are good at doing things repeatedly -- they don't get tired or bored. This is why computers are used to count things like voting ballots, or to count money say at a change counting machine, or to scan and add up the cost of groceries or other items when you check out at a store.

In this module we will learn two kinds of loops -- control structures (like if/elses and doTogethers). We will use counted loop tiles -- where everything on that tile is executed a specific number of times (2 times, 5 times, etc.). We will also use while loop tiles -- where everything on that tile is executed as long as some condition is true (keep playing while you have life points, keep driving as long as the stoplight is not red, etc)." Dr. Beth Simon, UC-San Diego.

Essential Questions

By the end of this module, you should be able to answer the following essential questions:

What are iterations, and how are loops associated with iterations?

What are “counted” and “nested” loops, and how they are used in computer programs? What are some examples?

How are nested loops used in computer programs to create more complex behaviors or make repeated things happen in more complicated ways?

How are “conditional (while)” loops and Boolean expressions used to execute a set of computing instructions?

Daily Learning Targets for Module 10 Loops

By the end of this module, you should be able to:

Define/Explain/Describe iterations, loops and their association and how they are used in computer programs.

Create “counted” and “nested” loops and understand why, when and where to use them in computer programs.

Explain/Describe and demonstrate how nested loops are used in computer programs to create more complex behaviors or make repeated things happen in more complicated ways.

Explain/Describe and demonstrate how conditional (while) Loops and Boolean expressions are used to execute a set of computing instructions.

Assignments, Quizzes, Labs and Problems to be Completed

Complete the Module 10 Questions assignment.

Create and complete the Module 10 Alice worlds.

Create and complete the Lab 10 Alice worlds.

Answer the questions for Lab 10.

You have until the Monday, May 9th, (periods 1 and 5) and Tuesday May 10th (periods 2 and 6) to complete both digital artifacts for the performance task Create.

Remember, grammar and punctuation counts!

We will be learning a lot of new things this week. Keep track of the assignments and the time you need to complete them!