Term
| Which of the following is part of the basic structure of a process? |
|
Definition
|
|
Term
| Which of these states is valid for a process? |
|
Definition
Waiting
Running
Ready
New
Terminated |
|
|
Term
| What processes are in the job queue? |
|
Definition
| All processes in a system |
|
|
Term
| What processes are in the ready queue? |
|
Definition
| the processes that are residing in main memory and are waiting to execute |
|
|
Term
| What is the job of the process scheduler? |
|
Definition
| Selects an available process for program execution on the CPU |
|
|
Term
| Which of the following will change the state of a process |
|
Definition
| The process issues an I/O request to be placed on the I/O queue
The process creates a subprocess and wait for the subprocess’s termination
The process is removed forcibly from the cpu |
|
|
Term
| What is the job of the short term scheduler? |
|
Definition
| Selects from among the processes that are ready to execute and allocates the CPU to one of them |
|
|
Term
| What is the job of the long term scheduler? |
|
Definition
| Selects a process from a storage device and loads them into memory for execution |
|
|
Term
| What is an I/O bound process? |
|
Definition
| A process that spends more of its time doing I/O then it spends doing computations |
|
|
Term
| What is a CPU bound process? |
|
Definition
| Generates I/O requests infrequently, using more of its time doing computations |
|
|
Term
| What is the function of the medium term scheduler? |
|
Definition
| remove processes from memory and later, the process can be reintroduced into memory, continuing execution where it left off. This is called swapping. |
|
|
Term
| What is a “context switch” |
|
Definition
| Saving the state of the current process and restoring a different process |
|
|
Term
| If a parent process creates a child process, what two possibilities exist in term of execution for the parent? |
|
Definition
| The parent continues to execute concurrently with its children
The parent waits until some or all of its children have terminated |
|
|
Term
| Which of the following is a typical reason to terminate a child process? |
|
Definition
| The child has exceeded its usage of the resources it has been allocated
The task assigned to the child is no logner required
The parent is exiting |
|
|
Term
| Which of the following is a reason to implement cooperation between processes? |
|
Definition
Information sharing
Computation speedup
Modularity
convenience |
|
|
Term
| Cooperating processes require _____________________ mechanism to allow an exchange of data and information? |
|
Definition
| interprocess communication |
|
|
Term
| What are the two fundamental models of InterProcesses communication? |
|
Definition
Shared memory
Message passing |
|
|
Term
| Which of the following is a logical method for implementing send()/ receive() operations? |
|
Definition
Direct or indirect communication
Synchronous or asynchronous communication
Automatic or explicit buffering |
|
|
Term
| For direct communication, each process must explicitly name the process it wants to communicate with. |
|
Definition
|
|
Term
| When using direct communication, the communication link has all of the following properties. |
|
Definition
| A link is established automatically between every pair of processes that want to communicate. The processes need to know only each other’s identity to communicate
A link is associated exactly two processes
Between each pair of processes, there exists exactly one link |
|
|
Term
| What is symmetry in addressing? |
|
Definition
| Both the sender processes and the receiver process must name the other to communicate |
|
|
Term
| For Indirect communication, what are the message sent to or received from? |
|
Definition
|
|
Term
| In indirect communication the communication link has all of the following properties. |
|
Definition
| A link is established between of pair of processes only if both members of the pair have a shared mailbox
A link may be associated with more than two processes
Between each pair of communicating processes, there may be a number of different links, with each link corresponding to one mailbox |
|
|
Term
| What is the definition of blocking send? |
|
Definition
| The sending process is blocked until the message is received by the receiving process or by the mailbox |
|
|
Term
| What is the definition of blocking receive? |
|
Definition
| The receiver blocks until a message is available |
|
|
Term
| There are three ways to implement the temporary queues for indirect or direct communication. |
|
Definition
Zero capacity
Bounded capacity
Unbounded capacity |
|
|