Exam-style question
Try this first
Explain why hiding the complexities of hardware is an important role of an operating system, and relate this to its management of resources.
Model answer
What a good answer should say
- Hardware can be complex for processes and users to control directly.
- The operating system hides these complexities by providing a simpler way for processes to use the hardware.
- It also manages the underlying resources by allocating processors, memories and I/O devices among processes that compete for them.
- Therefore, processes can use hardware without each process having to manage all of the hardware allocation itself.
Explanation
Why this works
The answer should link abstraction with resource management. Award credit for explaining that the operating system hides hardware complexity, identifying processors, memories and I/O devices as managed resources, and explaining that these resources are allocated among competing processes.
Common mistake
No common mistake is linked to this question yet.
