(Latest Revision: 09/21/2001)
Week 04 Notes for CS 1500 -- Fall 2001
Take roll.
Announcements
- I posted directions for Lab #3. Please study and
rehearse them.
- Guillermo Vargas is now conducting tutoring sessions
for CS 1500 and CS 2500, Monday-Thursday, 4:00-5:00,
P-280 or P-288.
Check what's new in schedule
Possible Lecture Topics
- It is especially important to read sections 1-2 of
chapter 3 of Shiflet to prepare for doing lab #3 at the
end of this week.
- Look at ex0301.cpp.html to see a program that has the
features needed for the program of lab #3.
- Look at sample1.cpp.html for a similar example.
- Show an example of what it involved in the actual
writing of the solo #1 program.
- Go over material to test understanding of operator
precedence (typical quiz topic)
- Note how top-down design is used to organize a program
into a set of simple functions (rather than a single,
complicated function.)
- Further topics related to function calls:
- how value parameters are passed
- why an expression can be used as an actual value
parameter
- The fact that a variable can be used as an actual
parameter when the name of the variable is not the
same as the name of the formal parameter.
- understanding the scope of a local variable.
- understanding that a called function cannot change
the caller's copy of a parameter passed by value.
- global variables are special: visible everywhere
except where they are "masked."
- ADT's and classes: what are they and what are they good
for?