MOD6 - Repetition Structures (Loops)

Check How Ready You Are

This section is usually from a Chapter 5 textbook content section. Take a look at the study helps and quiz to see if you need to spend some time here. If you are not an experienced programmer trained in a formal classroom setting you may find some items you should spend extra time studying. Once you feel you have mastered this section you should be ready for our next topic of Repetition. Setting up a good Repetition Structure can increase the functionality of your program. This is another great reason to use a tool like Raptor. 

Link: Chapter 5 Review

If you are really energetic you might want to try this quiz.

Link: Chapter 5 Quiz

 

One of the most important things you can do with your computer is to repeat an action. We have several ways to describe this process.

Let's talk about a few of the highlights:

Look over your study text and get familiar with this terminology. Then we will attempt a couple of exercises.

 

Exercise #1 (Bug Collector)

If you are using the text from Tony Gaddis then you can follow along with me (Chapter 5 Programming Exercise #1). I going to solve the Bug Collector project with the help of our author's video note. Try to watch this first and then see if you can get the same solution I do. I will follow the Gaddis example and use Raptor to give me a runable flowchart.

 

 

Exercise #2 (Sum of Numbers)

Now let's complete one from scratch. This one is also from the Tony Gaddis chapter on Repition (Chapter 5 Programming Exercise #4).

1) Look over the project.

2) You may want to stop here and see if you can come up with a solution on your own.

3) Review over Carter's version of a Program Analysis Worksheet

4) Solve the problem using Raptor

Feedback for MOD6

I really appreciate feedback from people who use my site. Each time you complete a subject from the top it would be great if you could go to the last topic (Survey),complete the survey quiz and then send the email request. Thank you for your help.