Course              CSC 345 - Operating Systems

Description       This is an introductory course to the theory, design and implementation of operating systems. A typical operating system is the software layer between user programs and the computer hardware.  It provides abstractions (processes, file system, etc.) of the underlying hardware that are easier to program, and it manages the hardware resources.
We will cover the following
basic operating system topics, including processes, CPU scheduling, synchronization, deadlock detection/avoidance, memory management, and file and I/O systems. Basic security and one of case studies may be covered as time permits.

Prerequisites     CSC 240 and CSC 265

Time & Room    MWF 9:30 - 10:45, Nethken 243

Course URL

Instructor          Dr. Chokchai (Box) Leangsuksun

Grader              TBA

Texts                Silberschatz, Abraham, and Peter Galvin, Operating System Concepts, 6th Ed., John Wiley & Sons, 2002, ISBN 0-471-41743-2, 887 pp.

 In addition to materials from the above main textbook, Iíll provide more references (URL or some books) when we  discuss on some particular topics in the programming projects..

Grading Policy   3 Programming Projects                  45%     (see more details below)

                         4 Homework assignments               10%

                         Midterm Examination                      20%     Wednesday, April 10

                         Final Examination (comp.)   25%     Wednesday, May 15

Programming     There will be three programming projects and objective. I will explain

Projects             More detail for each project and my expectation. Additional references will be provided in the class.

1.      A simple shell is a basic shell program that supports commands with I/O re-direction.

Objective: To learn a user interface aspect (shell), how to interface to process management and basic I/O system calls.

2.      Dining Philosophers: You will implement the DP solution using some synchronization mechanisms (e.g semaphore) and analyze the solution with regards to starvation of processes to see if it occurs regularly in practice.

Objective: To understand synchronization issues and to learn how to use process management and synchronization system calls

3.      FIFO device driver

Objective: To understand I/O system and learn how to develop a device driver interface to a kernel.


Class Materials

Date Topics
3/6/2002  Class syllabus and Chapter 1 Introduction
3/8/2002 Chapter 1 Introduction (pdf, ppt )& Chapter 3 Operating System Structure (pdf, ppt)
3/11/2002  Chapter 3 Operating System Structure (continue) and Chapter 4 Process