CMP 426 & CMP 697 - Operating Systems
Fall 2024 Syllabus

Course Information
Course Section Lecture Hours Location
CMP 426 & CMP 697 - ZH81 Mo & We 6:00 pm – 7:40 pm GI 333
Contact Information
Instructor: Steven Fulakeza Email: steven.fulakeza(at)lehman.cuny.edu
Phone: NA Office Location: GI 232
Office Hours: Mon and Wed 1:40 pm to 3:40 pm
Instructor Availability: I reply to students' emails regularly but please note that I do not typically check email or Slack messages during late hours on weekdays, and I do not check these at all on the weekends in order to devote time to family, rest, and religious observances. Messages received during these times will receive attention once I am back online.



CMP 426 Course Description: 4 hours, 4 credits

Operating systems and their role in various types of computer systems; the principles of multiprogramming; algorithms for resource allocation; multiple-computer systems. PREREQ: CMP 334 and CMP 338.

CMP 697 Course Description: 4 hours, 4 credits

A study of the functions and implementation of operating systems for various sizes and types of computers. Processor, storage, and device management. Paging algorithms, thrashing. File systems, concurrency, deadlocking, semaphores, and synchronization.

Course Objectives:

At the end of the course, students should be able to:

  1. use the command line to interact with the operating system
  2. explain operating systems and their role in various types of computer systems
  3. describe the basic structure of an operating system and its components
  4. describe the concept of a process, threads and how processes deal with scheduling, cooperation, and communication with other processes
  5. describe CPU scheduling algorithms and be able to compare them
  6. explain the classical problems in process synchronization and know several different ways to solve such problems, including semaphores, critical regions, and monitors
  7. explain how to characterize and handle deadlocks, including prevention, avoidance, detection, and recovery
  8. understand main memory and virtual memory and describe several different schemes for managing main memory, including swapping, virtual memory, paging, and segmentation
  9. describe file/storage management
  10. discuss how disks are structured and how their space is managed by the operating system

Grade Policy:

Your grades will be computed based on the following:

CMP 426:

Activity Percentages
Participation Activities from the textBook and Quizzes 10%
Homework Assignments 30%
Midterm Exam 30%
Final Exam 30%

CMP 697:

Activity Percentages
Participation Activities from the textBook and Quizzes 10%
Homework Assignments and Blackboard Quizzes 30%
Midterm Exam 25%
Final Exam 25%
Research Paper and Presentation (for graduate students only) 10%

Exam Schedule:

Final Exam: 12/18/2024 6:15pm to 8:30pm.

There are no make-up exams. However, makeup exam might be given only if when a student's absence is unavoidable. In such a case, the student must file formal written request with substantial evidence.

The last date to withdraw from a course with a W is November 6th by 11:59PM

Homework Assignments and Submission

Several homework assignments are given during lectures. Students need to work on the homework for preparing exams but may not need to submit the homework assignments to the instructor. Some selected homework problems will be assigned as formal assignments to be submitted for grading.

Students must work in their own assignments unless I state otherwise. No late assignments will be accepted.

Homework assignments will include the following areas and more:

  • Process creations/executions based on Linux/UNIX API and Win API
  • Message based communications based on Linux/UNIX API
  • Shared memory-based communications between processes based on Linux/UNIX API and WIN API
  • Multithreading based on POSIX API, Win API, Java threads
  • Java nexus IO (memory mapped IO), Windows memory mapped IO
  • Synchronization based on UNIX System V API, POSIX API, Win API
  • Linux kernel module programming/driver programming

Graduate Students Research Paper:

For Graduate Students Only (CMP 697): Research Paper (12 - 15 pages double space in 12 fonts) in various contemporary research areas such as:

  • Threading issues in Linux kernels
  • Fast mutual exclusions
  • Virtualization and cloud computing
  • File systems in solid state devices
  • In-memory file systems
  • in memory DBMS
  • Operating System Support for Mobile Applications

Some details about research paper writing and presentation will be discussed during office hours. Research Paper Proposal Due: November 04, 2024 by 11:59 pm via email (1 page of extended abstract with at least 5 academic research papers as references)

Research Paper Due Date: December 11, 2023, by 11:59 pm via email

Research Paper Presentation Date: December 11, 2023 at the beginning of class

Survey Research Paper Structure

  1. Title, name, date, course number
  2. Abstract: This is a brief summary that describes your entire paper. Your abstract should contain 150 - 300 words. You have to write this last.
  3. Introduction: Your introduction should provide the background problem you are researching.
  4. Body of the paper and discussion
  5. Conclusion that summarizes the paper and describes future work for the research
  6. References: ACM = Association of Computing Machinery

Honor Code

