Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In a computer using 7 state process model with a single CPU and interrupt mechanism, assume that: - Maximum available main memory that can be

In a computer using 7 state process model with a single CPU and interrupt mechanism, assume that: 


- Maximum available main memory that can be reserved for all processes except kernel is 500MB.


- A process is allowed to run at most 5 ms and then interrupted (timed out). 


-At t=0, there are only 2 processes: Process B (250 MB) is running and Process A (150 MB) is ready, 


a) (6p) ==3 ms: B asks user to press any key. Then, what are the current states of A and B? 


b) (6p) t=4 ms: Process C (200 MB) is created but NOT in main memory. Write the current states of A, B and C. 


c) (6p) t=6 ms: Process C is brought to main memory. Write the current states of A, B and C. 


d) (6p) t=8 ms: What are the current states of A, B and C? 


e) (6p) t9 ms: The user pressed a key that B was waiting. Now, what are the current states of A, B and C?

Step by Step Solution

3.51 Rating (168 Votes )

There are 3 Steps involved in it

Step: 1

a 3 ms At 3t3 ms Process B has been running for 3 ms and is then interrupted Process A 150 MB ... 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

Operating Systems Internals and Design Principles

Authors: William Stallings

8th edition

133805913, 978-0133805918

More Books

Students also viewed these Operating System questions