Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Topic 1: Simulation of CPU scheduling algorithms Process Scheduling Process Scheduling algorithms: Do 1 scheduling algorithm from Part A and 2 scheduling algorithms from Part

image text in transcribedimage text in transcribed

Topic 1: Simulation of CPU scheduling algorithms Process Scheduling Process Scheduling algorithms: Do 1 scheduling algorithm from Part A and 2 scheduling algorithms from Part B Part A a) Round Robin with Quantum 3 Part B b) Preemptive SJF c) Non Preemptive SJF d) Preemptive Priority e) Non Preemptive Priority Pre-assigned case 1. User should be able to enter the details about the processes such as Arrival Time, Burst Time, Priority, Time Quantum for Round Robin assigned at the beginning of simulation and the number of processes can range from 3 to 10 . 2. Executing the program should show the Gantt chart (visual form) of each algorithm. 3. Calculation of a) Turnaround time for each process b) Total and Average Turnaround time for the entire processes c) Waiting time for each process d) Total and Average Waiting time for the entire processes Assumption I. if SAME PRIORITY on current process ( in CPU) and new arrival process, NO PREEMPTION will be executed, TO REDUCE CONTEXT SWITCH II. if SAME Burst time on current process (in CPU) and new arrival process, NO PREEMPTION will be executed, TO REDUCE CONTEXT SWITCH III. if SAME PRIORITY for those processes in the ready poll, CHOOSE FCFS IV. if BURST TIME SAME for those processes in the ready poll, CHOOSE FCFS V. The lower the priority count, the higher the priority for a process

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 27th International Conference Dasfaa 2022 Virtual Event April 11 14 2022 Proceedings Part 2 Lncs 13246

Authors: Arnab Bhattacharya ,Janice Lee Mong Li ,Divyakant Agrawal ,P. Krishna Reddy ,Mukesh Mohania ,Anirban Mondal ,Vikram Goyal ,Rage Uday Kiran

1st Edition

3031001257, 978-3031001253

More Books

Students also viewed these Databases questions

Question

Methods of Delivery Guidelines for

Answered: 1 week ago