aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Computer Science (GATE Exam) 2007 - Previous Question Paper Solution
  • An operating system uses shortest remaining time first (S...
Multiple choice

An operating system uses shortest remaining time first (SRT) process scheduling algorithm. Consider the arrival times and execution times for the following processes:

Process Execution time Arrival time P1 20 0 P2 25 15 P3 10 30 P4 15 45
What is the total waiting time for process P2?

  1. 5

  2. 15

  3. 40

  4. 55

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

Keep practicing — related questions

  • Consider three processes, all arriving at time zero, with total execution time of 10, 20 and 30 units respe...
  • Consider three processes, all arriving at time zero, with total execution time of 10, 20 and 30 units respe...
  • Consider the following set of processes, with the arrival time and the CPU-burst time given in milliseconds...
  • Consider the following set of processes, with the arrival time and the CPU-burst time given in milliseconds...
  • Which of the following OS scheduling algorithms provides a fix time for each process to execute?
  • Consider the following table of arrival time and burst time for three processes P0, P1 and P2. Process Arri...
  • 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 ...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy