Skip to content

English practice

Reading: Multiple Choice, Multiple Answers · Question 276

Cooperative versus preemptive multitasking

PTE · Reading · medium

Read the text and answer the question by selecting all the correct responses. More than one response is correct.

The evolution of personal computer operating systems during the late twentieth century was largely shaped by the transition from cooperative to preemptive multitasking architectures. In cooperative multitasking environments, such as early iterations of desktop operating systems, concurrent software execution relied entirely on the voluntary compliance of individual applications. When an active program gained control of the central processing unit, it retained exclusive execution rights until its internal code explicitly yielded control back to the operating system scheduler. While this model simplified scheduler design and minimized processor overhead on resource-constrained hardware, it introduced severe system stability vulnerabilities. If an application entered an infinite loop, encountered an unhandled exception, or became unresponsive during input processing, the entire machine seized, as the underlying operating system had no autonomous mechanism to reclaim computational cycles. Conversely, preemptive multitasking architectures eliminate reliance on application benevolence by shifting scheduling authority entirely to the operating system kernel. Utilizing hardware interval timers, the kernel interrupts running execution threads at regular, deterministic intervals regardless of program state. The operating system assigns discrete time slices to competing processes and evaluates dynamic execution priorities, forcibly suspending delinquent tasks to preserve responsiveness. Furthermore, preemptive systems operate in conjunction with protected memory spaces, preventing errant programs from corrupting shared system resources. While preemptive multitasking demands greater context-switching overhead and intricate kernel synchronization algorithms, its structural fault isolation guarantees robust multi-user and multi-tasking stability.

According to the passage, what are the differences between cooperative and preemptive multitasking?

  • Preemptive operating systems utilize hardware mechanisms to interrupt active processing tasks.
  • Cooperative environments are inherently resilient against freezes triggered by unhandled software errors.
  • Preemptive systems rely on executing software to voluntarily surrender computational cycles.
  • A programming flaw in an active application is more hazardous to total system stability under cooperative models.
  • Modern operating systems avoid preemptive scheduling due to its computational context-switching costs.