Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Consider the following set of processes that ... Start Learning for Free
Consider the following set of processes that need to be scheduled on a single CPU. All the times are
given in milliseconds.
Using the shortest remaining time first scheduling algorithm, the average process turnaround time
(in msec) is ____________________.
    Correct answer is '7.2'. Can you explain this answer?
    Verified Answer
    Consider the following set of processes that need to be scheduled on a...
    Turn around time of a process is total time between submission of the process and its completion. Shortest remaining time (SRT) scheduling algorithm selects the process for execution which has the smallest amount of time remaining until completion.

    Solution:
    Let the processes be A, ,C,D and E. These processes will be executed in following order. Gantt chart is as follows:


    First 3 sec, A will run, then remaining time A=3, B=2,C=4,D=6,E=3 Now B will get chance to run for 2 sec, then remaining time. A=3, B=0,C=4,D=6,E=3
    Now A will get chance to run for 3 sec, then remaining time. A=0, B=0,C=4,D=6,E=3 By doing this way, you will get above gantt chart.

    Scheduling table:

    As we know, turn around time is total time between submission of the process and its completion. i.e turn around time=completion time-arrival time. i.e. TAT=CT-AT
    Turn around time of A = 8 (8-0)
    Turn around time of B = 2 (5-3)
    Turn around time of C = 7 (12-5)
    Turn around time of D = 14 (21-7)
    Turn around time of E = 5 (15-10)
    Average turn around time is (8+2+7+14+5)/5 = 7.2.
    Answer is 7.2.
    View all questions of this test
    Explore Courses for Computer Science Engineering (CSE) exam

    Similar Computer Science Engineering (CSE) Doubts

    Top Courses for Computer Science Engineering (CSE)

    Consider the following set of processes that need to be scheduled on a single CPU. All the times aregiven in milliseconds.Using the shortest remaining time first scheduling algorithm, the average process turnaround time(in msec) is ____________________.Correct answer is '7.2'. Can you explain this answer?
    Question Description
    Consider the following set of processes that need to be scheduled on a single CPU. All the times aregiven in milliseconds.Using the shortest remaining time first scheduling algorithm, the average process turnaround time(in msec) is ____________________.Correct answer is '7.2'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about Consider the following set of processes that need to be scheduled on a single CPU. All the times aregiven in milliseconds.Using the shortest remaining time first scheduling algorithm, the average process turnaround time(in msec) is ____________________.Correct answer is '7.2'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Consider the following set of processes that need to be scheduled on a single CPU. All the times aregiven in milliseconds.Using the shortest remaining time first scheduling algorithm, the average process turnaround time(in msec) is ____________________.Correct answer is '7.2'. Can you explain this answer?.
    Solutions for Consider the following set of processes that need to be scheduled on a single CPU. All the times aregiven in milliseconds.Using the shortest remaining time first scheduling algorithm, the average process turnaround time(in msec) is ____________________.Correct answer is '7.2'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
    Here you can find the meaning of Consider the following set of processes that need to be scheduled on a single CPU. All the times aregiven in milliseconds.Using the shortest remaining time first scheduling algorithm, the average process turnaround time(in msec) is ____________________.Correct answer is '7.2'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Consider the following set of processes that need to be scheduled on a single CPU. All the times aregiven in milliseconds.Using the shortest remaining time first scheduling algorithm, the average process turnaround time(in msec) is ____________________.Correct answer is '7.2'. Can you explain this answer?, a detailed solution for Consider the following set of processes that need to be scheduled on a single CPU. All the times aregiven in milliseconds.Using the shortest remaining time first scheduling algorithm, the average process turnaround time(in msec) is ____________________.Correct answer is '7.2'. Can you explain this answer? has been provided alongside types of Consider the following set of processes that need to be scheduled on a single CPU. All the times aregiven in milliseconds.Using the shortest remaining time first scheduling algorithm, the average process turnaround time(in msec) is ____________________.Correct answer is '7.2'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Consider the following set of processes that need to be scheduled on a single CPU. All the times aregiven in milliseconds.Using the shortest remaining time first scheduling algorithm, the average process turnaround time(in msec) is ____________________.Correct answer is '7.2'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
    Explore Courses for Computer Science Engineering (CSE) exam

    Top Courses for Computer Science Engineering (CSE)

    Explore Courses
    Signup for Free!
    Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
    10M+ students study on EduRev