6.1.5 - Explain the role of the operating system in terms of managing memory, peripherals and hardware interfaces. Flashcards
How does an operating system manage peripherals?
The OS uses drivers, which are ‘translation’ programs, to control peripheral devices like keyboards, mice, and printers, allowing the user and programs to interact with them.
What is memory management in an operating system?
The OS ensures that each process runs in its allocated memory space to prevent interference, which could lead to corruption or security issues.
How does the OS manage secondary storage?
The OS provides structure and access methods to secondary storage, organizing data in a folder structure or directory, while managing security access to these folders.
What are the types of user interfaces provided by an OS?
The OS provides Graphical User Interfaces (GUI) like Windows or Command Line Interfaces (CLI) like Linux Terminal to interact with the computer.
What is time slicing in an operating system?
In a multi-user system, time slicing allocates a set amount of processing time for each user, while in single-user systems, each program gets a set amount of time.
What are interrupts and how does the OS handle them?
An interrupt is a signal indicating an event requiring immediate attention. The OS suspends current activities, runs an interrupt handler, and then resumes normal processing.
What is virtual memory and why is it used?
Virtual memory allows the OS to compensate for physical memory shortages by temporarily transferring pages of data from RAM to disk storage.