Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Four jobs to be executed on a single processo... Start Learning for Free
Four jobs to be executed on a single processor system arrive at time 0 in the order A, B, C, D . Their burst CPU time requirements are 4, 1, 8, 1 time units respectively. The completion time of A under round robin scheduling with time slice of one time unit is
  • a)
    10
  • b)
    4
  • c)
    8
  • d)
    9
Correct answer is option 'D'. Can you explain this answer?
Verified Answer
Four jobs to be executed on a single processor system arrive at time 0...
The order of execution of the processes with the arrival time of each process = 0, using round robin algorithm with time quanta = 1 A B C D A C A C A, i.e, after 8 context switches, A finally completes it execution So, the correct option is (D).
View all questions of this test
Most Upvoted Answer
Four jobs to be executed on a single processor system arrive at time 0...
Explanation:

  • The given problem can be solved using round robin scheduling algorithm where CPU executes each process for a time slice of 1 unit and moves to the next process in the queue.

  • The total time required to complete all the jobs can be calculated as follows:


Total time = (4+1+8+1) = 14 units


  • The process A arrives first in the queue and is executed for 1 unit of time. Then it is moved to the end of the queue as it has not completed its execution.

  • The process B arrives next and is executed for 1 unit of time. Then it is moved to the end of the queue as it has not completed its execution.

  • The process C arrives next and is executed for 1 unit of time. Then it is moved to the end of the queue as it has not completed its execution.

  • The process D arrives next and is executed for 1 unit of time. Then it is moved to the end of the queue as it has not completed its execution.

  • The process A arrives at the head of the queue again and is executed for 1 unit of time. Then it is moved to the end of the queue as it has not completed its execution.

  • The process C arrives at the head of the queue and is executed for 1 unit of time. Then it is moved to the end of the queue as it has not completed its execution.

  • The process D arrives at the head of the queue and is executed for 1 unit of time. Then it is moved to the end of the queue as it has not completed its execution.

  • The process A arrives at the head of the queue again and is executed for 1 unit of time. This completes the execution of process A.


Hence, the completion time of process A is 1+4=5 units.


  • The remaining processes B, C and D are executed in a similar manner.

  • The completion time of process B is 6 units.

  • The completion time of process C is 11 units.

  • The completion time of process D is 14 units.


Therefore, the completion time of A under round robin scheduling with time slice of one time unit is 5 units.

Hence, the correct answer is option 'D'.
Explore Courses for Computer Science Engineering (CSE) exam

Similar Computer Science Engineering (CSE) Doubts

Top Courses for Computer Science Engineering (CSE)

Four jobs to be executed on a single processor system arrive at time 0 in the order A, B, C, D . Their burst CPU time requirements are 4, 1, 8, 1 time units respectively. The completion time of A under round robin scheduling with time slice of one time unit isa)10b)4c)8d)9Correct answer is option 'D'. Can you explain this answer?
Question Description
Four jobs to be executed on a single processor system arrive at time 0 in the order A, B, C, D . Their burst CPU time requirements are 4, 1, 8, 1 time units respectively. The completion time of A under round robin scheduling with time slice of one time unit isa)10b)4c)8d)9Correct answer is option 'D'. 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 Four jobs to be executed on a single processor system arrive at time 0 in the order A, B, C, D . Their burst CPU time requirements are 4, 1, 8, 1 time units respectively. The completion time of A under round robin scheduling with time slice of one time unit isa)10b)4c)8d)9Correct answer is option 'D'. 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 Four jobs to be executed on a single processor system arrive at time 0 in the order A, B, C, D . Their burst CPU time requirements are 4, 1, 8, 1 time units respectively. The completion time of A under round robin scheduling with time slice of one time unit isa)10b)4c)8d)9Correct answer is option 'D'. Can you explain this answer?.
Solutions for Four jobs to be executed on a single processor system arrive at time 0 in the order A, B, C, D . Their burst CPU time requirements are 4, 1, 8, 1 time units respectively. The completion time of A under round robin scheduling with time slice of one time unit isa)10b)4c)8d)9Correct answer is option 'D'. 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 Four jobs to be executed on a single processor system arrive at time 0 in the order A, B, C, D . Their burst CPU time requirements are 4, 1, 8, 1 time units respectively. The completion time of A under round robin scheduling with time slice of one time unit isa)10b)4c)8d)9Correct answer is option 'D'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Four jobs to be executed on a single processor system arrive at time 0 in the order A, B, C, D . Their burst CPU time requirements are 4, 1, 8, 1 time units respectively. The completion time of A under round robin scheduling with time slice of one time unit isa)10b)4c)8d)9Correct answer is option 'D'. Can you explain this answer?, a detailed solution for Four jobs to be executed on a single processor system arrive at time 0 in the order A, B, C, D . Their burst CPU time requirements are 4, 1, 8, 1 time units respectively. The completion time of A under round robin scheduling with time slice of one time unit isa)10b)4c)8d)9Correct answer is option 'D'. Can you explain this answer? has been provided alongside types of Four jobs to be executed on a single processor system arrive at time 0 in the order A, B, C, D . Their burst CPU time requirements are 4, 1, 8, 1 time units respectively. The completion time of A under round robin scheduling with time slice of one time unit isa)10b)4c)8d)9Correct answer is option 'D'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Four jobs to be executed on a single processor system arrive at time 0 in the order A, B, C, D . Their burst CPU time requirements are 4, 1, 8, 1 time units respectively. The completion time of A under round robin scheduling with time slice of one time unit isa)10b)4c)8d)9Correct answer is option 'D'. 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