Question 4 Which of the following is THE MAJOR disadvantage of using Dijkstra's algorithm?
Palo Alto Networks technical mcq question, verified with a worked answer. Free to practise - no sign-up.
Which of the following is THE MAJOR disadvantage of using Dijkstra's algorithm?
Select any one of the following options
Show answer & explanation
Answer: B. B) Complex to implement
The dispatcher is the operating system module that gives control of the CPU to the process selected by the short-term scheduler, involving context switching and jumping to the proper location.
Step-by-step Derivation:
Step 1: The short-term scheduler selects which process among the ready processes should execute next.
Step 2: The dispatcher actually transfers CPU control to that process.
Step 3: This involves switching context, switching to user mode, and jumping to the program counter location.