Assignment 1

Operating Systems Principles

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

View Full Document Right Arrow Icon
CPSC435 (W2008) Operating Systems Answer key for Assignment 1 1. Solve Problem 1 (p. 66) in the textbook. S F p1 p2 p3 p4 p6 p5 p7 S F p1 p2 p3 p4 p5
Image of page 1

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

View Full Document Right Arrow Icon
2. Solve problem 2 (pp. 66-67) in the textbook. Note there are two parts in the problem. cobegin cobegin W = X1 * X2; Y = W * Y; // // V = X3 * X4; Z = W * Z; cobegin coend; Y = V * X5; A = Y + Z; // Z = V * X6; coend; coend; 3. Solve Problem 3(a) (p. 67) in the textbook. cobegin cobegin p3 // p1; cobegin p5 // p6 coend coend p2
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: // p4 coend 4. Transform the expression shown in the first part of Problem 2 (p. 66) in the text book ( i.e. W, V, Y, and Z) using fork , join , and quit primitives. t1 = 2; t2 = 2; fork L1; fork L2; L1: W = X1 * X2; join t1,L3; quit; L2: V = X3 * X4; join t1,L3; quit; L3: fork L4; fork L5; L4: Y = V * X5; join t2,L6; quit; L5: Z = V * X6; join t2,L6; quit; L6: quit;...
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