Test
True / False Questions:
1. T / F – An operating system controls the execution of applications and acts as an interface between applications and the computer hardware.
2. T / F – The operating system maintains information that can be used for billing purposes on multi-user systems.
3. T / F – The principal responsibility of the operating system is to control the execution of processes.
4. T / F – When one process spawns another, the spawning process is referred to as the child process and the spawned process is referred to as the parent process.
5. T / F – The less-privileged processor execution mode is often referred to as kernel mode.
6. T / F – One kind of system interrupt, the trap, relates to an error or exception condition in the currently running process.
7. T / F – The Process Image refers to the binary form of the program code.
8. T / F – A typical UNIX system employs two Running states, to indicate whether the process is executing in user mode or kernel mode.
9. T / F – The short-term scheduler may limit the degree of multiprogramming to provide satisfactory service to the current set of processes.
10. T / F – The long-term scheduler is invoked whenever an event occurs that may lead to the suspension or preemption of the currently running process.
11. T / F – In a multiprogramming system, main memory is divided into multiple sections: one for the operating system (resident monitor, kernel) and one for the set of processes currently being executed.
12. T / F – In the Dynamic Partitioning technique of
memory management, compaction refers to shifting the processes into a contiguous block, resulting in all the free memory aggregated into in a single block. 13. T / F – In a memory system employing paging, the chunks of a process (called frames) can be assigned to available chunks of memory (called pages).
14. T / F – A memory system employing segmentation consists of a number of user program segments that must be of the same length and have a maximum segment length.
15. T / F – The condition known as thrashing occurs when the majority of the processes in main memory require repetitive blocking on a single shared I/O device in the system.
16. T / F – A Page Fault occurs when the desired page table entry is not found in the Translation Lookaside Buffer (TLB).
17. T / F – Double buffering refers to the concept of using two buffers to alternatively fill and empty in order to facilitate the buffering of an I/O request. 18. T / F – A pile file refers to the least complicated form of file organization, where data are collected in sorted order and each record consists of one burst of data.
19. T / F – In the general indexed file structure, there are no key fields and variable-length records are allowed.
20. T / F – Typically, an interactive user or a process has associated with it a current directory, often referred to as the working directory.
21. T / F – In a uniprocessor machine, concurrent processes cannot be overlapped; they can only be interleaved.
22. T / F – In indirect addressing, as applied to message passing, messages are sent to a temporary shared data structure typically known as a mailbox.
23. T / F – Deadlock can be defined as the periodic blocking of a set of processes that either compete for system resources or communicate with each other.
24. T / F – A reusable resource is one that can be safely used by only one process at a time and is not depleted by that use.
Multiple Choice Questions:
1. A primary objective of an operating system is:
a. Convenience b. Efficiency
c. Ability to evolve d. All of the above
2. The operating system provides many types of services to end-users, programmers and system designers, including:
a. Built-in user applications b. Error detection and response
c. Relational database capabilities with the internal file system
d. All of the above
3. The behavior of a processor can be characterized by examining:
a. A single process trace b. Multiple process traces
c. The interleaving of the process traces d. All of the above
4. There are a number of conditions that can lead to process termination, including: a. Normal completion b. Bounds violation c. Parent termination d. All of the above
5. A Memory Table is an O/S control structure that is used by the O/S to:
a. Manage I/O devices b. Manage processes
c. Provide information about system files d. None of the above
6. The type of scheduling that involves the decision to add a process to those that are at least partially in main memory and therefore available for execution is referred to as:
a. Long-term scheduling b. Medium-term scheduling c. I/O scheduling d. None of the above
7. In terms of frequency of execution, the short-term scheduler is usually the one that executes:
a. Most frequently b. Least frequently
c. About the same as the other schedulers d. None of the above
8. A problem with the largely obsolete Fixed Partitioning memory management technique is that of:
a. Allowing only a fixed number of Processes b. Inefficient use of memory c. Internal fragmentation d. All of the above
9. An actual location in main memory is called a(n):
a. Relative address b. Logical address c. Absolute address d. None of the above
10. The situation that occurs when the desired page table entry is not found in the Translation Lookaside Buffer (TLB) is called a: a. TLB miss b. TLB hit c. Page fault
d. None of the above