What is multitasking in an operating system?
a) The ability to execute multiple programs at the same time
b) The ability to run programs without user intervention
c) The process of backing up data
d) The process of installing applications
Answer:
a) The ability to execute multiple programs at the same time
Explanation:
Multitasking is a feature of modern operating systems that allows multiple programs or processes to run simultaneously. The OS allocates CPU time to each process in a way that makes it appear as if they are running at the same time.
There are two types of multitasking: cooperative multitasking, where programs voluntarily yield control to the OS, and preemptive multitasking, where the OS allocates time slices to each process based on priority.
Multitasking improves system efficiency by allowing users to run various applications, such as web browsers, word processors, and media players, concurrently.