What is the primary function of an operating system?
A
Create websites
B
Manage hardware and software resources
C
Compile programs
D
Design databases
Correct Answer: Option B — Manage hardware and software resources
Explanation:
An operating system acts as an intermediary between users and computer hardware. It manages memory, processes, files, devices, and security while providing services that allow applications to run efficiently and reliably.