@Tushar03
Burst time is - m units (let 10) , time quantum - q units (let 5 or 6 or 4) ,
q < m ..
[m/q ] – 1
In round robin, context switching always takes place even if there’s only one process...
-
A context switch is the process of storing the state of a process or thread, so that it can be restored and resume execution at a later point.
-
This allows multiple processes to share a single central processing unit (CPU), and is an essential feature of a multitasking operating system.
-
The precise meaning of the phrase “context switch” varies.
-
In a multitasking context, it refers to the process of storing the system state for one task, so that task can be paused and another task resumed….
It clearly says " Assume that dispatching the process first time is not counted as a context switch."
so number of context switch = 0
as there is only one single process....