Operating - System Structures: Exercises
Operating - System Structures: Exercises
CHAPTER
System
Structures
Exercises
2.9 The services and functions provided by an operating system can be
divided into two main categories. Briefly describe the two categories,
and discuss how they differ.
2.10 Describe three general methods for passing parameters to the operating
system.
2.11 Describe how you could obtain a statistical profile of the amount of time
a program spends executing different sections of its code. Discuss the
importance of obtaining such a statistical profile.
2.12 What are the advantages and disadvantages of using the same system-
call interface for manipulating both files and devices?
2.13 Would it be possible for the user to develop a new command interpreter
using the system-call interface provided by the operating system?
2.14 Describe why Android uses ahead-of-time (AOT) rather than just-in-time
(JIT) compilation.
2.15 What are the two models of interprocess communication? What are the
strengths and weaknesses of the two approaches?
2.16 Contrast and compare an application programming interface (API) and
an application binary interface (ABI).
2.17 Why is the separation of mechanism and policy desirable?
2.18 It is sometimes difficult to achieve a layered approach if two components
of the operating system are dependent on each other. Identify a scenario
in which it is unclear how to layer two system components that require
tight coupling of their functionalities.
2.19 What is the main advantage of the microkernel approach to system
design? How do user programs and system services interact in a micro-
kernel architecture? What are the disadvantages of using the microker-
nel approach?
3
4 Chapter 2 Operating-System Structures