Write a java program to simulate a preemptive Shortest- Job First (SJF) Scheduling with context switching
▪ Number of processes ▪ Name of each process ▪ Burst Time ▪ Arrival time ▪ Context switching (for question 1 and 2 only)
For each scheduler output the following: ▪ Processes execution order ▪ Waiting Time for each process ▪ Turnaround Time for each process ▪ Average Waiting Time ▪ Average Turnaround Time