Jobs in Pakistan

CS101 Assignment 2 Solution Spring 2021 - Virtual University

 CS101 Assignment 2 Solution Spring 2021 - Virtual University


CS101 Assignment 2 Solution Spring 2021 - Virtual University


 

CS 101 Assignment 2 Solutions

Spring 2021

 

 There are 4 processes A, B, C, and D in the ready queue for execution.

 

Process

Total CPU Time

Process A

4ms

Process B

6ms

Process C

4ms

Process D

8ms

 

 

The processes enter in the ready queue in the sequence B, D, A, and C and are picked by the dispatcher in the same order. Value of Time Slice is 2ms. The dispatcher picks a process from Ready Queue and sends it to the processor for execution.

 

You are required to

 Draw the ready queue for the above given processes.

 

 

 

CS101 Assignment 2 Solution Spring 2021 - Virtual University


 Draw the step-wise pictorial diagram of the above given scenario in the context of multiprogramming.

 

CS101 Assignment 2 Solution Spring 2021 - Virtual University


 



 

Download File: 

Click Here

No comments:

Post a Comment

Verification: 5454749714e96868