Operating Systems Notes

Process Management

Managing processes in an OS, including creation, scheduling, and termination.

#include <unistd.h>
int pid = fork(); // creates a new process

Memory Management

Techniques like paging, segmentation, and virtual memory to allocate memory efficiently.

File Systems

Handles how data is stored, retrieved, and organized on disk. Common types: FAT32, NTFS, ext4.

CPU Scheduling

Deciding which process runs next. Algorithms include FCFS, SJF, Round Robin, etc.

// Round Robin example logic
queue.push(process);
process = queue.front();
Can’t find what you're looking for? Request a topic