Shortest Job First (SJF) selects the process with the smallest burst time for execution. This reduces the average waiting time and is optimal in that sense. However, it can cause starvation for longer processes if smaller processes keep arriving, as they continually preempt the longer ones. SJF can be preemptive (Shortest Remaining Time First) or non-preemptive. The algorithm is often used in batch systems where burst times are known beforehand. For example, it works well in scenarios like batch job execution in legacy systems. Why Other Options Are Incorrect :
The Supreme Court is bound to declare a law as invalid if it violates:
1. Fundamental Rights
2. Directive Principles of State Policy
<...Under which Article of the Indian Constitution can High Courts declare laws unconstitutional if they violate Fundamental Rights?
Which of the following is correct with reference to Financial Emergency under Article 360?
Which statement is TRUE regarding the Attorney General (AG) of India?
Which of the following statements regarding the electoral rolls is/are correct?
1. There is one general electoral roll for every territorial co...
Which article is related to the election of President?
Which article of the Indian Constitution mandates the state to improve public health and raise the level of nutrition as a primary duty?
What can be the maximum interval between two Parliamentary sessions?
Anti-Deflection law was described in
Article 371 A of the Constitution of India provides special privileges to