Note: This syllabus is common for 

  • R18 - B.TECH II Year II Sem. - CSE, IT

CS403PC: OPERATING SYSTEMS

B.TECH II Year II Sem. L T P C

3 0 0 3


Prerequisites:

  • A course on “Computer Programming and Data Structures”.
  • A course on “Computer Organization and Architecture”.

Course Objectives:

  • Provide an introduction to operating system concepts (i.e., processes, threads, scheduling, synchronization, deadlocks, memory management, file and I/O subsystems and protection)
  • Introduce the issues to be considered in the design and development of operating system
  • Introduce basic Unix commands, system call interface for process management, interprocess communication and I/O in Unix

Course Outcomes:

  • Will be able to control access to a computer and the files that may be shared
  • Demonstrate the knowledge of the components of computer and their respective roles in computing.
  • Ability to recognize and resolve user problems with standard operating environments.
  • Gain practical knowledge of how programming languages, operating systems, and architectures interact and how to use each effectively.

UNIT - I

Operating System - Introduction, Structures - Simple Batch, Multiprogrammed, Time-shared, Personal Computer, Parallel, Distributed Systems, Real-Time Systems, System components, Operating System services, System Calls

UNIT - II

Process and CPU Scheduling - Process concepts and scheduling, Operations on processes, Cooperating Processes, Threads, and Interposes Communication, Scheduling Criteria, Scheduling Algorithms, Multiple -Processor Scheduling.

System call interface for process management-fork, exit, wait, waitpid, exec

UNIT - III

Deadlocks - System Model, Deadlocks Characterization, Methods for Handling Deadlocks, Deadlock Prevention, Deadlock Avoidance, Deadlock Detection, and Recovery from Deadlock

Process Management and Synchronization - The Critical Section Problem, Synchronization Hardware, Semaphores, and Classical Problems of Synchronization, Critical Regions, Monitors

Interprocess Communication Mechanisms: IPC between processes on a single computer system, IPC between processes on different systems, using pipes, FIFOs, message queues, shared memory.

UNIT - IV

Memory Management and Virtual Memory - Logical versus Physical Address Space, Swapping, Contiguous Allocation, Paging, Segmentation, Segmentation with Paging, Demand Paging, Page Replacement, Page Replacement Algorithms.

UNIT - V

File System Interface and Operations -Access methods, Directory Structure, Protection, File System Structure, Allocation methods, Free-space Management. Usage of open, create, read, write, close, lseek, stat, ioctl system calls.

TEXT BOOKS:

  1. Operating System Principles- Abraham Silberchatz, Peter B. Galvin, Greg Gagne 7th Edition, John Wiley
  2. Advanced programming in the UNIX environment, W.R. Stevens, Pearson education.

REFERENCE BOOKS:

  1. Operating Systems – Internals and Design Principles Stallings, Fifth Edition–2005, Pearson Education/PHI
  2. Operating System A Design Approach- Crowley, TMH.
  3. Modern Operating Systems, Andrew S. Tanenbaum 2nd edition, Pearson/PHI
  4. UNIX programming environment, Kernighan and Pike, PHI/ Pearson Education
  5. UNIX Internals -The New Frontiers, U. Vahalia, Pearson Education.
  • Created
    Nov 30, 2020
  • Updated
    Dec 12, 2020
  • Views
    4,052