What is the name of the technique in which the operating system of a c...
In a multitasking system, a computer executes several programs simultaneously by switching them back and forth to increase the user interactivity. Processes share the CPU and execute in an interleaving manner. This allows the user to run more than one program at a time. Option (B) is correct.
View all questions of this test
What is the name of the technique in which the operating system of a c...
Multi-tasking
Multi-tasking is the technique in which the operating system of a computer executes several programs concurrently by switching back and forth between them. This allows multiple applications to run simultaneously on a single computer.
Types of Multi-tasking
- Pre-emptive Multi-tasking: In this type, the operating system decides when to switch between different tasks based on priority levels or time slices. This ensures that all tasks get a fair share of the CPU's resources.
- Cooperative Multi-tasking: In this type, each program must voluntarily give up control to allow other programs to run. If one program hangs or crashes, it can affect the entire system.
Advantages of Multi-tasking
- Increased productivity: Users can work on multiple tasks simultaneously, improving efficiency and productivity.
- Resource utilization: Multi-tasking allows better utilization of system resources by running multiple programs concurrently.
- Improved user experience: Multi-tasking provides a seamless user experience by allowing users to switch between applications quickly.
Drawbacks of Multi-tasking
- Resource contention: Running multiple programs simultaneously can lead to resource contention, where programs compete for system resources like CPU, memory, and disk.
- Complexity: Managing multiple tasks concurrently can be complex, leading to potential issues like bottlenecks, deadlocks, and performance degradation.
In conclusion, multi-tasking is a fundamental feature of modern operating systems that enables users to run multiple programs concurrently, enhancing productivity and user experience.