{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

midtermB - Name CIS 586 Midterm March 6th 2008 Answer all...

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

View Full Document Right Arrow Icon
Name: CIS 586 Midterm March 6 th , 2008 Answer all questions in the space provided. You may write on the back if you need more room. Closed book, closed notes, closed neighbor. Please write your name on each page. Question 1 /10 pts Question 2 /5 pts Question 3 /10 pts Question 4 /15 pts Question 5 /15 pts Question 6 /15 pts Question 7 /20 pts Question 8 /10 pts Total / pts 1
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
Question 1) a) (5) Why are modern systems split into user mode and kernel mode? b) (5) What do system calls, exceptions and interrupts have in com- mon? Question 2) (5) Explain what happens in a context switch and what language re- quirements a context switch has. Question 3) (10) What are the main differences between user level threads and kernel level threads? 2
Image of page 2
Question 4) (15) The below code synchronizes cars passing over a bridge. The bridge is only wide enough for one-way traffic, and can only support 5 cars a time. While traffic is passing from one-side the traffic on the other side has to wait.
Image of page 3

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

View Full Document Right Arrow Icon
Image of page 4
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