(Latest Revision: 09/10/2000)
Week 02 Notes for CS 3100 -- Fall 2000
Monday, September 11
- Take Roll.
- Pass out accounts
- See if anyone needs to be shown how to telnet from
a PC.
- Show people how to launch a browser and editor.
- Do "Hello World" Assignnent
- Where to get hello world handouts
and Jove handouts online:
Wednesday, September 13
- Take Roll.
- Announcement: Combined AMP Computer Science review
sessions for CS 1500 and CS 2500 will commence on
September 19. Sessions will be held in P-280
according to the following schedule:
- Tuesdays 4:00 pm - 4:50 pm
- Wednesdays 12:20 pm - 1:10 pm and 3:35 pm - 4:25 pm
- Fridays 2:10 pm - 3:00 pm
- Show the class a sample of what they should have
turned in for the "Hello World" assignment.
- We are reading chapter one (program design) and
chapter six (stacks).
- Programming assignment #1 is due in less than two
weeks.
- Discuss top-down program design methodology using
online examples of level-one through level-three
programs.
- 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 push by multiplying by 27 and adding
a code (1-26).
- First things to code could be default
constructor and tests for empty stack and
full stack.
- One might next code the operations that push,
get stack top, and pop.
Friday, September 15
- Take Roll.
- Show example of reading e-mail on the Sun Ultra's.
- Discuss the class mailing list (majordomo::cs3100-1)
- More discussion of the programming assignment.
- The compiler command option for naming the
executable file:
(g++ -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)
- Discuss implementation of the full test and the
relation to the value of ULONG_MAX.