In a preemptive priority scheduling algorithm, what happens when a…

In a preemptive priority scheduling algorithm, what happens when a higher-priority process arrives while a lower-priority process is executing?

  1. A.

    Both processes are terminated.

  2. B.

    The CPU is switched to the higher-priority process.

  3. C.

    The system crashes.

  4. D.

    The lower-priority process continues to execute.

Attempted by 203 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…