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...
Shortest Job First Scheduling (SJF)

Shortest Job First Scheduling is a non-preemptive scheduling algorithm in which the process with the smallest burst time is executed first. It aims to minimize the average waiting time and provides better throughput.

False Statements about SJF

S1: It causes minimum average waiting time

This statement is true. SJF scheduling algorithm ensures that the process with the smallest burst time is executed first. By executing shorter jobs first, the average waiting time can be minimized. This is because shorter jobs complete faster, allowing subsequent processes to start sooner, reducing the waiting time for other processes.

S2: It can cause starvation

This statement is false. SJF scheduling algorithm does not cause starvation. Starvation occurs when a process is unable to proceed because it is not being allocated the required resources. In the case of SJF, every process eventually gets executed, even though shorter jobs are prioritized. This is because once a process with a shorter burst time arrives, it will be executed first, but the longer jobs will still get their turn.

Conclusion

In conclusion, the false statement about SJF scheduling is that it can cause starvation. SJF scheduling does not cause starvation as every process eventually gets executed, even though shorter jobs are prioritized. However, it is important to note that SJF scheduling may not always be the most optimal algorithm in practical scenarios as it requires knowledge of the burst times of all processes in advance, which may not always be available.
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