Question: 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

1 Expert Approved Answer
Step: 1 Unlock

a 3 ms At 3t3 ms Process B has been running for 3 ms and is then interrupted Process A 150 MB ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!