edited by
668 views
0 votes
0 votes

edited by

1 Answer

1 votes
1 votes
We use the formula

ns + (n-1)q <= t, where n = number o processes, q = time quantum, s = time of context switch and t = total time until the next context switch

so, calculation ..

5(s) + 4(50) <= (24 x 60 x 60 x 60) + (2 x 60 x 60) ms

=> 5(s) <= 5191000 ms

=> s <= 4.8 hours

Related questions

0 votes
0 votes
2 answers
2