The operating system Flashcards
(36 cards)
What is an operating system (OS)?
Software that controls hardware and software resources
Why were operating systems developed?
To simplify software development by including common code needed to run computers
What are the main functions of an OS?
Processor management
What is a process?
A program that is currently running on a computer.
How does the OS manage multiple processes?
Using a scheduler that allocates CPU time to each process based on a scheduling algorithm.
What happens when the OS switches processes?
The current process is paused
How does the OS manage processing in a multiprocessor system?
It distributes processes across different cores and shares processing time.
What is a scheduling algorithm?
A set of rules that determines the order and time each process gets on the CPU.
What is the role of the memory manager?
To track memory usage
How does the OS keep track of memory?
By mapping memory to addresses and tracking which addresses are allocated to each process.
What does the OS do with secondary storage devices?
Manages access to files/programs
How does the OS support file management?
By offering a user-friendly system to create
How does the OS handle I/O devices?
It manages requests
What happens when an I/O device sends a critical request?
The OS may interrupt the current process to handle the I/O request immediately.
How does the OS provide security?
By using permissions and passwords to control access to resources.
What is the user interface provided by the OS?
The way users interact with the computer and receive information
How is system software different from application software?
System software manages hardware and provides a platform for applications
What are examples of system software?
Operating systems
Can hardware function without software?
No. Hardware needs software to provide instructions and control.
How does the OS simplify hardware-software interaction?
It hides hardware complexity and provides standardized access for applications.
What determines the choice of an operating system for a task?
The functions that should be prioritised and the efficiency of operation for that specific task.
What is a distributed operating system?
An OS that coordinates multiple networked computers (nodes) to work together as a single system.
Why are distributed operating systems useful?
They are ideal for processor-intensive tasks that require more power than a single computer can provide.
What is a multitasking operating system?
An OS that switches between tasks quickly