Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a UNIX system with threshold priority of 125. Assume two processes, P1 and P2, which came into the systemat the same time. P1 has

Consider a UNIX system with threshold priorityof 125. Assume two processes, P1 and P2, which came into the systemat the same time. P1 has a nice value of 15 and'recent CPU usage' 45 ticks. P2 has a nice value of 10 and‘recent CPU usage’ 65 ticks. It is time for scheduling. Which of the two processes will be chosen for execution?

  • P1 because its recent CPU usage is less than that of P2’sand, therefore, its priority is higher than P2’spriority.
  • P2 because its nice value is smaller than that ofP1’s.
  • P2 because its priority number is smaller than that ofP1’s.
  • P1 because its process ID is smaller than P2’s process ID.
  • None of the given choices.

Step by Step Solution

3.40 Rating (156 Votes )

There are 3 Steps involved in it

Step: 1

The detailed answer for the above question is provided below P2 because its priority number is smaller than that of P1s The priority of a process in a ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Value at Risk The New Benchmark for Managing Financial Risk

Authors: Philippe Jorion

3rd edition

0070700427, 71464956, 978-0071464956

More Books

Students also viewed these Operating System questions