Term
What components make up a process in ram |
|
Definition
Text section - program code Data Section - Global variables Stack - Local variables, parameters, return addresses Heap - Dynamically allocated memory during runtime |
|
|
Term
What is and what information is stored in a PCB |
|
Definition
*process state *program counter *cpu registers (context switching) *cpu scheduling information *Memory-management information *Accounting information *I/O status *PID *Priority |
|
|
Term
|
Definition
A system call provides an interface to services available from the operating system. |
|
|
Term
Describe the 3 different types of kernels |
|
Definition
*Monolithic - The entire O/S runs in kernel mode *Microkernel - Only the kernel itself runs in kernel mode. Message passing is used for interaction with the kernel *Hybrid - mix of Monolithic and Microkernel |
|
|
Term
What is the difference between a mechanism and a policy |
|
Definition
A mechanism is how to do something and a policy is what should be done. |
|
|
Term
What is a virtual machine |
|
Definition
the abstraction of a computer system into several seperate invironments creating the illusion that each running instance is it's own system. |
|
|
Term
How are new processes created using the fork() call? |
|
Definition
*A copy is made of the address space of the original process. *Both processes continue execution after the fork call. *fork will return the PID of the child to the parent process, and 0 to the parent. |
|
|
Term
What are the advantages of threads? |
|
Definition
*Simple communication between threads * Share global variables *Fast context switching *Less memory needed |
|
|
Term
|
Definition
a way to notify a process that a particular event has occured |
|
|
Term
Scheduling: CPU utilization |
|
Definition
percentage of time that the cpu is being used |
|
|
Term
|
Definition
The number of processes executed per unit of time. |
|
|
Term
Scheduling: Turnaround time |
|
Definition
The interval from when aprocess is submitted to a queue to it's completion. |
|
|
Term
|
Definition
The time a process spends in a queue. |
|
|
Term
Scheduling: Response time |
|
Definition
The time from when a process is first submitted to it's first result. |
|
|
Term
|
Definition
Increasing the priority of a process as it waits a long time in a queue. |
|
|