Assume that at time 3 no system resources are being used except for the processor and...

90.2K

Verified Solution

Question

Programming

  1. Assume that at time 3 no systemresources are being used except for the processor and memory. Nowconsider the following events:
  • At time 2: P0 is ready.
  • At time 4: P0 is selected by CPUscheduler  
  • At time 8: P0 executes a command to read from disk0.
  • At time 16: An interrupt occurs from disk unit 0: P0'sread is complete.

For each time 2, 4, 8 and 16,identify which state process is in. If a process is blocked,further identify the event on which is it blocked.

in OperatingSystem

Answer & Explanation Solved by verified expert
4.2 Ratings (834 Votes)
At time 2 P0 is ready Above statement means that P0 is newly created process which is in READY stateIn Ready statesystem is in main memory At time 4 P0 is selected by CPU scheduler Above statement means that P0 is being scheduled by CPU schedulernowif we    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students