QUESTION 3 Process P1 has a low priority of 100, and processes P2, P3, and P4 al
ID: 3709040 • Letter: Q
Question
QUESTION 3 Process P1 has a low priority of 100, and processes P2, P3, and P4 all have a high priority of 0 (lower number means higher priority). P1 holds resource R and P2 waits for this resource. Processes P3 and P4 never get blocked. All four processes intend to run forever (say, with a while(1) loop). All processes are scheduled using a round-robin scheduler and are not subject to aging. Which processes will never have a chance to use the CPU? O Only P1. P1, P2, and either P3 or P4. O Only P2 O P1 and P2. QUESTION 4 What is the relationship between time quantum duration in preemptive round-robin scheduling and application response time? OLonger quantum increases response time. The two variables are unrelated. Longer quantum decreases response time.Explanation / Answer
Question3: Option B: P1, P2, and either P3, P4:
Explanation: Since each Process is intended to run forever. If P3 or P4 is started executing, it will not give another process to work. And P2, P3, P4 has the chance to start immediately. and P2 requires R which is in hold by P1. But P1 is low priority, So P1, P2 will never get the chance to use CPU.
Question4: Option A: Longer quantam increases response time
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.