Question: Q.5. In a multitasking process, there are 5 tasks are scheduled to run. The execution time for each task the corresponding priorities are given below.

Q.5. In a multitasking process, there are 5 tasks are scheduled to run. The execution time for each task the corresponding priorities are given below. Task 1 Task 2 Task 3 Task 4 Task 5 Execution 10 ms 15 ms 5 ms 30 ms 20 ms time Task 1 (highest) 5 (lowest) 4 2 3 priority Determine the task sequence when we use A. First come first serve algorithm B. Round robin algorithm C. Round robin algorithm with priority D. Shortest job first algorithm Assume suitable CPU time and time slicing wherever required
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
