Question

Implement the task scheduling algorithm on your system to minimize the total amount of time spent in the system for the following problem:

\bullet Job                 1\; \; \; \; \; \; 5\; \; \; \; \; \; 2\; \; \; \; \; \; 10
\bullet Service Time  3\; \; \; \; \; \; 7\; \; \; \; \; \; 4\; \; \; \; \; \; 8

07 Mar 2024
Answer :
Word Count : 248
To minimize the total amount of time spent in the system (turnaround time), we can use the Shortest Job First (SJF) scheduling algorithm, which processes jobs in increasing order of service time. ### Given Data: - Jobs: 1, 2, 3, 4 - Service Times: - Job 1 → 3 - Job 2 → 7 - Job 3 → 4 - Job 4 → 8 ### Step 1: Sort Jobs by Service Time Sorted order: - Job 1 (3) - Job 3 (4) - Job 2 (7) - Job 4 (8) ### Step 2: Compute Completion Times - Job 1
____ ______ ____ ___ _________ ___ _________ __________ _____ _________ ___ ________.
____ ________ _______ ____ ________ _________.
____ _____ _____ ________ ________ ___ _______ _________ _______ _________ _______ _____.
________ ___ _____ _____ _________ __________ _____.
____ ______ _____ _______ ____ ___ __________ __________ ______.
_________ _______ ___ ____ ____ ___ _____ _______.
__________ ______ ___ ________ __________ ___ ______.
_______ _________ _______ __________ _____.
_________ ___ ___ _________ __________ ____ ____ ______.
______ __________ ____ __________ ________ _______ _________ ___ ______ ________.
__________ ________ _____ ______ _________.
____ ________ ___ ___ _________ __________ _______.
_____ ______ ______ ___ _________ _________ ___ _____ ________.
___ _______ ____ _____ _____ ____.
___ ______ ___ ____ _______ __________ ____ ________ _________ ______ ____ ______.
___ ________ ___ _________ ________ _____ _______.
_______ ________ _______ _________ _________ ______ _______.
______ __________ __________ ______ ___ ___ __________.
_________ _______ ________ _____ _________.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU MCSL 216 2024 - Implement the task scheduling algorithm on your system to minimize the | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→