Java Games: Flashcards, matching, concentration, and word search.

Processes

AB
set of all processes in the systemjob queue
set of all processes residing in main memory, ready and waiting to executeready queue
set of processes waiting for an I/O devicedevice queues
selects which processes should be in the ready queueLong-term scheduler (job scheduler)
selects which process should be allocated the CPUShort-term scheduler (CPU Scheduler)
Short-term scheduler is invoked very________frequently (milliseconds) Þ (must be fast)
Long-term scheduler is invoked very___________infrequently (seconds, minutes) Þ (may be slow)
long-term scheduler controls the_________degree of multiprogramming
When CPU switches to another process, the system must save the state of the old process and load the saved state for the new process via a_________context switch
What does it mean for the context-switch time to be overhead?the system does no useful work while switching
How does a CPU Scheduler Work?Selects from among the processes in memory that are ready to execute, and allocates the CPU to one of them
CPU scheduling decisions may take place when a process:Switches states or terminates
How does a dispatcher work?Dispatcher module gives control of the CPU to the process selected by the scheduler;
time it takes for the dispatcher to stop one process and start another runningDispatch latency
keep the CPU as busy as possibleCPU utilization
# of processes that complete their execution per time unitThroughput
amount of time to execute a particular processTurnaround time
amount of time a process has been waiting in the ready queueWaiting time
amount of time from when a request was submitted until the first response is produced.Response time
What are the criteria for Scheduling?CPU utilization, Throughput, Turnaround time, Waiting time, and Response time


Bitaseme Mboe

This activity was created by a Quia Web subscriber.
Learn more about Quia
Create your own activities