Week 9 - Scheduling Flashcards

1
Q

What is the main advantage of first come first served scheduling?

A

Easy to implement

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

What is the main disadvantage of first come first served scheduling?

A

CPU intensive process can cause a long waiting time

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

What is the main advantage of round robin scheduling?

A

Resources shared equally

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

What is the main disadvantage of round robin scheduling?

A

Difficult to get the right time quantum(Too short means too much time wasted on context switches, too long and one process hogs the CPU)

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

What is the main advantage of priority scheduling?

A

Ensures quick response time to high priority processes

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

What is the main disadvantage of priority scheduling?

A

Low priority processes can have long wait times.

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

How do you prevent low priority processes never being executed in priority scheduling?

A

Aging - Increasing the priority of waiting processes over time.

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

What are the two main categories of processes?

A

I/O bound - requires many short CPU bursts
CPU bound - requires few very long CPU bursts

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

What are the 5 criteria for successful scheduling?

A

CPU utilisation
Throughput – Number of processes completed within a given time
Turnaround time – Time it takes for each process to execute
Waiting time – Amount of time spent in the ready-queue
Response time – time between submission requests and production of first response

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