Multiple choice

What is the need of context switch in the operating system?

  1. To provide multitasking for CPU

  2. To provide resource sharing for the processes

  3. To provide security to the operating system

  4. All of the above

  5. Only (1) and (2)

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Both are true for the context switch in the operating system.