Final Exam Quiz Review Flashcards
_____ assigns a processor to the first process in the ready queue
Dispatching
An operating system must be designed such that…
Context switches are transparent to processes
What operation is particularly useful for detecting security threats and debugging software?
Suspend
What does a process control block do?
Store the address of the next instruction to be processed by a different process.
For a single processor system, there will never be more than ____ running process(es)
One
When a process is created by a unix fork() call, what is not inherited by the child process?
The process ID
What kind of state transition is not possible?
Blocked to running
A process switch might occur when the system encounters an interrupt condition, such as that generated by…
Supervisor call, memory fault, and trap
When a process is in the ____ state it is in secondary memory but is available for execution as soon as it is loaded into main memory
Ready/Suspend
The concept of process in an operating system embodies two primary characteristics, one of which is:
Resource ownership
LWP is placed between…
User and kernel threads
The basic thread operation related to the change in thread state that occurs when thread needs to wait for an event is referred to as:
Block operation
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
To overcome the disadvantages of ULT, a technique is used to convert a blocking system call into a non-blocking system call:
Jacketing
In a solaris system, a user-level thread that enters the active state is assigned to a:
Light-weight process (LWP)
What is the relationship between processes and threads in terms of time?
It takes far less time to create a new thread in an existing process than it does to create a new process.
Pure user-level thread implementations are usually ____ thread mappings
many-to-one
The threading model supported by the linux operating system is:
one-to-one
Which type of process interaction might result in the problem “data coherence”?
Cooperation by sharing
The initial value of the semaphore that allows only one of the many processes to enter their critical sections is..
1
A ____ is a data type that is used to block a process or thread until a particular condition is true.
Condition variable
An instruction that executes atomically executes as a ____ unit.
Single/uninterruptible