Announcements
- Assignment 1 grade reports were emailed out this morning.
- Median grade was a perfect 56 out of 56.
- Average style grade was halfway between a 'solid' and a 'minor-problems'.
- Functionality counts five times as much as style in CS110.
- I care about software engineering and code clarity, but..
- I care about working code more.
- Style grades translate as follows:
- exceptional -> 105%
- solid -> 95%
- minor-problems -> 80%
- major-problems -> 60%
- Assignment 2 falls due this Wednesday at 11:59 p.m.
- Assignment 3 goes out on Wednesday, not due for 11 days.
- Readings:
- Finish reading B&O Chapter 2 (Chapter 10 of full textbook) so you can confirm that you know most of the material there, as I covered much of it during the first two weeks of lecture.
- Finish reading B&O Chapter 1 (Chapter 8 of the full textbook), focusing on Section 5, which covers process groups, signals, and signal handlers, all three of which are relevant to your next few assignments.
Today
- Today's topics are all kinds of awesome.
- We have a few lecture examples from last Wednesday to work through. In particular, we want to implement a collection of miniature shells to illustrate how fork, waitpid, and execvp work.
- I want to introduce the notion of a pipe, the pipe and dup2 functions, and how they can be used to foster more sophisticated communication between the different processes.
- Later today or first thing Wednesday, we'll begin our discussion of signals and signal handlers.