Foundations-of-Computer-Science practice question 2 of 15
What is the primary purpose of an operating system?
Full set: 71 questionsThe 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.
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.
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.
Keep practicing
Take the free Foundations-of-Computer-Science practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other Foundations-of-Computer-Science practice questions
- Question 1What is the purpose of a parameter in a function definition?
- Question 3Which action is taken if the first number is the lowest value in a selection sort?
- Question 4What will the expression fam[3:6] return?
- Question 5What will the output be of this line?
- Question 6Which aspect is excluded from a NumPy array’s structure?
- Question 7Which of the following best defines an algorithm?
