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
دوسری نسل کے کمپیوٹر میں مندرجہ ذیل میں سے کون سی ٹیکنالوجیز استعمال ہوئی؟
- Vacum Tubes
- Transistors
- Integrated circuits
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
کمپیوٹر کا بانی کس کو کہا جاتا ہے؟
- Barbara Liskov
- Tim Berners-Lee
- Charles Babbage
- John von Neumann
اس سوال کو وضاحت کے ساتھ پڑھیں
کون سی سہولت دو یا دو سے زیادہ ٹاسک، جابز یا پروگرامز کو بیک وقت اجازت کی اجازت ہے؟
- Multi-computing
- Multi-processing
- Multi-tasking
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
درج ذیل میں سے آپریٹنگ سسٹم کی مثال کون سی ہے؟
- Photoshop
- MS Windows
- MS Word
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
آپریٹنگ سسٹم کے کرنل کا بنیادی کام کیا ہے؟
- Manage hardware and system resources
- Run user applications
- Provide internet connectivity
- None of these