
CpE 445 Operating Systems
HW2
1
1. Contrast and compare an application programming interface (API) and an application
binary interface (ABI).
2. Why is the separation of mechanism and policy desirable?
3. What is the main advantage of the microkernel approach to system design? How do user
programs and system services interact in a microkernel architecture? What are the
disadvantages of using the microkernel approach?
4. Including the initial parent process, how many processes are created by the program
shown in the below figure?
5. Describe the actions taken by a kernel to context-switch between processes.
6. What are the benefits and the disadvantages of each of the following? Consider both the
system level and the programmer level.
a. Synchronous and asynchronous communication
b. Automatic and explicit buffering
c. Send by copy and send by reference
d. Fixed-sized and variable-sized messages