Study Guides (250,973)
CA (122,638)
UW (5,763)
CS (334)
CS 350 (14)
Midterm

F11-midterm-sol.pdf

11 Pages
105 Views

Department
Computer Science
Course Code
CS 350
Professor
Richard Ennis

This preview shows pages 1-2 and half of page 3. Sign up to view the full 11 pages of the document.
Description
CS350Fall2011MidtermSampleSolutionCourseCS350OperatingSystemsSections01113002160003830InstructorAshrafAboulnagaBorzooBonakdarpourDateofExamOctober252011TimePeriod19002100DurationofExam120minutesNumberofExamPages11pagesincludingthiscoversheetExamTypeClosedBookAdditionalMaterialsAllowedNonePleasemakeyouranswersasconciseaspossibleYoudonotneedtollthewholespaceprovidedforanswersQuestion1Question2Question310marks12marks13marksQuestion4Question510marks15marksTotal60marks110marksWriteTorFnexttoeachofthefollowingstatementstoindicatewhetheritisTrueorFalsea1markThreadsofaprocesssharethesameaddressspaceTb1markExternalfragmentationcannothappenwhenusingpagingtomanagevirtualmemoryTc1markThebehaviourofabinarysemaphoreisidenticaltothebehaviourofalockFd1markForadeadlocktooccurtheremustbeacycleofprocesseswaitingforeachotherTe1markThepurposeoftheTLBistoplacethecontentsofthemostfrequentlyaccessedpageframesintheL2cacheoftheCPUFf1markWhenaninterrupthappensitishandledbyaspecialthreadinthekernelthatisdedicatedtointerrupthandlingFg1markWhenaTLBfaultexceptionhappensandissuccessfullyhandledtheinstructionthatcausedtheexceptionisrestartedafterexceptionhandlingcompletesTh1markOperatingsystemstypicallyuseonlynonpreemptiveschedulingFi1markTheneedforsynchronizingthreadsthatrunconcurrentlyandaccesssharedresourcesonlyarisesifthemachinehasmultipleCPUsFj1markThesetofsystemcallsimplementedbyanoperatingsystemcanbechangedbyauserprogramF
More Less
Unlock Document
Subscribers Only

Only pages 1-2 and half of page 3 are available for preview. Some parts have been intentionally blurred.

Unlock Document
Subscribers Only
You're Reading a Preview

Unlock to view full version

Unlock Document
Subscribers Only

Log In


OR

Don't have an account?

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit