CS FundamentalsModerateGATE CS
A real-time task must respond within 50 µs. Which OS property matters most?
- A. High average throughput
- B. Large page sizes
- C. Bounded worst-case interrupt and scheduling latency (preemptible kernel, priority-based scheduling)
- D. Fair-share scheduling
Correct answer: C. Bounded worst-case interrupt and scheduling latency (preemptible kernel, priority-based scheduling)
Hard real-time is about worst-case guarantees, not averages. Non-preemptible kernel sections or unbounded priority inversion break deadlines even if the average is fast.
More Operating Systems questions
- Assertion (A): Increasing the number of frames given to a process under FIFO can increase its page faults. Reason (R): FIFO does not…
- Assertion (A): A system in an unsafe state will definitely deadlock. Reason (R): In an unsafe state no sequence exists in which all…
- Assertion (A): Context switching between threads of the same process is cheaper than between processes. Reason (R): Threads of the same…
- Which pair correctly matches each mechanism with the problem it solves? P. Aging Q. Priority inheritance R. Copy-on-write S. Working-set…
- Match the file-system structure with what it is used for: (1) superblock, (2) inode bitmap, (3) journal, (4) directory entry. (a) maps a…
- Which sequence of metadata updates for appending a block to a file is SAFEST to write to disk without a journal, so that a crash leaves at…