Students are encouraged to study together. However, you must do your own work for all your homework assignments, projects and exams. You should never copy code or antwork from the internet or another student. You are responsible for knowing and following Lehman's academic integrity code (available from the Undergraduate Bulletin, Graduate Bulletin, or the Office of Academic Standards and Evaluations). All incidents of cheating will be reported to the Vice President of Student Affairs.

Expectations

Students are expected to learn both the material covered in class and the material in the textbook and other assigned reading. Completing homework is an essential part of the learning experience. Students should review topics from prior courses as needed using old notes and books.

Blackboard & Communication

I will be communicating with you on a regular basis throughout the semester using the email address listed on Blackboard for this course. You are required to make sure that the email address on Blackboard is your current Lehman email address and you must check it on a regular basis. There will be no acceptable excuse for missing an email announcement.

Accommodating Disabilities:

Lehman College is committed to providing access to all programs and curricula to all students. Students with disabilities who may need classroom accommodations are encouraged to register with the Office of Student Disability Services. For more info, please contact the Office of Student Disability Services, Shuster Hall, Room 238.
Phone number: 718-960-8441
Email: disability.services@lehman.cuny.edu
Webpage: http://www.lehman.edu/student-disability-services


Tentative Schedule:

Week Day Date Topic Reading Materials
1108/28/2024Introduction, Syllabus, Chapter 1Syllabus & Chapter 1
1209/02/2024Chapter 1Chapter 1
2309/04/2024Labor Day College closed – NO CLASSES
2409/09/2024Chapter 2 - OS Structures: OS Services, User and OS Interface, Shell, Kernel, System callsChapter 2
3509/11/2024Chapter 2 - OS Structures: System calls, System Services, Linkers and Loaders Chapter 2
3609/16/2024Chapter 2 - OS Structures: Operating-System Design and Implementation, Operating-System StructureChapter 2
4709/18/2024Chapter 3 - Processes: Process concept, Process state, process control block, Process scheduling, Operations on ProcessesChapter 3
4809/23/2024Chapter 3 - Processes: Write a program to create and execute a process using the fork() system callChapter 3
5909/25/2024No classes scheduled
51009/30/2024Chapter 3 - Processes: Interprocess Communication, Asynchronous, Synchronous communicationChapter 3
61110/02/2024Chapter 3 - Processes: Sockets, PipesChapter 3
61210/07/2024Chapter 4 - Threads & Concurrency: Threads, relationship to processes, creation/terminationChapter 4
71310/09/2024Chapter 3 - Processes: Interprocess Communication, Asynchronous, Synchronous communicationChapter 3
71410/14/2024Chapter 4 - Threads & ConcurrencyChapter 4
81510/16/2024Chapter 5 - CPU SchedulingChapter 5
81610/21/2024Chapter 5 - CPU SchedulingChapter 5
91710/23/2024Chapter 5 - CPU SchedulingChapter 5
91810/28/2024Chapter 6 - Synchronization Tools: Critical sections, Peterson's, Atomic hardware solutionsChapter 6
101910/30/2024Chapter 6 - Synchronization Tools: Mutexes, spinlocks, SemaphoresChapter 6
102011/04/2024Exam ReviewRead & Review Chapters 1 through 6
112111/06/2024Midterm examRead & Review Chapters 1 through 6
112211/11/2024Chapter 7 - Synchronization Examples: Producer-Consumer, Readers-Writers, Dining PhilosophersChapter 7
122311/13/2024Chapter 8 - Deadlocks: Deadlocks, Deadlock detection, AlgorithmsChapter 8
122411/18/2024Chapter 8 - Deadlocks: Algorithms, Recovery from DeadlockChapter 8
132511/20/2024Chapter 9 - Memory Management - Contiguous memory allocationChapter 9
132611/25/2024Chapter 9 - Memory Management - Relocation and Paging, Hierarchical PagingChapter 9
142711/27/2024Chapter 9 - Memory Management - SwappingChapter 9
142812/02/2024Chapter 3 - Processes: Interprocess Communication, Asynchronous, Synchronous communicationChapter 3
152912/04/2024Chapter 10 - Virtual Memory - Demand Paging, COWChapter 10
153012/09/2024Chapter 10 - Virtual Memory - Page Replacement, Thrashing, Working setChapter 10
163112/11/2024Chapter 11 - Storage Management - HDD Scheduling and RAID StructureChapter 11
163212/16/2024Chapter 11 - Storage Management - HDD Scheduling and RAID Structure and Exam ReviewChapter 11
173312/18/2024Reading Day

Homework Assigments:

Assignment Release Date Due Date

Projects:

Project Release Date Due Date

Operating System Examples

  • UNIX
  • Linux
  • MacOS
  • Windows
  • Android