CS FundamentalsVery hardGATE CS (PYQ pattern)
Three periodic tasks (execution time, period = relative deadline), all released at t = 0: T1 (2, 6), T2 (3, 8), T3 (3, 12). They are scheduled by preemptive EDF (earliest absolute deadline first; ties go to the lower-numbered task). At what time does the first job of T3 complete?
- A. 8 ms
- B. 10 ms
- C. 12 ms
- D. 14 ms
Correct answer: B. 10 ms
Utilisation = 2/6 + 3/8 + 3/12 = 0.958 <= 1, so EDF meets all deadlines. Unit-step simulation puts the completion of T3's first job at t = 10.
More Operating Systems questions
- Which of the following statements about system calls and interrupts are correct? I. A system call enters the kernel through a trap…
- Which of the following statements about disk scheduling are correct? I. SSTF can starve requests far from the head. II. SCAN bounds the…
- A process maps a region starting at virtual address 0x40000000 whose size is 4 GB + 5 MB + 12 KB. The OS uses 1 GB, 2 MB and 4 KB pages…
- A 32-bit machine has 512 MB of RAM, of which the resident kernel permanently uses 128 MB, and a 1 GB swap partition. The top 1 GB of every…
- On a single-CPU system processes arrive at 3 per second in steady state, on average 6 processes sit in the ready queue (not counting the…
- Stride scheduling with stride = 6000 / tickets: A has 100 tickets, B 200 and C 300. All passes start at 0; each quantum the process with…