GATE CSE
First time here? Checkout the FAQ!
x
+1 vote
37 views

Here what are the number of context switches ? Is it 5 or 6? Do we consider context switch before P1 (i.e during the start) ?

asked in Operating System by Active (1.8k points)   | 37 views
5 we dont count the starting one until it is mentioned in the question.

1 Answer

0 votes

context switch occurs when a computer’s CPU switches from one process or thread to a different process or thread.

It should be 5.

answered by Active (1.2k points)  


Top Users Aug 2017
  1. ABKUNDAN

    4670 Points

  2. Bikram

    4412 Points

  3. akash.dinkar12

    3390 Points

  4. rahul sharma 5

    3072 Points

  5. manu00x

    2682 Points

  6. makhdoom ghaya

    2430 Points

  7. just_bhavana

    2130 Points

  8. Tesla!

    1932 Points

  9. stblue

    1806 Points

  10. joshi_nitish

    1620 Points


24,935 questions
32,040 answers
74,447 comments
30,125 users