Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Consider three processes (process id 0,1,2 re... Start Learning for Free
Consider three processes (process id 0,1,2 respectively) with compute time bursts 2,4 and 8 time units. All processes arrive at time zero. Consider the longest remaining time first (LRTF) scheduling algorithm. In LRTF ties are broken by giving priority to the process with the lowest process id. The average turn around time is:
    Correct answer is '13'. Can you explain this answer?
    Most Upvoted Answer
    Consider three processes (process id 0,1,2 respectively) with compute ...
    Turn around time of a process is the total time between submission of the process and its completion. LRTF (Longest Remaining Time First), means the process which has the remaining time largest, will run first and in case of the same remaining time, the lowest process will be given priority to run.
    Let the processes be p0, p1 and p2. These processes will be executed in the following order.
    Gantt chart is as follows:
    First 4 sec, pwill run, then remaining time p2 = 4, p1 = 4, p0 = 2.
    Now, p1 will get chance to run for 1 sec, then remaining time p2 = 4, p1 = 3, p0 = 2.
    Now, p2 will get chance to run for 1 sec, then remaining time p2 = 3,p1 = 3,p0 = 2.
    By doing this way, you will get the above Gantt chart.
    Scheduling table:
    AT = Arrival Time, BT = Burst Time, CT = Completion Time, TAT = Turn Around Time As we know, turn around time is the 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 p0 = 12 (12 − 0)
    Turn around time of p1 = 13 (13 − 0)
    Turn around time of p2 = 14 (14 − 0)
    Average turn around time is,
    = 13 
    =13
    Hence, the correct answer is 13.
    Explore Courses for Computer Science Engineering (CSE) exam

    Top Courses for Computer Science Engineering (CSE)

    Consider three processes (process id 0,1,2 respectively) with compute time bursts 2,4 and 8 time units. All processes arrive at time zero. Consider the longest remaining time first (LRTF) scheduling algorithm. In LRTF ties are broken by giving priority to the process with the lowest process id. The average turn around time is:Correct answer is '13'. Can you explain this answer?
    Question Description
    Consider three processes (process id 0,1,2 respectively) with compute time bursts 2,4 and 8 time units. All processes arrive at time zero. Consider the longest remaining time first (LRTF) scheduling algorithm. In LRTF ties are broken by giving priority to the process with the lowest process id. The average turn around time is:Correct answer is '13'. 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 three processes (process id 0,1,2 respectively) with compute time bursts 2,4 and 8 time units. All processes arrive at time zero. Consider the longest remaining time first (LRTF) scheduling algorithm. In LRTF ties are broken by giving priority to the process with the lowest process id. The average turn around time is:Correct answer is '13'. 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 three processes (process id 0,1,2 respectively) with compute time bursts 2,4 and 8 time units. All processes arrive at time zero. Consider the longest remaining time first (LRTF) scheduling algorithm. In LRTF ties are broken by giving priority to the process with the lowest process id. The average turn around time is:Correct answer is '13'. Can you explain this answer?.
    Solutions for Consider three processes (process id 0,1,2 respectively) with compute time bursts 2,4 and 8 time units. All processes arrive at time zero. Consider the longest remaining time first (LRTF) scheduling algorithm. In LRTF ties are broken by giving priority to the process with the lowest process id. The average turn around time is:Correct answer is '13'. 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 three processes (process id 0,1,2 respectively) with compute time bursts 2,4 and 8 time units. All processes arrive at time zero. Consider the longest remaining time first (LRTF) scheduling algorithm. In LRTF ties are broken by giving priority to the process with the lowest process id. The average turn around time is:Correct answer is '13'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Consider three processes (process id 0,1,2 respectively) with compute time bursts 2,4 and 8 time units. All processes arrive at time zero. Consider the longest remaining time first (LRTF) scheduling algorithm. In LRTF ties are broken by giving priority to the process with the lowest process id. The average turn around time is:Correct answer is '13'. Can you explain this answer?, a detailed solution for Consider three processes (process id 0,1,2 respectively) with compute time bursts 2,4 and 8 time units. All processes arrive at time zero. Consider the longest remaining time first (LRTF) scheduling algorithm. In LRTF ties are broken by giving priority to the process with the lowest process id. The average turn around time is:Correct answer is '13'. Can you explain this answer? has been provided alongside types of Consider three processes (process id 0,1,2 respectively) with compute time bursts 2,4 and 8 time units. All processes arrive at time zero. Consider the longest remaining time first (LRTF) scheduling algorithm. In LRTF ties are broken by giving priority to the process with the lowest process id. The average turn around time is:Correct answer is '13'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Consider three processes (process id 0,1,2 respectively) with compute time bursts 2,4 and 8 time units. All processes arrive at time zero. Consider the longest remaining time first (LRTF) scheduling algorithm. In LRTF ties are broken by giving priority to the process with the lowest process id. The average turn around time is:Correct answer is '13'. 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