midterm_11s - 5. Briefly describe the advantages and...

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

View Full Document Right Arrow Icon
COP 4610 Computer Operating Systems Spring 2011 Name: ______________________________ Midterm Last 5 digits of ZN : Zxxx __ __ __ __ __ This is a CLOSED books/notes test. You are NOT allowed to consult any material you have brought into the classroom. NO exchange of information is allowed among students. Write your name and ZN on each sheet detached. 1. How do clustered systems differ from multiprocessor systems. (12 pts.) 2. For what types of operations is DMA useful? Explain. (12 pts.) 3. Which of the following instructions should be allowed in user mode ? Circle the correct answers. (12 pts.) a) C l e a r m o n i t o r m e m o r y y e s / n o
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 4. What is the main advantage of the microkernel approach to system design? (12 pts.)
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 5. Briefly describe the advantages and disadvantages of the following. (12 pts.) a) Synchronous and asynchronous communication b) Send by copy and send by reference 6. Under what circumstances would a user be better off using a PC or a single-user system rather than a time-sharing system? (12 pts.) 3 7. What are the differences between a trap and an interrupt? (12 pts.) 8. How many new processes will be created after the following program is invoked? Draw a diagram to support your answer. (16 pts.) #include <stdio.h> #include <unistd.h> int main() { int i; pid_t pid; /* fork a child process, assuming no error */ pid = fork(); /* if child process */ if (pid == 0) { for (i = 0; i < 2; i++) { fork(); /* fork another process, assuming no error */ } } else { /* parent process */ wait(0); /* parent waits */ } return(0); }...
View Full Document

This note was uploaded on 07/13/2011 for the course COP 4610 taught by Professor Staff during the Summer '08 term at FAU.

Page1 / 3

midterm_11s - 5. Briefly describe the advantages and...

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