{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Computer Science 162 - Fall 1991 - Smith - Midterm 1

Computer Science 162 - Fall 1991 - Smith - Midterm 1 - CS...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 162, Midterm #1, Fall 1991 CS162, Fall 1991 Midterm #1 Professor Alan Smith Problem #1 When a compiler compiles a program and produces the corresponding object module(s), it also produces some information (in tables) to be used by the linker/loader. Please list and describe all such information, and explain why the linker/loader needs it. (15) Problem #2 What advantages (if any) are there in having different quantum sizes on different levels of a multilevel scheduling queueing algorithm. (10) Problem #3 What is the meaning of the term "busy waiting?" What other kinds of waiting are there? Can busy waiting be avoided altogether, assuming a machine with a "swap" instruction for synchronizaion. Explain. (12) Problem #4 Simulate the banker's algorithm to get a safe sequence for the following: There are 15 units currently free (available). (10) process already allocated total need A 100 250 B 40 180 C 20 30 D 110 140 file:///C|/Documents%20and%20Settings/Jason%20Raft...0-%20Fall%201991%20-%20Smith%20-%20Midterm%201.htm (1 of 2)1/27/2007 3:58:46 PM
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CS 162, Midterm #1, Fall 1991 Problem #5 The following questions are true/false or multiple choice. Please enter the appropriate answer: (33)
Image of page 2
This is the end of the preview. Sign up to access the rest of the 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