0% found this document useful (0 votes)
50 views

Operating - System Structures: Exercises

The document contains a series of questions about operating system structures. Specifically, it asks about: 1) The two main categories of services and functions provided by operating systems and how they differ. 2) Methods for passing parameters to the operating system. 3) Obtaining a statistical profile of how time is spent in different parts of a program's code and why this is important. The questions cover a range of topics related to operating system design including file and device management, command interpreters, compilation models, interprocess communication, application programming interfaces, system layering, microkernel design, and similarities and differences between iOS and Android.

Uploaded by

Norvaldo Pedro
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views

Operating - System Structures: Exercises

The document contains a series of questions about operating system structures. Specifically, it asks about: 1) The two main categories of services and functions provided by operating systems and how they differ. 2) Methods for passing parameters to the operating system. 3) Obtaining a statistical profile of how time is spent in different parts of a program's code and why this is important. The questions cover a range of topics related to operating system design including file and device management, command interpreters, compilation models, interprocess communication, application programming interfaces, system layering, microkernel design, and similarities and differences between iOS and Android.

Uploaded by

Norvaldo Pedro
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Operating - 2

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

2.20 What are the advantages of using loadable kernel modules?


2.21 How are iOS and Android similar? How are they different?
2.22 Explain why Java programs running on Android systems do not use the
standard Java API and virtual machine.
2.23 The experimental Synthesis operating system has an assembler incor-
porated in the kernel. To optimize system-call performance, the kernel
assembles routines within kernel space to minimize the path that the sys-
tem call must take through the kernel. This approach is the antithesis of
the layered approach, in which the path through the kernel is extended
to make building the operating system easier. Discuss the pros and cons
of the Synthesis approach to kernel design and system-performance
optimization.

You might also like