Week 10 Flashcards

1
Q

What is a Short-term scheduler?

A

It selects from among the processes in the ready queue, and allocated the CPU to one of them

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a dispatcher and dispatch latency?

A
  • Dispatcher gives control of the CPU to the process selected by the short-term scheduler.
  • Dispatch latency is the time it takes for the dispatcher to stop one process and start another running
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is CPU utilization?

A
  • Keeps the CPU as busy as possible
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is throughput?

A
  • # of processes that complete their execution per time unit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Turnaround Time?

A
  • Amount of time to execute a particular process
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Waiting time?

A
  • Amount of time a process has been waiting in the ready queue
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Response Time?

A
  • Amount of time it takes from when a request was submitted until the first response is produced
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is FCFS(First come first served ) scheduling.

A
  • The gantt chart will process them in the order they came in
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is SJF(Shortest Job First) Scheduling?

A
  • The process will be served based on the shortest burst time to the longest burst time.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Describe a problem and solution with Priority Scheduling

A
  • Problem: Starvation - low priority processes may never execute
  • Solution: Aging - as time progreesses increase the priority of the process
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Round Robin scheduling?

A
  • Each process gets a small unit of CPU time. After this time has elapsed, the process is preempted and added to the end of the ready queue.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly