In an operating system, which scheduling algorithm may suffer from starvation because shorter processes continuously receive priority?
آپریٹنگ سسٹم میں کون سا شیڈولنگ الگورتھم بھوک کا شکار ہو سکتا ہے کیونکہ چھوٹے عمل کو مسلسل ترجیح دی جاتی ہے؟
- Shortest Job First (SJF)
- First Come, First Served (FCFS)
- Round Robin (RR)
- None of these
Explanation
- Shortest Job First (SJF) may suffer from starvation.
- It always executes the process with the shortest CPU burst time first.
- If short processes keep arriving, longer processes may never get CPU time.
- SJF provides the minimum average waiting time among scheduling algorithms.
- Aging is a common technique used to reduce starvation.
Additional information:
- FCFS: Executes processes in arrival order
- Round Robin (RR): Uses a fixed time quantum
- Priority Scheduling: May also suffer from starvation
Last verified on 02-08-2026
Related MCQs
ایڇ۔ٹی۔ٹی۔پی۔ایس کی اصطلاح کا کیا مطلب ہے؟
- Hyper Text Transfer Protocol Secure
- Hyper Text Translation Protocol Service
- Hyper Text Translation Protocol Secure
- Hyper Text Transfer Protocol Service
اس سوال کو وضاحت کے ساتھ پڑھیں
کیپچا کا بنیادی مقصد کیا ہے؟
- To speed up website loading times
- To verify that the user is human
- To improve image quality
- To block internet access
اس سوال کو وضاحت کے ساتھ پڑھیں
درج ذیل میں سے کون سا پرنٹر نہیں ہے؟
- Pixel printer
- Laser
- Dot matrix
- Inkjet printer
اس سوال کو وضاحت کے ساتھ پڑھیں
کمپیوٹر پراسیس ینالاگ اور ڈیجیٹل سگنل دونوں ______ ہے؟
- Hybrid
- Analogue
- Digital
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
کمپیوٹر کو دی گئی ہدایات کس زبان میں دی جاتی ہیں؟
- Assembly Language
- High-Level Language
- Machine Language
- Scripting Language