CS 241 Fall 2008

 


{ System Programming }

 

 

10:00am-10:50am; MWF;

1310 Digital Computer Lab

 

 

 

Home Schedule and Lectures

 

 

CS241 Lectures

Note: Slides are marked as "(tentative)" before the lecture. These slides are not authoritative until marked as "(final)".

 

 

 

Week

Dates

Lecture

Topic

Readings

MPs and HWs

Comments

Discussion

1

8/25

1

Introduction to OS's (final)

How to study guide

 

Survey Sheet (to be filled by you; not a test!)

Slides: ppt

Handout: doc

8/27

2

Introduction to C (final)

Chapter 1; Chapter 2. C Tutorial here.

HW1 out (Text version)

 

8/29

3

C No Evil (final)

 

 

 

2

9/1

Labor Day - No Lecture

9/3

4

Operating Systems Orientation (final)

 

 

 

Slides: ppt

Handout: pdf

9/5

5

System Calls (final)

I/O Syscall tutorial here.

Use Chapter 3 for reference as needed. 

HW1 due

MP1 out

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.

MP1: Experiment and refresh your knowledge of C

3

9/8

6

Processes (final)

Chapter 4 (Sec 3.1- Sec. 3.4),

Chapter 7 (Sec 3.1- Sec 3.4)

 

 

Slides: ppt

9/10

7

Processes (2) (final)

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

 

 

9/12

8

Threads (final)

Chapter 8 (all)

 

 

4

9/15

9

pThreads Tutorial (final)

 

MP1 due

MP2 out

MP2: Basic Processes and I/O

Slides: ppt

9/17

10

Threads Systems Concepts [ppt] (final)

 

HW2 out (Doc version)

Corrections made on slides 8 and 9 after lecture

9/19

11

Scheduling Principles [ppt] (final)

Chapter 14 (Sec 9.1, 9.2).

 

Slides modified after lecture

5

9/22

12

Scheduling Principles (2) [ppt] (final)

 

MP2 due

MP3 out

MP3: Process and Thread Scheduling

Slides 6 corrected after lecture

Slides: ppt

9/24

13

Synchronization (final)

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

 

 

9/26

14

Semaphores (final)

Chapter 9 (Sec 5.3)

 

 

6

9/29

15

Semaphores and Mutex [ppt] (final)

Chapter 12

Chapter 13 (Sec 13.1-13.3)

MP3 due

MP4 out

MP4: Synchronization

Slides: ppt

10/1

16

Classic Synchronization Problems [ppt] (final)

 

 

 

10/3

17

More on Synchronization [ppt] (final)

 

 

 

7

10/6

18

Deadlocks [ppt] (final)

Chapter 10 (Sec 6.1 - Sec 6.6)

HW 2 due.

 

Slides: ppt

10/8

19

Deadlocks [ppt] (final)

 

 

 

10/10

 

Midterm Review [ppt]

Lectures 1-17

MP4 due.

 

8

10/13

 

Midterm Exam : In Class

 

 


10/15

20

Introduction to Signals, Signals, Signal Mask and Modification of Signal Masks [ppt] (final)

Chapter 15 (Sec 8.1 - Sec. 8.4)

 

 

MidTerm Overview (slides won't be posted)

10/17

21

Signals and Timers [ppt] (final)

Chapter 15 (all), Chapter 16

 

 

9

10/20

22

Allocation & VM (final)

Chapter 21 (7.1-7.2)

MP5 out

MP5: Memory

Slides: ppt

10/22

23

Paging Memory Hardware (final)

Chapter 21 (7.3)

 

 

10/24

24

Page Replacement [ppt]

Chapter 22 (8.1,8.2)

 

 

10

10/27

25

Memory/Page Allocation [ppt]

 

 

 

Slides: ppt

10/29

26

Memory Mapping

 

 

 

10/31

27

IO

 

MP5 due

 MP5 Extended Deadline until Sunday, November 2nd 2008 @ 11:59pm

11

11/3

28

Files, IO, devices [pdf] [ppt]

Chapter 10 (Sec 6.7), Chapter 18 (Sec 11.8)

 

 

Slides: ppt

11/5

29

Files, IO, devices [pdf] [ppt]

Chapter 1 (Sec 1.1, 1.4, 1.7), Chapter 18 (Sec 11.1-11.4)

MP6 out

MP6: File System

11/7

30

Files, IO, devices  [pdf] [ppt]

Chapter 10 (Sec 6.7), Chapter 8 (Sec 12.1)

 

 

12

11/10

31

Files, IO, devices  [pdf] [ppt]

Chapter 18 (appendix 11a), Chapter 19, Chapter 20

 

 

Slides: ppt

11/12

32

Introduction to Networking

Beej's Guide

HW3 out (Doc version)

 

11/14

33

Introduction to Network Programming

 

 

 

13

11/17

34

More Network Programming

 

 

 

Slides: ppt

11/19

35

Networked Applications

 

MP6 due

MP7 out

MP7: Networking and Sockets

11/21

36

Advanced Network Programming

Code Example

 

 

14

11/24-11/29

Thanksgiving Break - No Lectures

15

12/1

37

Networking

 

 

 

Slides: ppt

12/3

38

Networking

Synchronization Reloaded [ppt] [pdf]

 

HW3 due.

 

12/5

39

Synchronization Reloaded

 

 

 

16

12/8

41

Beyond CS241 [slide set 1] [slide set 2]

 

MP7 due.

 


12/10

42

Wrap up

 

 

 

Last

12/19

 

Final Exam : 8 AM - 11 AM, LOCATION: 1310 DCL (last names A - O), 2405 SC (last names P - Z)

 

 

Updated: December 18, 2008