CE9002 CM102 Quiz 3 - 1415S1 sol - Copy.doc

Hardware control needed for a computer its peripheral

This preview shows page 1 - 2 out of 2 pages.

hardware control needed for a computer, its peripheral devices, and other programs to function smoothly . ANS:___F___ (7 marks) 2 Suppose that a disk drive has 3000 cylinders, numbered 0 to 2999. The drive is currently serving a request at cylinder 1233, and the previous request was at cylinder 1250. The queue of pending requests, in FIFO order, is 2286, 1470, 913, 1774, 948, 1509, 1022, 1750, 130 Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requests, for SCAN diskscheduling algorithms?. (3 marks) 1233+2286= 3519.
Image of page 1

Subscribe to view the full document.

CE9002/CM102 Quiz 3 3. Table lists the information of 5 processes. The processes are assumed to have arrived in the order P 1, P 2, P 3, P 4, P 5. Considering a single processor operating system and ignoring the context switching overhead: Process Arrival time Burst Time (ms) Priority P 1 0 2 2 P 2 0 2 2 P 3 1 1 3 P 4 1 5 1 P 5 1 3 1 a. Draw four Gantt charts illustrating the execution of these processes using FCFS, a non-preemptive SJF, a preemptive priority (a smaller priority number implies a higher priority), and RR (quantum = 1) scheduling. b. What is the waiting time of each process for each of the scheduling algorithms in part a? (10 marks)
Image of page 2
  • Fall '15
  • Dr Li Fang
  • Computer program, preemptive SJF

{[ 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