Sheet4 Solution
Sheet4 Solution
Sheet4 Solution
Chapter 4 – Threads
Page 1 of 2
Operating Systems sheet-3
Chapter 4 – Threads
Fill-In-The-Blank Questions:
1. In an operating system, the unit of dispatching is usually referred to as a ___________________, while the
unit of resource ownership is usually referred to as a process or task. Threads or lightweight process
2. An example of an operating system that supports a single user process and a single thread is
_______________. MS-DOS
3. An example of an operating system that supports multiple user processes and multiple threads is
_______________. WIN2K/solaris/linux/mach/os2
4. It is necessary to ___________________ the activities of various threads so they do not interfere with each
other or corrupt data structures. synchronize
5. A process that cannot execute until some event occurs is said to be in the _______________ state. blocked
6. The Clouds O/S implements the concept of a thread as primarily an entity that can move among address
spaces which represents the _______ Thread-to-Process relationship. One-to-many
7. In a ________________ system, the kernel can execute on any processor, and typically each processor
does self-scheduling from the pool of available processes or threads. Symmetric multiprocessor
8. In most modern computer systems, processors generally have at least one level of __________________
that is private to the processor. Cache memory
9. With multiple active processes in an SMP system having potential access to shared address space or
shared I/O resources, care must be taken to provide effective _________________.synchronization
10. In the ________________ O/S architecture, functions are organized hierarchically and interaction only takes
place between adjacent sections. layered
11. One advantage of the microkernel architecture is __________________, allowing the addition of new
services as well as the provision of multiple services in the same functional area. extensibility
12. The basic form of communication between processes or threads in a microkernel O/S is
__________________ . messages
13. In a Linux system, if the process has been terminated but, for some reason, still must have its task structure
in the process table is in the _____________ state. zombie
14. In a Solaris system, a User-Level Thread (ULT) in the active state is assigned to a(n)
____________________, and executes while the underlying kernel thread executes.
Light-weight process(LWP)
15. In a Windows 2000 system, a process that has been selected to run next on a particular process moves
from the Ready state to the _____________ state. standby
Page 2 of 2