tut3(3).pdf - CPE205/CSC205 CE2005/CZ2005 Operating Systems...

This preview shows page 1 out of 1 page.

CPE205/CSC205 CE2005/CZ2005 Operating Systems 3-1 TUTORIAL THREE CPU Scheduling 1. State whether each of the following statements are true or false. Justify your answers. (a) A process scheduling discipline is preemptive if the CPU cannot be forcibly removed from a process. (b) Real-time systems generally use preemptive CPU scheduling. (c) Time-sharing systems generally use non-preemptive CPU scheduling. 2. Consider the following set of processes, with the length of the CPU burst length given in milliseconds: Process Burst Time Priority 1 P 10 3 2 P 1 1 3 P 2 3 4 P 1 4 5 P 5 2 The processes are assumed to have arrived in the order 1 P , 2 P , 3 P , 4 P , 5 P , all at time 0. (a) Draw four Gantt charts illustrating the execution of these processes using FCFS, SJF, a non-preemptive priority-based (a smaller priority number implies a higher
Image of page 1
  • Winter '15
  • Computer multitasking, Scheduling algorithm

{[ snackBarMessage ]}

Get FREE access by uploading your study materials

Upload your study materials now and get free access to over 25 million documents.

Upload now for FREE access Or pay now for instant access
Christopher Reinemann
"Before using Course Hero my grade was at 78%. By the end of the semester my grade was at 90%. I could not have done it without all the class material I found."
— Christopher R., University of Rhode Island '15, Course Hero Intern

Ask a question for free

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern