Operating System Tutorial Last Updated : 27 Sep, 2025 Comments Improve Suggest changes 266 Likes Like Report An Operating System(OS) is a software that manages and handles hardware and software resources of a computing device. Responsible for managing and controlling all the activities and sharing of computer resources among different running applications.A low-level Software that includes all the basic functions like processor management, memory management, file management, etc.It mainly acts a government for your system that has different departments to manage different resources.Examples are Linux, Unix, Windows 11, MS DOS, Android, macOS and iOS. Operating System DiagramBasicsIntroductionTypes of OSKernel in OSSystem Call System Initialization Process Scheduling Process Introduction Process Table and Control Block Process Management Introduction Process StatesProcess Scheduler CPU Scheduling AlgorithmsPreemptive vs Non-Preemptive Dispatcher vs schedulerStarvation and Aging in Operating SystemsQuiz: CPU Scheduling Process SynchronizationInter Process CommunicationProcess SynchronizationRace ConditionCritical SectionSolutions to Process Synchronization ProblemsPeterson’s AlgorithmDekker’s algorithmBakery AlgorithmHardware Based SolutionsSemaphores in Process SynchronizationMutex vs. SemaphoreMonitorsPriority InversionClassical IPC Problems Quiz: Process Synchronization in OS Deadlock Deadlock IntroductionDeadlock HandlingDeadlock PreventionBanker’s Algorithm for Deadlock AvoidanceDeadlock Detection And RecoveryDeadlock, Starvation, and LivelockResource Allocation Graph (RAG)Methods of resource allocation Program for Deadlock free condition Quiz: Deadlock MultithreadingOperating System | ThreadThreads and its typesOperating System | User Level thread Vs Kernel Level threadProcess-based and Thread-based MultitaskingMulti threading modelsBenefits of MultithreadingOperating System | Remote Procedure call (RPC)Quiz: MultithreadingMemory Management1. BasicsIntroduction to memory and memory unitsMemory Management in Operating SystemLogical and Physical Address in Operating System2. Contiguous AllocationImplementation of Contiguous Memory ManagementInternal FragmentationExternal FragmentationProgram for Next Fit algorithm in Memory ManagementBuddy System: Memory allocation technique3. Non-Contiguous AllocationNon-Contiguous Allocation in Operating SystemPagingSegmentationPage Table Entries in Page TablePaged Segmentation and Segmented Paging4. Advanced Memory ConceptsOverlays in Memory ManagementVirtual MemoryWhat is Demand Paging in Operating System?Page Fault HandlingSwap Space5. Page Replacement & ThrashingPage Replacement Algorithms Belady’s AnomalySecond Chance (or Clock) Page Replacement PolicyTechniques to handle ThrashingWorking Set in Paging6. Kernel & System-Level ConceptsAllocating kernel memory (buddy system and slab system)Memory InterleavingOperating system based Virtualization Quiz: Memory Management Disk ManagementFile SystemsUnix File SystemImplementing Directory Management using Shell ScriptFile Directory | Path NameStructures of DirectoryFile Allocation MethodsFile Access MethodsSecondary memorySecondary memory – Hard disk driveDisk Scheduling AlgorithmsProgram for SSTF disk scheduling algorithmWhat exactly Spooling is all about?Difference between Spooling and BufferingFree space managementQuiz: Input Output Systems Important LinksLast Minute Notes (LMNs) | Operating SystemsCommonly Asked Operating Systems Interview Questions'Quizzes' on Operating Systems !'Practice Problems' on Operating Systems ! Create Quiz Introduction to Operating System Visit Course Introduction to Operating System Types of Operating System Multithreading Introduction OS - Thread vs Process Difference between User Threads and Kernel Threads Comment K kartik Follow 266 Improve K kartik Follow 266 Improve Article Tags : Operating Systems GATE CS Explore OS BasicsIntroduction to Operating System5 min readTypes of Operating Systems7 min readKernel in Operating System3 min readSystem Call2 min readWhat happens when we turn on computer?3 min readProcess ManagementIntroduction of Process Management4 min readCPU Scheduling in Operating Systems7 min readIntroduction to Process Synchronization4 min readSolutions to Process Synchronization Problems4 min readClassical IPC Problems2 min readIntroduction of Deadlock in Operating System3 min readHandling Deadlocks2 min readMultithreading in OS - Different Models4 min readMemory ManagementIntroduction to memory and memory units2 min readMemory Management in Operating System5 min readBuddy System - Memory Allocation Technique4 min readOverlays in Memory Management4 min readVirtual Memory in Operating System7 min readPage Replacement Algorithms in Operating Systems5 min readOperating system based Virtualization5 min readI/O ManagementFile Systems in Operating System4 min readImplementing Directory Management using Shell Script3 min readSecondary Memory7 min readDisk Scheduling Algorithms9 min readDifference between Spooling and Buffering5 min readImportant LinksLast Minute Notes â Operating Systems15+ min readOperating System Interview Questions15+ min read Like