Question
Draw corresponding Gantt charts illustrating the execution of these processes using FCFS, SJF,
SRTN, Priority based scheduling/even-driven scheduling and Round Robin (quantum=2) scheduling
algorithms
Answer :
Word Count : 635
_______ _____ ____ _________ _________ ____ __________ _______ ________ ________ _____.
_______ _________ _________ ___ ________ _____ _______ _______.
________ ______ _______ __________ ___.
__________ _________ _________ _______ _________ _____ _________ ______ _____ _________ ______ _________.
_______ ________ _________ ___ _______ _____.
__________ ________ _______ __________ _________ ____ ____ _________ ____ ____.
_________ ___ _______ _________ ________.
________ _______ _______ ___ _________.
___ _______ _________ ____ ______ _____ _____.
________ ___ _______ __________ _______ ____ ___ _____ _____ ___ ____.
___ ___ ___ _____ ____ ____ ______.
______ ____ ______ ___ ___.
______ ______ ______ _________ ___ ____ _____ ________ _______ ________.
____ ____ _________ _____ ___ ______ ___ _______.
_______ __________ _________ _____ ______.
______ _______ _______ ___ ___ ____ ___ _____.
____ ___ _____ _____ ____.
______ ________ _________ _______ ________ __________ __________ ____ ____ ___.
________ ___ ___ ________ ____ __________.
_________ ____ _________ ____ _____ _____ ______ _______ ______.
___ ________ _______ _____ ___ ________ ______ ______ _______ _________ __________.
___ _______ _____ __________ _________ ____ ________ _________ __________ __________ ________.
________ ___ ________ ______ _________ _____ __________.
___ __________ ______ ___ _____ _______ ________ _________ _____ _______ ________.
____ ____ _____ _____ __________ _______ _______ _____ _______ _______ _________.
__________ _________ __________ ______ _______ ____ _____ ____ _____ ______ _________ _______.
________ _______ ___ _______ ___ ________ _______.
___ ______ ______ ____ ______ _______.
_______ __________ __________ ________ _______ ______ ________ ___ __________ ____ ______ ____.
___ ____ __________ ___ __________ _________ __________ ___ _________ ___ _______ _________.
_____ _________ ________ ________ __________ ________ ____.
__________ _______ _____ ___ _________.
_____ ______ _________ ______ ________ ________ ________.
__________ ___ _____ _______ ____ _____ _____.
_________ __________ _________ __________ ______.
_______ ______ __________ _________ ______ __________.
_______ ___ ___ __________ ___ ___ ____ ______ ___ _______ _________ ______.
_____ _______ ___ ____ _____ __________ __________ ____ __________ ____ __________ ________.
____ __________ ________ _____ __________ ________ ___ _____ _______.
______ ____ _______ ___ _______ ________ ___.
__________ ____ ______ _____ _____.
_________ ____ ____ ___ ____ ___.
__________ _____ ___ ________ _______ ______ ________ ______ ___ ________ ___.
_________ ____ ______ ____ ____ __________ ____ __________ _______.
_________ ____ _____ _______ ________ _______.
_______ ___ ____ _____ _____ ___ ____ _____ ____ ___ _________.
__________ _____ _________ _________ _______ __________ _________ ___ _________.
____ _________ _____ _________ ___ ______ ________ __________ _____ _______ __________ ____.
_______ ____ _______ _____ _________ _______ _____ ______.
_____ _______ _____ _________ ____ ________.
_________ ____ ___ _______ _______ _____ _________ ______ _____.
_______ _________ ______.
Skip in 10
To illustrate the execution of processes using different scheduling algorithms, let us assume the following set of processes with their attributes:
| Process | Arrival Time | Burst Time | Priority |
|---|---|---|---|
| P1 | 0 | 8 | 3 |
| P2 | 1 | 4 | 1 |
| P3 | 2 | 9 | 4 |
| P4 | 3 | 5 | 2 |
We will construct the Gantt charts for each scheduling algorithm.
1. First-Come, First-Served (FCFS) Scheduling
This algorithm executes processes in the order of their arrival time.
Execution Order: P1 → P2 → P3 → P4
Gantt Chart:
| P1 | P2 | P3 | P4 | 0 8 12 21 26 Explanation:
- P1 starts at time 0 and finishes at time 8.
- P2 starts at time 8 and finishes at time 12.
- P3 starts at time 12 and finishes at time 21.
- P4 starts at time 21 and finishes at time 26.
2. Shortest Job First (SJF) Scheduling
This algorithm selects the process with the shortest burst time from the ready queue.
Execution Order: P1 → P2 → P4 → P3
Gantt Chart:
| P1 | P2 | P4 | P3 | 0 8 12 17 26 Explanation:
_______ _________ _________ ___ ________ _____ _______ _______.
________ ______ _______ __________ ___.
__________ _________ _________ _______ _________ _____ _________ ______ _____ _________ ______ _________.
_______ ________ _________ ___ _______ _____.
__________ ________ _______ __________ _________ ____ ____ _________ ____ ____.
_________ ___ _______ _________ ________.
________ _______ _______ ___ _________.
___ _______ _________ ____ ______ _____ _____.
________ ___ _______ __________ _______ ____ ___ _____ _____ ___ ____.
___ ___ ___ _____ ____ ____ ______.
______ ____ ______ ___ ___.
______ ______ ______ _________ ___ ____ _____ ________ _______ ________.
____ ____ _________ _____ ___ ______ ___ _______.
_______ __________ _________ _____ ______.
______ _______ _______ ___ ___ ____ ___ _____.
____ ___ _____ _____ ____.
______ ________ _________ _______ ________ __________ __________ ____ ____ ___.
________ ___ ___ ________ ____ __________.
_________ ____ _________ ____ _____ _____ ______ _______ ______.
___ ________ _______ _____ ___ ________ ______ ______ _______ _________ __________.
___ _______ _____ __________ _________ ____ ________ _________ __________ __________ ________.
________ ___ ________ ______ _________ _____ __________.
___ __________ ______ ___ _____ _______ ________ _________ _____ _______ ________.
____ ____ _____ _____ __________ _______ _______ _____ _______ _______ _________.
__________ _________ __________ ______ _______ ____ _____ ____ _____ ______ _________ _______.
________ _______ ___ _______ ___ ________ _______.
___ ______ ______ ____ ______ _______.
_______ __________ __________ ________ _______ ______ ________ ___ __________ ____ ______ ____.
___ ____ __________ ___ __________ _________ __________ ___ _________ ___ _______ _________.
_____ _________ ________ ________ __________ ________ ____.
__________ _______ _____ ___ _________.
_____ ______ _________ ______ ________ ________ ________.
__________ ___ _____ _______ ____ _____ _____.
_________ __________ _________ __________ ______.
_______ ______ __________ _________ ______ __________.
_______ ___ ___ __________ ___ ___ ____ ______ ___ _______ _________ ______.
_____ _______ ___ ____ _____ __________ __________ ____ __________ ____ __________ ________.
____ __________ ________ _____ __________ ________ ___ _____ _______.
______ ____ _______ ___ _______ ________ ___.
__________ ____ ______ _____ _____.
_________ ____ ____ ___ ____ ___.
__________ _____ ___ ________ _______ ______ ________ ______ ___ ________ ___.
_________ ____ ______ ____ ____ __________ ____ __________ _______.
_________ ____ _____ _______ ________ _______.
_______ ___ ____ _____ _____ ___ ____ _____ ____ ___ _________.
__________ _____ _________ _________ _______ __________ _________ ___ _________.
____ _________ _____ _________ ___ ______ ________ __________ _____ _______ __________ ____.
_______ ____ _______ _____ _________ _______ _____ ______.
_____ _______ _____ _________ ____ ________.
_________ ____ ___ _______ _______ _____ _________ ______ _____.
_______ _________ ______.
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.