Operating Systems (OS) covers the management of computer hardware resources: memory, CPU cores, secondary storage devices, and concurrent process scheduling.
The course details process managers, memory management strategies, virtual file systems, storage architecture, and deadlocks.
We don't have files for this subject segment yet. Study materials are being prepared.
A: The synchronization uses three semaphores: mutex (binary, initialized to 1 for mutual exclusion), empty (counting, initialized to N representing buffer size), and full (counting, initialized to 0). Producer waits on empty and mutex, deposits item, signals mutex and full. Consumer waits on full and mutex, retrieves item, signals mutex and empty.
A: Thrashing occurs when an operating system spends more time swapping pages in and out of virtual memory than executing actual process instructions. It can be prevented by reducing the degree of multiprogramming or utilizing the Working Set Model to allocate local frames.
A: A system call is a programmatic hook that requests services from the OS kernel (e.g. fork(), read(), write(), exec(), exit()).
A: Internal fragmentation occurs when partition storage is larger than the requested process memory (leaving wasted space inside). External fragmentation occurs when total free space exists to satisfy request but is non-contiguous.
Excel in numerical algorithms: CPU Scheduling (Round Robin, SRTF), Page Replacement (FIFO, LRU, Optimal), and Banker's deadlock prevention. Understand semaphore-based synchronizations.