What is the execution order in angularJS?

B. Three processes, A, B, C are assumed to arrive for execution in the order A, B,C all at time 0. Their CPU b?

  • B. Three processes, A, B, C are assumed to arrive for execution in the order A, B,C all at time 0. Their CPU burst times are 8, 4 and 6ms. respectively. Their priorities are are 1, 3, and 2 respectively, with 1 being the highest priority. For each of the following scheduling algorithms, draw Gantt charts and use them to determine the average waiting time for the processes. i. Round Robin (with quantum = 2 ms.) ii. Priority

  • Answer:

    i. Round Robin ( with quantum = 2 ms ) ----------------------------------------… A A B B C C A A B B C C A A C C A A ----------------------------------------… a. Average waiting time for Process a = 5 ms((4+4+2)/2) b. Average waiting time for Process b = 3 ms((2+4)/2) c. Average waiting time for Process c = 5 ms((4+4+2)/2) ii. Priority ----------------------------------------… A A A A A A A A C C C C C C B B B B ----------------------------------------… a. Average waiting time for Process a = 0 ms b. Average waiting time for Process b = 7 ms((8+6)/2) c. Average waiting time for Process c = 4 ms(8/2) All the best. regards [email protected]

Salihu at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.