Professional Documents
Culture Documents
Midterms
Midterms
Process management
Objectives:
Activity # 1.
1. Write an application program that performs non-preemptive
scheduling algorithm such as First Come First Serve (FCFS),
Shortest Job First (SJF) or non-preemptive Priority Scheduling
Algorithm (NPSA) . Draw the Gantt chart and calculate the CPU
utilization, systems throughput, average waiting time, and average
turnaround time.
Sample Output:
FCFS Algorithm
Process Burst Time
P1 24
P2 3
P3 3
Gantt chart
Sample Output:
SRTF Algorithm