← Back to 6. CPU Scheduling

📝 Shortest Job First Scheduling Algorithm

📖 From Operating System • 6. CPU Scheduling • 59 questions available

Practice MCQs for Shortest Job First Scheduling Algorithm. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

🔄 Last updated: 2026-07-10

8
Easy Questions
14
Medium Questions
37
Hard Questions

📝 Sample Questions

Q1. What is the fundamental principle of the Shortest-Job-First (SJF) scheduling algorithm?

🔹 A. The process with the longest CPU burst runs first
🔹 B. The process with the smallest next CPU burst is assigned the CPU
🔹 C. Processes are scheduled in round-robin order
🔹 D. The process with the highest priority runs first

💡 Difficulty: easy | ✅ Correct: B

Q2. Why is SJF used frequently in long-term scheduling but not in short-term scheduling?

🔹 A. It is too complex for long-term
🔹 B. Long-term scheduling can use user-specified time limits
🔹 C. Short-term scheduling doesn't need SJF
🔹 D. Long-term scheduling is less important

💡 Difficulty: medium | ✅ Correct: B

Q3. In preemptive SJF, what happens when a new process arrives with a CPU burst shorter than the remaining time of the currently running process?

🔹 A. The new process waits
🔹 B. The current process continues
🔹 C. The current process is preempted and the new process runs
🔹 D. Both processes share the CPU

💡 Difficulty: hard | ✅ Correct: C

⬆️ View all questions in the quiz below

🔗 Related Topics

📝 Computer System Architecture📝 Computer System Organization📝 Computing Environments📝 Kernel Data Structures📝 Memory Management
🚀 Start Quiz 📝 Practice Mode