(Latest Revision: 02/20/2003)
Week 02 Notes for CS 3100 -- Spring 2003
- Take Roll.
- Pass out accounts
- Announce: we read chapter 9 before chapter 8.
- Show where to get course descriptions online
- See if anyone needs to be shown how to ssh from a PC.
- Show people how to launch a browser and editor.
- Show the class a sample of what they should have turned in for the
"Hello World" assignment, or just do the assignment.
- Show where to get hello world-handouts and Jove handouts online:
- We are reading chapter one (program design) and chapter six
(stacks).
- Note the due date for Programming assignment #1.
- Discuss the design of the solution to program #1. Discuss help
and hints.
- First figure out how all the operations are going to work.
- One possibility: initialize the integer to zero and enqueue
by multiplying by 27 and adding a code (1-26).
- First things to code could be default constructor and tests
for empty queue and full queue.
- Discuss implementation of the full test and the relation to
the value of ULONG_MAX.
- One might next code the operations that enqueue, get queue
front, and dequeue.
- Discuss program testing strategies and requirements.
- Data Coverage -- Black Box Testing
- Average inputs
- inputs near and on boundaries
- Code Coverage -- White/Clear Box Testing
- Statement Coverage
- Path Coverage
- Discuss top-down program design methodology using online examples
of level-one through level-three programs?
- Show example of reading e-mail on the Sun Ultra's?
- Discuss the class mailing list?
- The compiler command option for naming the executable file:
(ng++ -o driver driver.cpp stack.cpp)
- Discuss compiling/debugging with jove
- How to execute the compiler "inside" jove:
(C-u, C-x, C-e)
- How to break out of jove to a sub-shell
whilst "saving your place": (M-s)
- Testing the program while in the sub-shell.
- How to break out of the sub-shell and return
to "your place" in jove: (exit)