Lectures
This page will contain notes and examples from lecture.
| Topics | Delivered | Slides | Other files | Readings and Problems |
| Admin and Software Tools | Week 1 | wk1.pdf (now in 1-up) |
faculty
day class script (Wed) evening class script firstShellProgram day class script (Fri) |
|
| Shells and Shell Programming | Week 2 | wk2.pdf |
Day class scripts
(Wed)
(Fri) eve class script (Wed) |
|
| Finishing Shells and Introducing C | Week 3 |
Slides to finish up Shell Programming
Intro C Slides |
day class sh program
evening class sh program gcd.c help.c datatypes (from Fri class) |
King chapters 1-7 |
| More C (guest lectures from Karen Reid) | Week 4 |
Draft Slides on C pointers
Slides on Writing Man Pages |
King chapters 8,11 and 12 | |
| C strings and 2D arrays | Week 5 |
Lecture slides Malloc slides |
playWithStrings.c (from Wed class) reverse.c (from Wed night class) |
Some extra problems for practice
King chapter 13 |
| Files, Memory, getopt, structs | Week 6 | structs/files slides | Haviland Ch 1, 2.2-2.4, 3.3, 4.1, 4.2, 4.4 | |
| C Odds and Ends, Make, Fork | Week 7 |
Make slides Fork slides |
simplefork.c waitexample.c |
King Ch 14.1-14.4, 15 Haviland Ch 5 |
| Exec and Pipes | Week 8 |
Exec and Pipe slides |
pipe1.c sample code |
Haviland Ch 7 |
| Pipe Example, Function Pointers, Signals | Week 9 |
Pipe slides Signals slides |
workers.c function pointer code signals example code |
King 17.7, Haviland ch 7 |
| Finishing Signals (signal masks) and Sockets | Week 10 | Internet and Socket slides |
maskex.c myshell.c from tutorial |
Haviland: Chapter 10 |
| Sockets and Select | Week 11 | No new slides this week. |
inetserver.c inetclient.c selectserver.c |
Haviland 7.1.6 |
| Bit Sets and Concurrency | Week 12 |
Bit Set Slides Concurrency Slides |
bitsExample.c a.sh b.sh c.sh d.sh |
King: 20.1, 20.2 |
| Threads, Review and Exam Prep | Week 13 |
Threads lecture notes Week13-review.pdf |
mutex.c |