Scheduling: FCFS + Round Robin Flashcards

(6 cards)

1
Q

FIFO Scheduling

A
  • CPU Utilisation (max 100%, often given as number 0..1)– Percentage of time CPU running application code
  • Throughput– Number of processes completed per unit time (obv. depends on size)
  • Turnaround time– Time between process submission and completion
  • Waiting time– Sum of time waiting in Ready Queue (i.e. it could run/ use CPU)
  • Response time– Time between submission and start of first output/ interaction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is Round Robin

A

Round Robin scheduling gives each process a fixed time slot (quantum) to run on the CPU. If a process doesn’t finish during its turn, it’s paused and moved to the back of the queue, and the next process gets its turn.

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

Time Quantum

A

A fixed time slice given to each process

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

Fairness

A

Every process gets an equal opportunity

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

Preemptive

A

If a process exceeds its time quantum, it’s interrupted and re-queued

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