Week
Starting |
|
1/23 |
Introduction to the course
Start Chapter 1 - Chapter 1 Notes
Look at the Practice Exercises |
1/30 |
Chapter 1 & 2
Continue with Chapter 1
Look at some Questions
Chapter 2 Notes |
2/6 |
Chapter 2 & 3
Chapter 2 Notes
Look at the Practice Exercises.
|
2/13 |
Chapter 3
Chapter 3 Notes
On-Line C Compiler
On-Line Unix Terminal |
2/20 |
Review & Test
Review for Exam
Chapters 1 thru 3
|
2/27 |
Chapter 3 Coding
Try something different, lets work on problems 3.21 & 3.22 in class
- Starter File for 3.21 - Also refer to figure 3.9
- Starter Files for 3.22 - Figures 3.17 & 3.18
- man page for shm_open
- I know the book says so , but you don't need to fork() here, the idea is to practice interprocess communication.
|
3/6 |
Chapter 4
Chapter 4 Notes
Code for figure 4.9
- compile with gcc -pthread
- to run: ./a.out 5 should give you "sum = 15"
|
3/13 |
Spring Break |
3/20 |
Chapter 5
Chapter 5 Notes
Solution to 4.22 for use in 5.39 -> compile with gcc -lpthread parallel.c -lm
|
3/27 |
Chapter 5 & Review
Finish Chapter 5
Review
- Chapter 4 Practice Exercises
- Chapter 4 Homework Exercises
- Chapter 5 Practice Exercises
- 3 requirements for critical-section problem
- pseudo code for a monitor -> 5.32
- busy-waiting
- tools for process synchronization - spinlock, semaphore, monitors, mutex locks, reader-writer, condition variables
- 5.21
- Read, really read the chapter while being able to Google.
|
4/3 |
Exam 2 & Chapter 6
Exam 2
Chapter 6 Notes |
4/10 |
Chapter 7
|
4/17 |
Chapter 8 & 9
Chapter 8 Notes
Chapter 9 Notes
|
4/24 |
Chapter 10
Chapter 10 Notes |
5/1 |
Chapter 11
Chapter 11 Notes
Review |
5/8 |
Final Exam |
Subject to change |
Assignments |
Due Date |
Description |
HW-1 Due 2/3 |
Chapter 1 - 1.13, 1.17, 1.19, 1.21, 1.22, 1.23, 1.28, 1.30 |
HW-2 Due 2/10 |
Chapter 2 - 2.13, 2.15, 2.22, 2.23 |
HW-3 Due 2/19 |
Chapter 3 - 3.6, 3.7, 3.9, 3.10, 3.13, 3.14 |
HW-4 Due 3/24 |
Chapter 4 - 4.6, 4.9, 4.11, 4.13, 4.15 |
HW-5 Due 4/1 |
Chapter 5 - 5.7, 5.10, 5.11, 5.15, 5.17 Answers
|
HW-6 Due 4/14 |
Chapter 6 - 6.10, 6.12, 6.16, 6.21 |
HW-7 Due 4/21 |
Chatper 7 - 7.11, 7.13, 7.14, 7.19 |
HW-8 |
Discuss 8.9, 8.11, 8.12, 8.14, 8.20, 8.23, 8.29 |
HW-9 |
Discuss 9.15, 9.16, 9.17, 9.18, 9.21, 9.27, TSB & 2nd Chance |
Programming Proj. |
Page 457 9.39 |
HW-10 |
Discuss 10.12, 10.17, RAID |
HW-11 |
Discuss 11.12 FAT & i-node |
|