CPU Scheduling

Answer & solution
Answer: A for maximum off-CPU waiting; start-to-start wording differs (no official key was published)
After a process’s quantum ends, n−1 other quanta occur before it runs again. Including the n intervening switches gives waiting time (n−1)q+ns. Requiring this≤t yields q≤(t−ns)/(n−1), A, for n>1 and feasible t>ns. Switching overhead fraction decreases as q grows, so choose equality to minimize it within that constraint. If “every t seconds” instead measures successive start times, the interval includes the process’s own quantum: n (q+s)≤t, giving q≤t/n−s. The listed answer assumes off-CPU waiting, not literal start-to-start spacing.