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
Related Q & A:
- What will happen if lymphocytes are absent in w.b.c?Best solution by ncbi.nlm.nih.gov
- Can you drive in Alberta with an b.c learners?Best solution by answers.yahoo.com
- How do i isolate a in p=a+b+c?Best solution by Yahoo! Answers
- Which is better, A in an easy class or B/C in a hard class?Best solution by monkeysee.com
- What is the difference between Hepatitis A, B & c?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.