Question
Draw four Gantt charts illustrating the execution of these processes using FCFS, SRTN, SJF and Round Robin (quantum=2) scheduling.
Answer :
Word Count : 399
___ ____ ________ _____ _______ ____.
____ ____ _______ ___ _________ ____ _______ ___ _______ ________ __________.
______ __________ ____ ____ _________ ______ _________ _______ _________ ____ _________.
______ ______ _________ ______ _________ _______ ___ ________ ____ ______ ___.
______ _________ ____ _________ ___ ___ _____ _____ _________ _____.
_______ ________ __________ ______ _____ _________.
____ ________ ____ ______ _____ ___ ________.
______ _______ ______ _________ _______ ______ ___ __________.
___ _____ __________ _________ __________ __________ ________ __________ ___.
___ __________ __________ _____ ________ ___.
________ _________ ______ _______ ____ _____ ______.
___ ___ _____ _____ _______ _____ ___ ________ ________.
______ __________ ______ ___ ___ _____ _______ __________.
_____ _________ _______ ___ _____ _____ _________.
_______ __________ ___ ___ ____ ________.
______ ___ _____ _________ ____ ____ _______ _________ ________.
____ _____ __________ ________ ______ ____ _____ _________ _________ _____.
____ ___ _____ ____ _________ ______ ___ __________ ________.
__________ __________ _______ ____ __________.
_________ ___ ___ __________ _______.
______ ___ ___ ____ ______ ____ _______ __________ _________.
______ _____ ____ ________ _________ ______ __________ __________.
________ __________ ______ ___ ________ _____.
_________ ____ ___ ____ _________ _______ ___ __________ ___ _______.
_____ ____ _____ _______ ______ ________ _____ _____ _____.
__________ __________ ____ ___ ________ ___ ______ ___ ________ ____ ______ _____.
__________ ___ _________ ______ _________ __________ _____ ________.
______ _____ _________ __________ ____ ____ ________ ___ ___ ____ ____.
_____ ____ ____ ________ ___ _______ _________ _____ ______.
________ _________ ________ _________ ______.
_________ ________ ____ _____ _________ _________ ______ ______ _____ ______ _________ ___.
___ ______ _____ ________ _________ _______ _________ _________ ___ ______.
__________ ______ _______ ___ __________ ___ __________.
____ ____ ______ _______ ____ ______ _____ ____.
______ ________ ______ _______ ____ ________ ________.
Skip in 10
FCFS (First-Come, First-Served) Scheduling:
Assume we have four processes P1, P2, P3, and P4, with the following execution times:
P1: 8 units
P2: 4 units
P3: 9 units
P4: 5 units
The Gantt chart for FCFS scheduling would look like:
| P1 | P2 | P3 | P4 |
0 8 12 21 26
SRTN (Shortest Remaining Time Next) Scheduling:
Assuming the same four processes with their execution times mentioned above, the Gantt chart for SRTN scheduling would be:
| P2 | P4 | P1 | P3 |
0 2 7 12 21 23
____ ____ _______ ___ _________ ____ _______ ___ _______ ________ __________.
______ __________ ____ ____ _________ ______ _________ _______ _________ ____ _________.
______ ______ _________ ______ _________ _______ ___ ________ ____ ______ ___.
______ _________ ____ _________ ___ ___ _____ _____ _________ _____.
_______ ________ __________ ______ _____ _________.
____ ________ ____ ______ _____ ___ ________.
______ _______ ______ _________ _______ ______ ___ __________.
___ _____ __________ _________ __________ __________ ________ __________ ___.
___ __________ __________ _____ ________ ___.
________ _________ ______ _______ ____ _____ ______.
___ ___ _____ _____ _______ _____ ___ ________ ________.
______ __________ ______ ___ ___ _____ _______ __________.
_____ _________ _______ ___ _____ _____ _________.
_______ __________ ___ ___ ____ ________.
______ ___ _____ _________ ____ ____ _______ _________ ________.
____ _____ __________ ________ ______ ____ _____ _________ _________ _____.
____ ___ _____ ____ _________ ______ ___ __________ ________.
__________ __________ _______ ____ __________.
_________ ___ ___ __________ _______.
______ ___ ___ ____ ______ ____ _______ __________ _________.
______ _____ ____ ________ _________ ______ __________ __________.
________ __________ ______ ___ ________ _____.
_________ ____ ___ ____ _________ _______ ___ __________ ___ _______.
_____ ____ _____ _______ ______ ________ _____ _____ _____.
__________ __________ ____ ___ ________ ___ ______ ___ ________ ____ ______ _____.
__________ ___ _________ ______ _________ __________ _____ ________.
______ _____ _________ __________ ____ ____ ________ ___ ___ ____ ____.
_____ ____ ____ ________ ___ _______ _________ _____ ______.
________ _________ ________ _________ ______.
_________ ________ ____ _____ _________ _________ ______ ______ _____ ______ _________ ___.
___ ______ _____ ________ _________ _______ _________ _________ ___ ______.
__________ ______ _______ ___ __________ ___ __________.
____ ____ ______ _______ ____ ______ _____ ____.
______ ________ ______ _______ ____ ________ ________.
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.