Unit 2: Processes and Process scheduling Flashcards
What is a process?
An executing program.
What are the three process states?
Running, Ready, and Blocked.
In processing, “running” is when………..
the CPU is actually being used.
In processing, “ready” is……….
runable, but has no CPU access.
In processing, “ blocked” is………..
waiting for an external event to occur.
What are the two process conditions?
Processor Bound and I/O Bound.
What is preemptive scheduling?
processes give up CPU based on clock interrupt.
What is Non-preemptive scheduling?
Processes voluntarily give up the CPU (run til done).
In scheduling, the amount of useful work accomplished per unit time is called ………..
Throughput
In scheduling, the fraction of time the device is busy is called …………
Utilization
What is Turnaround time?
The length of time between when the job arrives in the system and when it finally finishes.
•(exit time - arrival time)
What is wait time?
The amount of time the job is ready.
• ( turnaround time - execution time )
What is response time?
The length of time between when the job arrives in the system and when it starts to produce output.
• ( first execution time - arrival time )
What are the three levels of scheduling
Admission, Memory, and CPU.
Is FIFO preemptive or non-preemptive?
Non-preemptive