(Latest Revision: 03/12/2000)

Week 05 Notes for CS 1500 -- Spring 2000
(this is draft material)

* Take roll

* Take a look at the schedule for the week.  We
  have a quiz on Friday, and reading to do.

* Look at the web-posted information to help
  prepare for the quiz.

* Class grades -- more there??

* What were the most frequent errors in the lab
  program?

* Notice: Lab is a cooperative activity carried
  out by you and your partner.  You have to be
  present in lab to get credit for doing the lab.
  You have to work with your partner if your
  partner is present, or if I assign you a partner
  for the session.  To avoid problems, rehearse
  the lab in advance, and partners, defer to the
  better knowledge of your partner.  This will
  take care of most problems.  You are supposed to
  turn in lab work by the end of the lab session,
  or ASAP afterward.  Next-day submissions are not
  usually OK.  If you need special consideration,
  ask me.

  One of the good things about working with a
  partner is that A can work at the keyboard
  while B checks what A is doing for "sanity."
  If we ever have a minor "crisis" in the lab,
  you may see two of the senior faculty and/or
  staff working like this.  We do this because
  it is effective and necessary.  (Not just
  because we like each other :-)

* Lecture topic: Look at some sample programs --
  answer questions that test understanding of
  how functions are implemented, ARGUMENTS
  ("actual parameters"), (formal) PARAMETERS,
  LOCAL VARIABLES, SCOPE, GLOBAL VARIABLES,
  MASKING, etc.

* Lecture topic: IF-ELSE and NESTING.  Look at
  sample functions.  Guess the outputs.

* Lecture topic: EVALUTATING 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.