3055q11a - Score Name ECE 3055 Quiz — April 7 2004 CPU...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Score: Name: ECE 3055 Quiz — April 7, 2004 CPU Scheduling The following processes arrive for execution at the times indicated. Use preemptive scheduling for SRTF and RR. Base all decisions on the information you have at the time the decision is made. At arrival time, the burst execution time is known. For RR, assume a newly arrived process is in the ready queue just prior to its arrival time (i.e. it is in the ready queue just before a running process is stopped and added to tail of the ready queue at a time slice.) Process Arrival Time CPU Burst or Execution Time P1 0.0ms 41115 p2 2.0ms 3ms TT_ u+g+c+€= 5'15" P3 4.01m 3ms -' T'- P4 6.0ms 2ms [MT 9&1 = 1.15 Draw a Gantt chart using FCFS: f. i P\ P i 0 l 2 3 4 5 6 7 8 71-9: 41315;: 12 Draw a Gantt chart using SJF (no preemption): If it” —-P 0 l 3 4 5 6 7 8 9 10 11 12 Draw a Gantt chart using SRTF: Fill in the table below: Avera e Turnaround Time Avera e Wait Time ' Lt FCFS 51-5 '2 .lg SJF S i I __ (no preemption) SRTF g 1—_ (preemption) RR c5 35 ...
View Full Document

{[ snackBarMessage ]}

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