aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Operating System (GATE)
  • How many context switches are required for SRJF schedulin...
Multiple choice

How many context switches are required for SRJF scheduling for the given processes?

   
Process Arrival time CPu burst time
p1 0 5
p2 2 4
p3 1 6
p4 3 3

  1. 2

  2. 3

  3. 1

  4. 4

  5. 5

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

 
Context switch = 3
 

Keep practicing — related questions

  • Consider three CPU-intensive processes, which require 10, 20 and 30 time units and arrive at time 0, 2 and ...
  • Consider three CPU-intensive processes, which require 10, 20 and 30 time units and arrive at time 0, 2 and ...
  • Which of the following scheduling algorithms uses context switching to save the state of the pre-empted pro...
  • Find the total waiting time using SJF without pre-emption scheduling. | | || |---|---|---| |Process|Arrival...
  • An operating system uses shortest remaining time first (SRT) process scheduling algorithm. Consider the arr...
  • Three jobs are executed on a single processor system, it arrives at 0 time in order of p, q, r. Their CPU b...
  • Consider the 3 process, P1, P2 and P3 shown in the table. | Process | Arrival Time | Time units Requied | |...
  • An operating system uses shortest remaining time first (SRT) process scheduling algorithm. Consider the arr...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy