rishicera / Operating-System-Project-Q-43-

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Operating-System-Project-Q-43

Task:- Considering 4 processes with the arrival time and the burst time requirement of the processes the scheduler schedules the processes by interrupting the processor after every 3 units of time and does consider the completion of the process in this iteration. The schedulers then checks for the number of processes waiting for the processor and allots the processor to the process but interrupting the processor after every 6 units of time and considers the completion of the process in this iteration. The scheduler after the second iteration checks for the number of processes waiting for the processor and now provides the processor to the process with the least time requirement to go in the terminated state.

The inputs for the number of requirements, arrival time and burst time should be provided by the user.

Language:- C

Algorithms Involved :- Round Robin and SJF(Non-Premptive)

Test Example:-

Process A_T B_T P1 0 19 P2 3 13 P3 4 17 P4 7 11 P5 12 15

About