subject

Implement the following 3 cpu scheduling algorithms • simulate and evaluate each with the set of eight processes below. • use any programming language. the program listing should be submitted with the report. 1. fcfs non-preemptive (partial results provided) 2. sjf non-preemptive 3. mlfq multilevel feedback queue (absolute priority in higher queues) queue 1 uses rr scheduling with tq - 5 queue 2 uses rr scheduling with tq - 10 queue 3 uses fcfs all processes enter first queue 1. if time quantum (tq) expires before cpu burst is complete, the process is downgraded to next lower priority queue. processes are not downgraded when preempted by a higher queue level process. once a process has been downgraded, it will not be upgraded. assumptions: 1. all processes are activated at time 0 2. assume that no process waits on i/o devices. 3. after completing an i/o event, a process is transferred to the ready queue. 4. waiting time is accumulated while a process waits in the ready queue. 5. turnaround time is a total of (waiting time) + (cpu burst time) + (1/0 time) 6. response time is the first measure of waiting time from arrival at time 0 until the first time on the cpu. process data: process goes cpu burst, i/o time, cpu burst, 10 time, cpu burst, 10 last cpu burst p1 {5, 27, 3, 31, 5, 43, 4, 18, 6, 22, 4, 26, 3, 24,4} p2 {4, 48, 5, 44, 7, 42, 12, 37, 9, 76, 4, 41, 9, 31, 7, 43, 8} p3 (8, 33, 12, 41, 18, 65, 14, 21, 4, 61, 15, 18, 14, 26, 5, 31, 6} p4 (3, 35, 4, 41, 5, 45, 3, 51, 4, 61, 5, 54, 6, 82, 5, 77, 3} p5 (16, 24, 17, 21, 5, 36, 16, 26, 7, 31, 13, 28, 11, 21, 6, 13, 3, 11,4} p6 (11, 22, 4, 8, 5, 10, 6, 12, 7, 14, 9, 18, 12, 24, 15, 30, 8} p7 (14, 46, 17, 41, 11, 42, 15, 21, 4, 32, 7, 19, 16, 33, 10} p8 (4, 14, 5, 33, 6, 51, 14, 73, 16, 87, 6}

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
Two technicians are discussing the common u-joint. technician a says its input and output speeds should be equal. technician b says that it normally has two yokes. which technician is correct?
Answers: 1
question
Computers and Technology, 22.06.2019 12:30
What characteristic of long period comets suggest they come directly from the oort cloud?
Answers: 2
question
Computers and Technology, 22.06.2019 15:30
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place?
Answers: 1
You know the right answer?
Implement the following 3 cpu scheduling algorithms • simulate and evaluate each with the set of eig...
Questions
Questions on the website: 13722360