Operating System (OS)
• Memory Management - Allocates memory to programs and manages paging, segmentation, and virtual memory
• Resource Management - Manages CPU time and the execution of processes
• File Management - Handles storage, retrieval, and organisation of files
• Input/Output Management - Manages communication with peripheral devices through device drivers
• Interrupt Management - Handles interrupts to ensure efficient processing
• User Interface - Provides graphical (GUI) or command-line (CLI) interfaces
Why an Operating System Is Needed
Without an operating system, every program would need its own code to control the processor, memory, storage and each peripheral. The operating system does this once for all of them: it hides the complexity of the hardware and gives applications a platform to run on.
• Security and user management - Controls who can log in, manages user accounts and sets access rights to files and other resources
• Providing a platform for software - Applications ask the operating system for services, such as opening a file, instead of controlling the hardware themselves
• Providing utilities - Supplies programs used to monitor, manage and maintain the computer