Question: PLEASE WRITE CODE IN JAVA OR C Implement Round Robin, Shortest Job First, FCFS and Priority based Scheduling. In the output you have to clearly
PLEASE WRITE CODE IN JAVA OR C

Implement Round Robin, Shortest Job First, FCFS and Priority based Scheduling. In the output you have to clearly show that which process is running at which time instance? You can use any programming language for this question. Expected Output: How many processes you want to schedule? 4 Please select the scheduling algorithm that you want to run: 1. Round Robin 2. FCFS 3. Priority Based 4. Shortest Job First a. In case of Priority based scheduling, it should ask the priority of the processes. Here first column shows the process number and second column shows the priority number for each process. 1. 5 2. 2 3. 1 4. 3 Output -> p3p2 P4p1 b. In case of Round Robin scheduling, it should ask the quantum size and then it should work accordingly. c. In case of SJF, it should ask for the burst size for each process individually. d. In case of FCFS, it should ask the order in which processes enter into the system
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
