Foundations-of-Computer-Science practice question 2 of 15

What is the primary purpose of an operating system?

Full set: 71 questions
Answer options
A:

A. To design websites automatically

B:

B. To manage hardware resources and provide services for applications.

Correct answer
C:

C. To replace all application software

D:

D. To perform only mathematical calculations

Correct Answer:
B. B. To manage hardware resources and provide services for applications.
Explanation

The primary purpose of an operating system (OS) is to function as an intermediary between computer hardware and the user or application programs. It has two main objectives: managing the hardware resources of the computer system (such as the CPU, memory, and I/O devices) and providing a stable, consistent set of services and APIs (Application Programming Interfaces) for applications to use. This abstraction simplifies application development and ensures fair and efficient resource allocation among multiple competing processes.

Why Incorrect

A. Designing websites is a function of specialized application software (e.g., web development tools), not an OS.
C. The OS provides the platform for application software to run; it does not replace it.
D. The OS manages the CPU that performs calculations, but its role is broad resource management, not just computation.

References

1. Silberschatz, A., Galvin, P. B., & Gagne, G. (2018). Operating System Concepts (10th ed.). Wiley. Chapter 1, "Introduction," Section 1.1 What Operating Systems Do, p. 4.

2. Tanenbaum, A. S., & Bos, H. (2015). Modern Operating Systems (4th ed.). Pearson. Chapter 1, "Introduction," Section 1.1 What Is an Operating System, p. 1.

3. MIT OpenCourseWare. (2012). 6.828: Operating System Engineering, Fall 2012. Lecture 1: Introduction to Operating Systems.

Scroll to Top