3055q11 - 59 blah Score Name ECE 3055 Quiz CPU Scheduling...

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: . 59+ blah Score: Name: ECE 3055 Quiz - November 20, 2002 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 process is in the ready queue just prior to arrival time i.e. in the queue just before a running process is stopped and added to the ready queue. Process Arrival Time CPU Burst or Execution Time P1 0.0ms 7ms ‘ _ _ P2 1.0ms 3ms T l 7d+Q\O-l)+\p— 3 3 P3 3.0ms 2ms 3 Draw a Gantt chart using FCFS: W7 0 1w”— 3 } PI S P 2. i Pi I 0 1 2 3 4 5 6 7 8 9 10 11 12 T‘T : ‘7M+(9~?)4\I2—I) 3 I Pl - P3 P1 'W‘QAWW') | 1 7 0 1 2 3 4 5 6 7 8 9 10 11 12 4'1 z \1HLH) WSW/3 wT: 5+O+V3 m P; in. P3 Pl l 4 O 1 2 3 5 6 7 8 9 10 11 12 Draw a Gantt chart using SJF (no preemption): Draw a Gantt chart using SRTF: Draw a Gantt chart using R with time slice =2: {P‘ [P1 - P3 It’ll. Pt I O l 2 3 4 5 6 7 8 9 10 11 12 - TT= [Li-CH) AC6"? y3 Fill in the table below: Avera e Turnaround Time Avera e Wait Time FCFS $.33} {15/3} 4:333 (93/) SJF 8 Ki _ (n0 preemption) SRTF C L (preemption) RR 9323(1)?) we; V95”) ...
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