Review Questions

Section 1.1

1.1 What are the four components of a computer system?

1.2 Provide at least three resources the operating system allocates.

1.3 What is the common name used to refer to the operating system

program?

1.4 What do mobile operating systems often include in addition to the core

kernel?

Section 1.2

1.5 What is an interrupt?

1.6 What special operation triggers a software interrupt?

1.7 What is one advantage of using a solid state disk over a magnetic disk?

1.8 What is the difference between volatile and nonvolatile storage?

Section 1.3

1.9 What is another term for multiprocessor system?

1.10 Provide at least two advantages of multiprocessor systems.

1.11 True or False? The most common multiple-processor system uses

asymmetric multiprocessing.

1.12 What is the name of a multiprocessor system that uses multiple computing

cores?

1.13 How does a clustered system differ from a multicore system?

Section 1.4

1.14 How does multiprogramming increase CPU utilization?

1

2 Chapter 1 Introduction

1.15 What is the term for a program that has been loaded and is executing?

1.16 What part of the operating system makes the decision with regards to

which job will run?

Section 1.5

1.17 What are the two separate modes of operation?

1.18 What is the mode of the system at boot time?

1.19 What is the mode of the system when the operating system gains control?

1.20 What is the mode of the system when a user program is running?

Section 1.6

1.21 Name at least two activities the operating system is responsible for in

connection with process management.

Section 1.7

1.22 Name at least two activities the operating system is responsible for in

connection with memory management.

Section 1.8

1.23 True or False? Managing files is one of the most visible aspects of an

operating system.

1.24 Name at least two activities the operating system is responsible for in

connection with file management.

1.25 Name at least two activities the operating system is responsible for in

connection with disk management.

1.26 Of the following five forms of storage, rank them from fastest to slowest

in terms of access time: (1) main memory, (2) magnetic disk, (3) registers,

(4) solid state disk, (5) cache.

Section 1.9

1.27 What is the difference between protection and security?

Section 1.10

1.28 List at least four common kernel data structures.

1.29 True or False? A bitmap of length N can be used to represent the status

of 2N items.

Section 1.11

1.30 List at least five different types of computing environments.

Section 1.12

1.31 Provide an example of an open source operating system.

 

 

 

Review Questions

Section 2.1

2.1 List at least three operating systemservicesthat are useful to users.

2.2 List at least three operating system functions that maintain efficient operation of the system.

Section 2.2

2.3 What are the two differentapproaches for providinga user interface?

Section 2.3

 2.4 What is a systemcall?

 2.5 What is an API?

 2.6 What kernel data structure can be used for one technique of passing parametersto system calls?

Section 2.4

2.7 List at least three of the major categoriesof system calls.

2.8 A program that has been loaded and executing is called a .

2.9 What part of the operating system makes the decision with regards to which job will run?

Section 2.5

2.10 List at least three of the categories of system programs.

2.11 True or False? The view most users see of the operating system is defined by application and system programs rather than system calls.

3

4 Chapter 2 Operating-System Structures

Section 2.6

2.12 What are the two basic goal groups that must be considered when designingan operating system?

2.13 What is the difference between policy and mechanism?

Section 2.7

2.14 Listat least three differentways for structuring an operating system.

2.15 Listat least two differenthybrid operating systems.

2.16 What are the two devicesthat run the iOS operating system?

2.17 Whattechniquedomicrokernelsusetocommunicatebetweenservices?

2.18 Provide an example of an operating system that uses the simple structure.

Section 2.8

2.19 True or False? Performance tuning is a type of debugging.

2.20 True or False? DTrace is available for Windows systems.

2.21 Nametwoactivitiestheoperatingsystemisresponsibleforinconnection with diskmanagement.

2.22 Name at least two activities the operating system is responsible for in connection with disk management.

2.23 Ofthefollowing5formsofstorage,rankthemfromfastesttoslowestin terms of access time: (1) main memory, (2) magnetic disk, (3) registers, (4) solid state disk, (5) cache.

Section 2.9

2.24 What does the term SYSGEN referto?

Section 2.10

2.25 What is the name of the small piece of code that locates the kernel and loads it into main memory?

 

 

 

 

Review Questions

Section 3.1

3.1 What are the four components of a process?

3.2 Provide at least three possible states a process may be in.

3.3 What is a Process Control Block (PCB)?

3.4 What is another term for process?

3.5 True or False? Most operating systems allow a process to have multiple threads.

Section 3.2

3.6 What is the role of the process scheduler?

3.7 What is the degreeof multiprogramming?

3.8 What is the term that describes saving the state of one process, and restoring the state of another?

3.9 What is the term that describes saving the state of one process, and restoring the state of another?

Section 3.3

3.10 What is a process identifier(PID)?

3.11 What system call createsa process on UNIX systems?

3.12 What system call createsa process on Windows systems?

3.13 What system call terminatesa process on UNIX systems?

3.14 What is the name of the process that UNIX and Linux systems assign as the new parent of orphan processes?

5

6 Chapter 3 Processes

Section 3.4

3.15 What are the two fundamental modelsof interprocess communication?

3.16 What are the two system calls used with message-passing systems?

3.17 True or False? Message passing is typicallyfaster than shared memory.

3.18 How must shared memory behave for a rendezvousto occur?

Section 3.5

3.19 What system call is used to create a POSIX shared memory object?

3.20 WhatsystemcallisusedtoconfigurethesizeofaPOSIX sharedmemory object?

3.21 What term doesMach use to describe mailboxes?

3.22 What system call does Mach use to create a new mailbox?

3.23 What term doesWindows use to name its message passing facility?

Section 3.6

3.24 Provideatleasttwotypesofcommunicationmechanismsinclient-server systems.

3.25 TCP sockets are (a) connection-oriented or (b) connection-less?

3.26 UDP sockets are (a) connection-oriented or (b) connection-less?

3.27 abstract procedure calls for use between systems with network connections.

3.28 What is parametermarshaling?

3.29 What are the two types of pipes?