📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!

  • google app store apple app store
  • ✖

      Question

      Which of the following is NOT a characteristic of the

      SJF (Shortest Job First) scheduling algorithm?      
      A Minimizes average waiting time Correct Answer Incorrect Answer
      B Can result in process starvation Correct Answer Incorrect Answer
      C Optimal when all jobs are known beforehand Correct Answer Incorrect Answer
      D Preemptive in nature Correct Answer Incorrect Answer
      E Focuses on minimizing turnaround time Correct Answer Incorrect Answer

      Solution

      The SJF scheduling algorithm is non-preemptive unless specifically implemented as preemptive SRTF (Shortest Remaining Time First). In non-preemptive SJF, once a process is running, it continues until completion. Why Other Options are Wrong: a) SJF minimizes waiting time since shorter jobs are processed first. b) Starvation can occur if shorter jobs keep arriving, delaying longer ones indefinitely. c) It is optimal when job lengths are known in advance. e) SJF focuses on minimizing turnaround and waiting time

      Practice Next
      ask-question