Electronics & Telecommunication (University) is coming soon
We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.
Electronics & Telecommunication (University)
Operating System
Processes and threads, CPU scheduling, synchronisation, memory management and virtual memory, file systems.
Your progress in this subject0 of 13 · 0%
- 1Operating system objectives, functions and typesOperating system objectives, functions and types — what an OS must provide, the services it gives, and the major classification of OS designs and families.
- 2System calls and OS servicesSystem calls are the controlled interface user programs use to request operating-system services; this note explains how they work, common services, the syscall mechanism, and shows small C programs using syscalls.
- 3OS structures: layered, monolithic and microkernelClear, exam-focused notes comparing layered, monolithic and microkernel OS structures, with definitions, diagrams to draw, formulas for basic overheads, worked exam-style answers and quick checks.
- 4Disk structure and disk schedulingDisk structure defines how data is physically organised on rotating disks (platters, tracks, sectors, cylinders, heads) and disk scheduling algorithms (FCFS, SSTF, SCAN/LOOK, C-SCAN/C-LOOK) decide the order of servicing I/O requests to minimise access time.
- 5Processes, process states and the PCBProcesses, their possible states, state transitions and the Process Control Block (PCB) — what a process is, how an OS tracks it, and how context switching saves and restores a PCB.
- 6CPU scheduling: FCFS, SJF, round robin and priorityCPU scheduling policies (FCFS, SJF, Round Robin, Priority): definitions, trade-offs, exact formulas, proofs (SJF optimality by exchange), Gantt-chart drawing instructions, worked numerical examples, common exam mistakes and practice questions.
- 7Memory allocation and fragmentationCovers how OSes assign RAM to processes, the types and causes of fragmentation, allocation algorithms (first/best/worst-fit, buddy), compaction and paging trade-offs, with formulas and exam-style examples.
- 8Virtual memory and demand pagingVirtual memory allows a program to use more memory than physical RAM by presenting a uniform virtual address space mapped to physical frames and loading pages on demand (demand paging).
- 9Page replacement: FIFO, LRU and optimalPage replacement decides which memory page to evict when a page fault occurs; common policies are FIFO, LRU and Optimal (clairvoyant) — understanding them is essential to predict page-fault behaviour, explain Belady's anomaly, and compute hit/miss rates for virtual memory systems.
- 10ThrashingThrashing is the pathological condition where an operating system spends most of its time swapping pages in and out of memory instead of executing processes; it is detected and controlled by working-set and page-fault–frequency ideas.
- 11The critical-section problemClear, exam-oriented notes on the critical-section problem: definitions, formal requirements (mutual exclusion, progress, bounded waiting), typical failed solutions, a correct solution sketch (Peterson), worked model answers, common mistakes and exam tips.
- 12Classic synchronisation problemsClassic synchronization problems (producer-consumer, readers-writers, dining philosophers) show how to coordinate concurrent processes/threads to avoid races, ensure mutual exclusion, progress and bounded waiting; engineers use these patterns to design correct concurrent systems and pick appropriate
- 13Inter-process communicationInter-process communication (IPC) is the set of OS-provided techniques processes use to exchange data and synchronise; engineers use IPC to coordinate components, share results and implement client-server and concurrent designs.
Coming next in Operating System
- Free-space management· notes coming
- Context switching and schedulers· notes coming
- Threads and multithreading· notes coming
- Peterson's solution· notes coming
- Monitors· notes coming