PHYS
Midterm1v2[Spring_2011-2012]

Midterm1v2[Spring_2011-2012] - Question I[7.5 Marks a efine...

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

Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Question I : [7.5 Marks] \ a) efine the term PCB and list 7 items that are associated with it. lo) State the steps that the OS follows when it switches between two processes. You may \, illustrate your work by using a diagram. c) State at least three reasons for allowing processes to communicate with each other. C!) Define the term Thread Library and then name three common thread libraries used in various operating systems. e) State at least one difference between user-level threads and kernel-level threads. Question 2: [7.5 Marks] State whether each of the following statements is true or false. Justify your answer when the statement is false. a) Context switching overhead of a light thread process is more than the overhead for a heavy thread process. b) The difference between l/O bound and CPU bound processes is that the former performs very little CPU related tasks while the later performs many l/O related tasks. ' c) it is possible for a process to go through "one stage only between the time it joins the ready queue and the time it terminates. d) The scheduling algorithm "Shortest Job First" is a fair scheduler and can be used in a multiuser interactive environment. e) There is. no difference bememhetheduling algorithms--i‘Eirst—Gome‘Ftreréi'VewafiT" “gun—d Robin" when RR uses a short quantum. Question 3: {15 Marks] Arrival Time Processim Time -‘-_ For FCFS and RR scheduling algorithms, fill in the table with the process that is running on the CPU. For RR, assume that the time slice is l. Operating Systems [141 l352) Extra Midterm Spring 20] 1-12 ...
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