Over 10 years we helping companies reach their financial and branding goals. Onum is a values-driven SEO agency dedicated.

CONTACTS
ECET 2026 Preparation

Day 20 – Morning Session: OS Scheduling Algorithms (FCFS & SJF) – ECET 2026 CSE

In ECET 2026 Computer Science, Operating System (OS) questions are highly scoring. Among them, Scheduling Algorithms are always expected in the exam. The two most important and easy-to-learn ones are First Come First Serve (FCFS) and Shortest Job First (SJF). By mastering these, students can confidently answer 1–2 direct questions in ECET exams.


📘 Concept Notes – Scheduling Algorithms

⚙️ What is CPU Scheduling?

In a multitasking system, multiple processes wait for CPU execution. CPU Scheduling algorithms decide the order in which processes get CPU time, aiming to minimize waiting time and turnaround time.


1️⃣ First Come First Serve (FCFS):

  • Processes are executed in the order of arrival (like a queue).
  • Non-preemptive: Once a process starts, it cannot be stopped until finished.
  • Example: Ticket counter queue.
  • Key Metric: Simple, but average waiting time may be high.

Formulae:

  • Waiting Time (WT) = Turnaround Time (TAT) – Burst Time (BT)
  • Turnaround Time (TAT) = Completion Time (CT) – Arrival Time (AT)

2️⃣ Shortest Job First (SJF):

  • Process with the smallest burst time executes first.
  • Can be Non-preemptive (once started, it runs till completion).
  • Can be Preemptive (Shortest Remaining Time First – SRTF).
  • Efficient: Minimizes average waiting time.
  • Limitation: May cause starvation for long processes.

💡 Comparison Table – FCFS vs SJF

FeatureFCFSSJF
Scheduling TypeNon-preemptivePreemptive/Non-preemptive
BasisArrival timeBurst time
Waiting TimeMay be high (convoy effect)Usually minimized
ExampleTicket queueHospital emergency (short cases)

🔟 10 Most Expected MCQs – ECET 2026 [OS Scheduling]

Q1. Which scheduling algorithm executes processes in the order of arrival?
A) SJF
B) Priority
C) FCFS
D) Round Robin

Q2. In SJF, the process selected is the one with:
A) Highest priority
B) Longest burst time
C) Shortest burst time
D) Earliest deadline

Q3. FCFS scheduling is:
A) Preemptive
B) Non-preemptive
C) Priority-based
D) Round-based

Q4. Which algorithm may cause starvation?
A) FCFS
B) SJF
C) Round Robin
D) None

Q5. Turnaround Time = ?
A) CT – AT
B) WT + BT
C) Both A & B
D) None

Q6. Which scheduling algorithm is like a ticket counter queue?
A) SJF
B) FCFS
C) Priority
D) Multilevel Queue

Q7. Which is better for reducing average waiting time?
A) FCFS
B) SJF
C) Round Robin
D) Priority

Q8. SRTF is a type of:
A) FCFS
B) Preemptive SJF
C) Priority Scheduling
D) Multilevel Queue

Q9. Convoy effect occurs in:
A) SJF
B) FCFS
C) Priority
D) Round Robin

Q10. Which of the following is non-preemptive?
A) FCFS
B) Non-preemptive SJF
C) Both A & B
D) None


Answer Key Table

Q.NoAnswer
Q1C
Q2C
Q3B
Q4B
Q5C
Q6B
Q7B
Q8B
Q9B
Q10C

🧠 Explanations of All Answers

  • Q1 → C: FCFS executes processes in order of arrival.
  • Q2 → C: SJF selects the process with the shortest burst time.
  • Q3 → B: FCFS is always non-preemptive.
  • Q4 → B: In SJF, long processes may starve if short ones keep arriving.
  • Q5 → C: TAT can be expressed as both CT–AT or WT+BT.
  • Q6 → B: FCFS works like a queue at ticket counters.
  • Q7 → B: SJF minimizes average waiting time.
  • Q8 → B: Shortest Remaining Time First is a preemptive version of SJF.
  • Q9 → B: Convoy effect (long process delaying others) occurs in FCFS.
  • Q10 → C: Both FCFS and Non-preemptive SJF are non-preemptive.

🎯 Why This Practice Matters for ECET 2026

OS Scheduling Algorithms are repeated every year in ECET papers. Questions are mostly direct and formula-based. By practicing FCFS & SJF, students can secure 2–3 marks easily in the Operating Systems section. These algorithms are also vital in real-world OS concepts and job interviews.


📲 Join Our ECET Prep Community on Telegram

Want daily ECET MCQs, solved problems, and video sessions?
👉 Join here: @LearnNewThingsHub

Leave a comment

Your email address will not be published. Required fields are marked *