Midterm Spring 2006 - Midterm Spring 2006 Name:_ _ Question...

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

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

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

View Full DocumentRight Arrow Icon
Part 1. True False Questions Answer True/False (T/F) (1 point each) ____ The user time + kernel time in a process is always equal to the real time ____ In a soft real-time system critical tasks take the highest priority until completion. ____ A short quantum will benefit CPU-intensive applications ____ SMP stands for Simultaneous Multi processing. ____ The function strdup(s) allocates strlen(s)+1 memory to allocate a string. ____ execvp will return 0 if successfull. ____ After fork(), each process will have its own file descriptor table. ____ The ordering of mutex_unlock() calls may cause a deadlock. ____ Interrupt handlers run in user space. ____ A semaphore initialized with 1 can be used to instead of a mutex. Part 2. Short questions. 1. (3 pts) Explain the advantages and disadvantages of a cluster vs. a parallel machine 2. (3 pts.) Explain the advantages and disadvantages of choosing a small quantum.
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.

This note was uploaded on 01/30/2012 for the course CS 252 taught by Professor Gustavorodriguez during the Fall '11 term at Purdue University-West Lafayette.

Page1 / 7

Midterm Spring 2006 - Midterm Spring 2006 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