Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Which of the following is FALSE about SJF (Sh... Start Learning for Free
Which of the following is FALSE about SJF (Shortest Job First Scheduling)?
S1: It causes minimum average waiting time
S2: It can cause starvation
  • a)
    Only S1
  • b)
    Only S2
  • c)
    Both S1 and S2
  • d)
    Neither S1 nor S2
Correct answer is option 'D'. Can you explain this answer?
Verified Answer
Which of the following is FALSE about SJF (Shortest Job First Scheduli...
  1. Both SJF and Shortest Remaining time first algorithms may cause starvation. Consider a situation when long process is there in ready queue and shorter processes keep coming.
  2. SJF is optimal in terms of average waiting time for a given set of processes, but problems with SJF is how to know/predict time of next job.
View all questions of this test
Most Upvoted Answer
Which of the following is FALSE about SJF (Shortest Job First Scheduli...
  1. Both SJF and Shortest Remaining time first algorithms may cause starvation. Consider a situation when long process is there in ready queue and shorter processes keep coming.
  2. SJF is optimal in terms of average waiting time for a given set of processes, but problems with SJF is how to know/predict time of next job.
Free Test
Community Answer
Which of the following is FALSE about SJF (Shortest Job First Scheduli...
Shortest Job First Scheduling (SJF)
Shortest Job First Scheduling (SJF) is a scheduling algorithm that selects the process with the smallest execution time to execute next. Here, we will discuss the statements given in the question and determine which one is false.

Statement Analysis:

S1: It causes minimum average waiting time
SJF scheduling indeed minimizes the average waiting time because it prioritizes shorter jobs over longer ones. By executing the shortest job first, the waiting time for all processes is reduced, leading to a lower average waiting time. Therefore, this statement is true.

S2: It can cause starvation
Starvation occurs when a process is unable to progress because it is constantly being delayed by other processes with shorter execution times. In SJF scheduling, if shorter jobs constantly keep arriving, longer jobs might suffer from starvation as they may not get a chance to execute. Hence, this statement is also true.

Conclusion:
Based on the analysis of both statements:
- Statement S1: True (SJF minimizes average waiting time)
- Statement S2: True (SJF can cause starvation)

Final Verdict:
The false statement was not present in the given options. Therefore, the correct answer is option 'D' - Neither S1 nor S2, as both statements about SJF scheduling are true.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Which of the following is FALSE about SJF (Shortest Job First Scheduling)?S1: It causes minimum average waiting timeS2: It can cause starvationa)Only S1b)Only S2c)Both S1 and S2d)Neither S1 nor S2Correct answer is option 'D'. Can you explain this answer?
Question Description
Which of the following is FALSE about SJF (Shortest Job First Scheduling)?S1: It causes minimum average waiting timeS2: It can cause starvationa)Only S1b)Only S2c)Both S1 and S2d)Neither S1 nor S2Correct answer is option 'D'. Can you explain this answer? for Computer Science Engineering (CSE) 2025 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about Which of the following is FALSE about SJF (Shortest Job First Scheduling)?S1: It causes minimum average waiting timeS2: It can cause starvationa)Only S1b)Only S2c)Both S1 and S2d)Neither S1 nor S2Correct answer is option 'D'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2025 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Which of the following is FALSE about SJF (Shortest Job First Scheduling)?S1: It causes minimum average waiting timeS2: It can cause starvationa)Only S1b)Only S2c)Both S1 and S2d)Neither S1 nor S2Correct answer is option 'D'. Can you explain this answer?.
Solutions for Which of the following is FALSE about SJF (Shortest Job First Scheduling)?S1: It causes minimum average waiting timeS2: It can cause starvationa)Only S1b)Only S2c)Both S1 and S2d)Neither S1 nor S2Correct answer is option 'D'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of Which of the following is FALSE about SJF (Shortest Job First Scheduling)?S1: It causes minimum average waiting timeS2: It can cause starvationa)Only S1b)Only S2c)Both S1 and S2d)Neither S1 nor S2Correct answer is option 'D'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Which of the following is FALSE about SJF (Shortest Job First Scheduling)?S1: It causes minimum average waiting timeS2: It can cause starvationa)Only S1b)Only S2c)Both S1 and S2d)Neither S1 nor S2Correct answer is option 'D'. Can you explain this answer?, a detailed solution for Which of the following is FALSE about SJF (Shortest Job First Scheduling)?S1: It causes minimum average waiting timeS2: It can cause starvationa)Only S1b)Only S2c)Both S1 and S2d)Neither S1 nor S2Correct answer is option 'D'. Can you explain this answer? has been provided alongside types of Which of the following is FALSE about SJF (Shortest Job First Scheduling)?S1: It causes minimum average waiting timeS2: It can cause starvationa)Only S1b)Only S2c)Both S1 and S2d)Neither S1 nor S2Correct answer is option 'D'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Which of the following is FALSE about SJF (Shortest Job First Scheduling)?S1: It causes minimum average waiting timeS2: It can cause starvationa)Only S1b)Only S2c)Both S1 and S2d)Neither S1 nor S2Correct answer is option 'D'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev