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, 23.06.2019 04:31
Q14 what is most important for you to choose before you build a network? a. private network b. nos c. network media d. network protocol e. directory service
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
On early television stations, what typically filled the screen from around 11pm until 6am? test dummies test patterns tests testing colors
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
What is estimated time of arrival (eta)? a device that measures the acceleration (the rate of change of velocity) of an item and is used to track truck speeds or taxi cab speeds a gps technology adventure game that posts the longitude and latitude location for an item on the internet for users to find a north/south measurement of position the time of day of an expected arrival at a certain destination and is typically used for navigation applications
Answers: 3
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. andy received a potentially infected email that was advertising products. andy is at risk of which type of security threat? a. spoofing b. sniffing c. spamming d. phishing e. typo-squatting
Answers: 2
You know the right answer?
Implement the following 3 cpu scheduling algorithms • simulate and evaluate each with the set of eig...
Questions
question
Mathematics, 04.03.2021 15:00
question
Geography, 04.03.2021 15:00
question
Mathematics, 04.03.2021 15:10
question
Physics, 04.03.2021 15:10
question
Mathematics, 04.03.2021 15:10
question
Spanish, 04.03.2021 15:10
question
Mathematics, 04.03.2021 15:10
Questions on the website: 13722361