CS 241: System Programming

Fall 2011

MWF
11:00am-11:50am

1404 Siebel Center

 

Home

Schedule and Lectures

 

CS241 Lectures

Important: The table below is an approximate timeline and content. It may change slightly from time to time to accommodate the pace of the class. Slides are only an aid and should not be thought of as a comprehensive study source. Slides given in class may differ slightly from those online.  

Note on Mapping: If you have Stallings 5th edition and RR 2nd edition, here is a mapping of the current textbook chapters to Stallings and RR chapters:

1 (S1), 2(RR1), 3(RR-appendix A), 4(S3), 5(S4), 6(RR2), 7(RR3), 8(RR12), 9(S5), 10(S6), 12(RR13), 13(RR14), 14(S9), 15(RR8), 16(RR9), 17(RR-appendix B), 18(S11), 19(S12), 20(RR5), 21(S7), 22(S8).

RSS Feeds for Echo:

Podcast: http://dcs-echoess.cs.illinois.edu:8080/ess/feed?id=0a6637c2-589b-4c1d-8e07-82e7fd590d66&type=MP3
Enhanced Podcast: http://dcs-echoess.cs.illinois.edu:8080/ess/feed?id=0a6637c2-589b-4c1d-8e07-82e7fd590d66&type=M4B
Vodcast: http://dcs-echoess.cs.illinois.edu:8080/ess/feed?id=0a6637c2-589b-4c1d-8e07-82e7fd590d66&type=M4V



Guide

Week

Dates

Lecture

Topic and Slides

Readings

MPs and HWs

Comments

Discussion

1

8/22

1

Introduction to OS's
(ppt)
How to study guide HW1 out 

Slides: 
ppt, pdf

8/24 2
Introduction to C
(ppt)
Chapter 1; Chapter 2. 
C Tutorial here.


8/26
3
C No Evil
(ppt)


 

2

8/29

4
Operating Systems Orientation
(ppt)
  MP1 out  MP1: Experiment and refresh your knowledge of C

Slides: 
ppt, pdf

8/31

5

System Calls
(ppt)

I/O Syscall tutorial here.

Use Chapter 3 for reference as needed. 
HW1 Due (11am)

Note: Chapter 3 gives a really good overview of UNIX survival skills: man pages, compilation, header files, libraries, macros, makefiles, debugging, etc - all you need to know before you start using UNIX.

9/2

6

Processes
(ppt)

Chapter 4 (Sec 3.1- Sec. 3.4),

Chapter 7 (Sec 3.1- Sec 3.4)
 



3

9/5

7

Labor Day, No Class

Slides: 
ppt, pdf

9/7

8
Processes (2)
(ppt)

Chapter 5 (Sec 4.1), Chapter 7 (all), Chapter 8 (Sec 12.1 - Sec 12.4)

MP1 due - 9/6
MP2 out
MP2: Basic Processes and I/O

9/9

9

Threads
(ppt)

Chapter 8 (all)

 

 

4
9/12
10
pThreads Tutorial
(ppt)

MP2 due
MP3 out
MP3:Threads  
9/14
11
Threads Systems Concepts
(ppt)



Slides: pdf, ppt
9/16
12
Scheduling Principles
(ppt)
Chapter 14 (Sec 9.1, 9.2).

 

5

9/19

13

Intro to synchronization
(ppt)




Slides: 
ppt, pdf

9/21

14

Achieving synchronization
(ppt)

Chapter 9 (Sec 5.1, 5.2), Chapter 11.



9/23

15

Semaphores
(ppt)

Chapter 9 (Sec 5.3)

Study Guide Released (doc, pdf)

 

6

9/26

16

Semaphores and Mutexes
(ppt)

Chapter 12

Chapter 13 (Sec 13.1-13.3)

MP3 due
MP4 out 

MP4: Scheduling

Slides:
ppt, pdf

9/28

17

Semaphores and Mutexes
(ppt)



9/30

18

Classic Synchronization Problems
(ppt)

 

 

7

10/3

19

Classic Synchronization Problems
(ppt)

MP4 due.
MP5 out

MP5: Synchronization

Slides: 
(ppt, pdf)

10/5

20

Deadlocks Chapter 10 (Sec 6.1 - Sec 6.6)


 

10/7

21

Deadlocks

 

 

 

8

10/10

22

Midterm Review



Tuesday, October 11, 2011
Evening Midterm Exam (7:00pm - 9:00pm)
Location (by last name):
A-L: Transportation 103
M-Z: Roger Adams Lab 116

Cancelled

10/12

23

Class Cancelled



10/14

24

Interprocess Communication: Pipes and FIFOs
Chapter 15 (Sec 8.1 - Sec. 8.4)    

9

10/17 25
Pipes, FIFOs and Message Passing

MP5 due
MP6 out
MP6: IPC

Slides:
ppt, pdf

10/19

26

Signals Chapter 15 (all), Chapter 16  
 

10/21

27
Signals

 

 

10

10/24

28

Introduction to Networking Beej's Guide to Network Programming



Slides:
ppt, pdf

10/26

29

Network Programming (Part 1) Code Example    

10/28

30

Network Programming (Part 1, Continued)

 

 

11

10/31

31

Networked Applications

MP6 due
MP7 out
MP7:Networking

Slides:
(ppt, pdf)

11/2

32

Advanced Network Programming Chapter 18 (Sec 11.8)



11/4

33

Intro to Memory Chapter 21 (7.1-7.2)

 


12

11/7

34

Intro to Memory Chapter 21 (7.1-7.3)



Slides: 
(ppt, pdf)

11/9

35

Intro to Memory
   

11/11

36

Intro to Memory



 

13

11/14

37

Intro to Memory Chapter 22 (8.1,8.2)  MP7 due
MP8 out

MP8:Memory

Slides: 
(ppt, pdf)

11/16

38

I/O and Filesystems



11/18

39

I/O and Filesystems

Study Guide Released (doc, pdf)

 


11/21

Thanksgiving Break

No Classes


11/23

11/25

14

11/28

40

I/O and Filesystems


Slides:
( ppt, pdf )

11/20

41

I/O and Filesystems Chapter 1 (Sec 1.1, 1.4, 1.7), Chapter 18 (Sec 11.1-11.4), Chapter 10 (Sec 6.7), Chapter 8 (Sec 12.1) 

 
12/2

42

I/O and Filesystems Chapter 18 (appendix 11a), Chapter 19, Chapter 20


 

15

12/5

43

Wrap up and Beyond CS241

MP8 due - 12/4


No Section
(Reading Day)

12/7

44

Review for Final Practice final exam questions

 

12/8


Reading Day

 

TBA

Final exam review session, TBA

 

12/13

Final Exam: 8:00–11:00 AM

 

Updated: August 18, 2011