The correct answer is D.
An operating system (OS) is a system software that manages computer hardware and software resources and provides common services for computer programs. The operating system is a vital part of the system software in a computer system.
The operating system performs the following tasks:
- Manages hardware on the computer. The operating system manages the computer’s hardware resources, such as the CPU, memory, disk, and network. It allocates these resources to programs as needed.
- Controls the access that application program has to the CPU. The operating system ensures that only one program is using the CPU at a time. This prevents programs from interfering with each other.
- Performs housekeeping task like file compression and disk defragmentation. The operating system performs tasks that keep the computer running smoothly, such as file compression and disk defragmentation.
- Provides an interface for user to interact with computer. The operating system provides a user interface that allows users to interact with the computer. This interface can be a command-line interface, a graphical user interface, or a touch-screen interface.
Option D is incorrect because it is not a task performed by the operating system. The operating system does not provide an interface for users to interact with the computer. This interface is provided by a program called a shell. The shell is a program that allows users to run commands and interact with the operating system.