Tuesday, February 10, 2009

IT104 Lesson Plan 02/10/2009

Unit 9: Repetitive Processing II
Objectives
6. Create computer programs that can do repetitive processing.
6.5: Evaluate the counter-controlled For loops.
6.6: Use sentinel values in creating computer programs.
6.7: Evaluate nested loops.
Readings
Starting Out with Programming Logic & Design. Pearson Custom Publishing, 2008.
• Chapter 5, pp. 183-211


Labs
Lab 9.1: Repetition Structures
What is the purpose?
In this lab, you will practice designing condition-controlled and counter-controlled loop
structures using While and For loops. You will design While and For loop structures
using pseudocode and flowcharts, and then implement them in Python.
What are the steps?
• Task 1: Lab 6.1—For Loop and Pseudocode
Procedure
1. Complete Lab 6.1—For Loop and Pseudocode on pp. 99-102 of
the Lab Manual to Accompany Starting Out with Programming
Logic & Design.
2. Submit your work to your instructor for grading.
• Task 2: Lab 6.2—For Loop and Flowcharts
Procedure
1. Complete Lab 6.2—For Loop and Flowcharts on pp. 103-108 of
the Lab Manual to Accompany Starting Out with Programming
Logic & Design.
2. Submit your flowchart to your instructor for grading.
• Task 3: Lab 6.3—Python Code
Procedure
1. Complete Lab 6.3—Python Code on pp. 109-113 of the Lab
Manual to Accompany Starting Out with Programming Logic &
Design.
2. Submit your completed code to your instructor for grading.
• Task 4: Lab 6.4—Programming Challenge 1: Average Test Scores
Procedure
1. Complete Lab 6.4—Programming Challenge 1: Average Test
Scores on p. 115 of the Lab Manual to Accompany Starting Out
with Programming Logic & Design.
2. Submit your work to your instructor for grading.
Did it work?
• Were you able to obtain the answers in Lab 6.1?
• Were you able to create the flowchart using Raptor in Lab 6.2?
• Where you able to create the Python code in Lab 6.3?
• Were you able to create the Python code in Lab 6.4?
• Were you able to create the pseudocode, flowchart, and Python code in Lab 6.5?
• Did you submit your work to your instructor for grading?

No comments: