EX chapter 2 Flashcards
1
Q
1. A \_\_\_\_\_ is an example of a systems program. A) command interpreter B) Web browser C) text formatter D) database system
A
Ans: A
Feedback: 2.2.1
Difficulty: Medium
2
Q
2. If a program terminates abnormally, a dump of memory may be examined by a \_\_\_\_ to determine the cause of the problem. A) module B) debugger C) shell D) control card
A
Ans: B
Feedback: 2.4.1
Difficulty: Medium
3
Q
- A message-passing model is ____.
A) easier to implement than a shared memory model for intercomputer communication
B) faster than the shared memory model
C) a network protocol, and does not apply to operating systems
D) only useful for small simple operating systems
A
Ans: A
Feedback: 2.4.5
Difficulty: Medium
4
Q
4. Policy \_\_\_\_. A) determines how to do something B) determines what will be done C) is not likely to change across places D) is not likely to change over time
A
Ans: B
Feedback: 2.6.2
Difficulty: Easy
5
Q
- The major difficulty in designing a layered operating system approach is ____.
A) appropriately defining the various layers
B) making sure that each layer hides certain data structures, hardware, and operations from higher-level layers
C) debugging a particular layer
D) making sure each layer is easily converted to modules
A
Ans: A
Feedback:: 2.7.2
Difficulty: Medium
6
Q
- A microkernel is a kernel ____.
A) containing many components that are optimized to reduce resident memory size
B) that is compressed before loading in order to reduce its resident memory size
C) that is compiled to produce the smallest size possible when stored to disk
D) that is stripped of all nonessential components
A
Ans: D
Feedback: 2.7.3
Difficulty: Easy
7
Q
- To the SYSGEN program of an operating system, the least useful piece of information is _____.
A) the CPU being used
B) amount of memory available
C) what applications to install
D) operating-system options such as buffer sizes or CPU scheduling algorithms
A
Ans: C
Feedback: 2.9
Difficulty: Medium
8
Q
- A boot block ____.
A) typically only knows the location and length of the rest of the bootstrap program
B) typically is sophisticated enough to load the operating system and begin its execution
C) is composed of multiple disk blocks
D) is composed of multiple disk cylinders
A
Ans: A
Feedback: 2.10
Difficulty: Medium
9
Q
9. \_\_\_\_\_ provide(s) an interface to the services provided by an operating system. A) Shared memory B) System calls C) Simulators D) Communication
A
Ans: B
Feedback: 2.3
Difficulty: Medium
10
Q
10. \_\_\_\_\_ is not one of the major categories of system calls. A) Process control B) Communications C) Protection D) Security
A
Ans: D
Feedback: 2.4
Difficulty: Easy
11
Q
11. \_\_\_\_\_ allow operating system services to be loaded dynamically. A) Virtual machines B) Modules C) File systems D) Graphical user interfaces
A
Ans: B
Feedback: 2.7.4
Difficulty: Medium
12
Q
12. Microkernels use \_\_\_\_\_ for communication. A) message passing B) shared memory C) system calls D) virtualization
A
Ans: A
Feedback: 2.7.3
Difficulty: Easy
13
Q
13. The Windows CreateProcess() system call creates a new process. What is the equivalent system call in UNIX: A) NTCreateProcess() B) process() C) fork() D) getpid()
A
Ans: C
Feedback: 2.4.1
Difficulty: Easy
14
Q
14. The close() system call in UNIX is used to close a file. What is the equivalent system call in Windows: A) CloseHandle() B) close() C) CloseFile() D) Exit()
A
Ans: A
Feedback: 2.4.1
Difficulty: Easy
15
Q
15. The Windows CreateFile() system call is used to create a file. What is the equivalent system call in UNIX: A) ioctl() B) open() C) fork() D) createfile()
A
Ans: B
Feedback: 2.4.1
Difficulty: Easy