NotesM.Sc ITOperating System
PGCA1903

Operating System Notes

Program:M.Sc IT
Semester:Semester 1
Credits:4
Units:4 Units

Subject Overview

Operating System covers process management, synchronization and CPU scheduling, deadlock handling, and memory/device/file management — building on process control blocks and inter-process communication through virtual memory, page replacement, disk scheduling and file systems, illustrated with Linux and Windows case studies.

Read more

A 4-credit core theory paper.

Unit-wise Syllabus

4 units — open any unit for detailed topic-wise notes, diagrams and important exam questions

  • Definition and functions of an operating system
  • OS as resource manager
  • kernel and shell structure
  • evolution and types of operating systems
  • process definition/states/PCB/scheduling queues/schedulers/context switch
  • inter-process communication
  • threading and multithreading models
  • multicore programming and OpenMP basics

Study guide

This unit covers OS functions, the resource manager view, kernel and shell, types of OS, processes (states, PCB, queues, schedulers, context switch), IPC, threads and multithreading models and multicore programming with OpenMP basics. Draw the process state diagram.

Read Unit 1 notes
  • Critical section problem
  • mutex locks
  • semaphores
  • bounded buffer and reader-writer problems
  • CPU scheduling concepts and criteria
  • single/multiprocessor and real-time scheduling
  • deadlock necessary conditions
  • resource allocation graph
  • prevention
  • avoidance
  • detection and recovery

Study guide

You study the critical section problem, mutex locks, semaphores, classic problems (bounded buffer, readers-writers), CPU scheduling, multiprocessor and real-time scheduling and deadlocks: conditions, graphs, prevention, avoidance, detection and recovery. Practise scheduling and Banker's algorithm problems.

Read Unit 2 notes
  • Address binding
  • dynamic linking and loading
  • contiguous and non-contiguous memory allocation
  • fragmentation types
  • paging
  • segmentation
  • virtual memory and demand paging
  • page replacement algorithms
  • frame allocation
  • thrashing

Study guide

You study address binding, dynamic loading, contiguous and non-contiguous allocation, fragmentation, paging, segmentation, virtual memory, page replacement, frame allocation and thrashing. Practise page replacement tables.

Read Unit 3 notes
  • Secondary storage structure
  • disk scheduling and management
  • RAID structure
  • I/O traffic controller and scheduler roles
  • file concepts and access methods
  • directory and disk structure
  • file system implementation
  • protection and security
  • Linux and Windows case studies

Study guide

You study secondary storage, disk scheduling, RAID, I/O management, file concepts, directories, file system implementation, protection and security with Linux and Windows case studies. Compare Linux and Windows file systems.

Read Unit 4 notes

Why Operating System Matters

Operating system concepts underpin cloud, DevOps, security and systems programming, and are tested in nearly every technical interview.

How to Prepare for Operating System

  • Practise scheduling, deadlock and page replacement numericals.
  • Use Linux regularly to see the concepts in action.
  • Learn the classic synchronisation problems and their solutions.

Operating System: Frequently Asked Questions

What is a deadlock?

A deadlock is a situation where processes wait forever for resources held by each other.

Planning your M.Sc IT in Ludhiana? Study it at SBS.

These notes follow the PTU syllabus taught in the 2-year M.Sc IT at SBS College, Ludhiana. See the course details, eligibility and scholarships.

Want the Complete Notes & Past Papers?

WhatsApp us and we'll send you the full notes, question banks, and previous year papers for Operating System.