Tuesday, February 3, 2009

IT104 Lesson Plan 02/03/2009

Objectives
6. Create computer programs that can do repetitive processing.
6.1: Use pseudocode to represent repetition structures.
6.2: Use flowcharts as a tool to represent repetition structures.
6.3: Create the While, Do-While, and Do-Until conditional loops.
6.4: Describe the implications of an infinite loop.
Readings
Starting Out with Programming Logic & Design. Pearson Custom Publishing, 2008.
• Chapter 5, pp. 163-183 and pp. 196-201


Homework

The following homework is designed to cover the course objectives for this unit.


Labs
Lab 8.1: Repetition Structures
What is the purpose?
In this lab, you will practice designing condition-controlled loop structures, including
While and Do-While loops. You will design condition-controlled loop structures using
pseudocode and flowcharts, and then implement them in the Python programming
language.
What are the steps?
• Task 1: Lab 5.1—Repetition Structures Pseudocode: Condition-controlled
Loops
Procedure
1. Complete Lab 5.1—Repetition Structures Pseudocode: Conditioncontrolled
Loops on pp. 79-81 of the Lab Manual to Accompany
Starting Out with Programming Logic & Design.
2. Submit your pseudocode to your instructor for grading.
• Task 2: Lab 5.2—Repetition Structures Pseudocode: Counter-controlled
Loops
Procedure
1. Complete Lab 5.2—Repetition Structures Pseudocode: Countercontrolled
Loops on pp. 83-86 of the Lab Manual to Accompany
Starting Out with Programming Logic & Design.
2. Submit your pseudocode to your instructor for grading.
• Task 3: Lab 5.3—Flowcharts
Procedure
1. Complete Lab 5.3—Flowcharts on pp. 87-91 of the Lab Manual to
Accompany Starting Out with Programming Logic & Design.
2. Submit your completed flowchart to your instructor for grading.
• Task 4: Lab 5.4—Python Code
Procedure
1. Complete Lab 5.4—Python Code on pp. 93-96 of the Lab Manual
to Accompany Starting Out with Programming Logic & Design.
2. Submit your completed code to your instructor for grading.
• Task 5: Lab 5.5—Programming Challenge: Yum Yum Burger Joint
Procedure
1. Complete Lab 5.5—Programming Challenge: Yum Yum Burger
Joint on pp. 97-98 of the Lab Manual to Accompany Starting Out
with Programming Logic & Design.


Did it work?
• Were you able to create the pseudocode in Lab 5.1?
• Were you able to create the pseudocode in Lab 5.2?
• Were you able to create the flowchart using Raptor in Lab 5.3?
• Where you able to create the Python code in Lab 5.4?
• Were you able to create the pseudocode, flowchart, and Python code in Lab 5.5?
• Did you submit your work to your instructor for grading?

No comments: