(Latest Revision: 10/06/2001)
Week 06 Notes for CS 1500 -- Fall 2001
Take roll.
Announcements
- You will work on lab #4 this week. Please read the lab
directions that appear on pages 211-214 of Shiflet.
Please also look at the customized directions for the
lab in the class web space. Please perform detailed
study and rehearsal for the lab. Section #3 will do
the lab on Wednesday and section #1 will do it on
Thursday. Friday is a holiday.
- The Stanislaus CFA teach-in is coming up. It will take
place on October 17, from 10 a.m. to 3 p.m. I'm
recommending that everyone go.
Check what's new in schedule
Lecture topic: Discuss lab #4 and chapter 4 of Shiflet.
- Discuss the top down design of the lab program and have
a look at the top down design for solo program #2.
- Discuss what will be involved in writing the main
program for the lab program. What is the issue about
using braces in the first else-clause?
- Discuss what is required when creating the stubs for
the lab program.
- Discuss ideas about what the actual code should be for
the functions of the lab program.
- Discuss what will constitute proper testing of the
program.
Discuss the grader.cpp -- example of cascading if-else's.
Discuss solo program #2.
- assignment directions,
- sample output,
- structure chart,
- doing top down design
- tips,
- switch statement versus if's for choice of tax chart,
- sample function prototypes for some of the functions in the
structure chart,
Evaluating Expressions -- Look at exercise set 4.1 on pp. 152-153,
numbers 1-19. Select a representative sample and work them out with
the class.
Truth Tables for logical operators
De Morgan's Laws -- Examples of Boolean Algebra