Midterm Fall 2008

Midterm Fall 2008 - Midterm Fall 2008 Name Question...

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

View Full Document Right Arrow Icon
Midterm Fall 2008 Name:_______________________________________________________________ _ Question Max. Current True/False 10 pts. Short Questions 1-5 15 pts. Short Questions 6-10 15 pts. 11, 5 pts. 12. 5 pts. 13. 10 pts. 14. 15 pts. 15. 10 pts 16. 15 pts Total:
Background image of page 1

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

View Full Document Right Arrow Icon
Answer True/False (T/F) (1 point each) ____ It is possible to get a deadlock with a single mutex lock. ____ Shared libraries add into the size of an executable file. ____ COFF stands for Compiler Object File Format. ____ The entry point of an executable file is the function main(). ____ A process has a stack for every thread it contains. ____ truss lists the function calls that a process makes. ____ Kernel-level threads use preemptive scheduling to switch among them. ____ Race conditons are more likely to happen in multiprocessor machines. ____ If multiple threads are waiting in a spin_lock call, a call to spin_unlock() will allow the thread that has been waiting the longest to proceed. ____ In POSIX threads, the thread calling fork will create a child process that is a copy of the parent inclluding all the threads in the process. Part 2. Short questions. 1. (3 pts) Explain the advantages and disadvantages of a cluster compared with a parallel machine. 2. (3 pts.) Explain the differences between kernel and user mode. . 3. (3 pts.) Explain the differences between non-preemptive and preemptive scheduling. . 4. (3 pts.) If most of the time processes are in wait state, how do you justify getting a
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 9

Midterm Fall 2008 - Midterm Fall 2008 Name Question...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online