Which CPU scheduling algorithm can potentially lead to 'Starvation' where long processes are indefinitely delayed because shorter tasks keep arriving? MCQ with Answer and Explanation

Which CPU scheduling algorithm can potentially lead to 'Starvation' where long processes are indefinitely delayed because shorter tasks keep arriving?
A. Uniform Multi-Level Queue
B. Shortest Job First (SJF)
C. First-Come, First-Served (FCFS)
D. Round Robin (RR)
Answer: Option B
Solution (By JKSSB Mock Tests)
Shortest Job First scheduling can starve longer processes if a continuous stream of shorter tasks keeps getting prioritized by the scheduler.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1
Which Linux command is used to view the contents of a file one page at a time?
A. head
B. more
C. less
D. cat

Correct Answer: Option C


Explanation:
less allows forward and backward scrolling, more is older and only forward; cat dumps all content.

This question belongs to: Computer Operating Systems
Question #2
In Linux, what is the default shell for many distributions?
A. zsh
B. sh
C. bash
D. csh

Correct Answer: Option C


Explanation:
Bash (Bourne Again SHell) is the default shell on most Linux distributions.

This question belongs to: Computer Operating Systems
Question #3
Which of the following is the primary function of an operating system?
A. To execute user applications directly without hardware interaction
B. To convert high-level programming language to machine code
C. To design graphical user interfaces for all programs
D. To manage hardware resources and provide services for application software

Correct Answer: Option D


Explanation:
The OS manages hardware resources (CPU, memory, I/O) and provides services to applications, acting as an intermediary.

This question belongs to: Computer Operating Systems