System Software Flashcards

(17 cards)

1
Q

What are the disadvantages of the Shortest Time Remaining algorithm?

A
  • Requires knowing process burst times in advance
  • High context‑switching overhead due to frequent pre‑emption
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the advantages of the Shortest Time Remaining scheduling algorithm?

A
  • Ideal for jobs with short burst times
  • Pre‑emptive, allowing the CPU to switch tasks for optimal performance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the disadvantages of Shortest Job First?

A
  • Requires knowing the burst time of processes in advance
  • Long processes can starve if short processes keep arriving
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the advantages of Shortest Job First?

A
  • Minimises waiting time
  • Efficient and fast for short processes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the disadvantages of Multi Level Feedback Queues?

A
  • More complex than other scheduling algorithms
  • Choosing correct parameters (e.g., number of queues, ageing rules) can be difficult
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the advantages of Multi‑Level Feedback Queues?

A
  • Smaller tasks are prioritised
  • Similar‑sized tasks are grouped together through multiple queues
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the disadvantages of First Come First Served scheduling?

A
  • Poor performance if a long process arrives before shorter ones
  • High‑priority tasks must wait their turn in the queue
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the advantages of First Come First Served?

A
  • Simple and easy to understand
  • Fair in the sense that processes are served in arrival order
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the disadvantages of Round Robin scheduling?

A
  • Choosing the right time quantum is difficult
  • Long processes may experience high turnaround and waiting times
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the advantages of the Round Robin scheduling algorithm?

A
  • All processes get a fair share of the CPU
  • Good for time‑sharing systems
  • Predictable because every process receives equal time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What type of scheduling algorithm is Shortest Remaining Time?

A

A pre‑emptive version of Shortest Job First that always selects the process with the shortest remaining burst time.

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

How does Shortest Remaining Time prioritise processes?

A

Processes with the shortest remaining time to complete are given the highest priority.

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

How does time slicing work in Shortest Remaining Time?

A

A time quantum is set; if a process doesn’t finish within that quantum, it is re‑queued for further processing.

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

What happens before each new scheduling cycle?

A

All processes are inspected and reordered based on their remaining burst time.

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

Why is Shortest Remaining Time considered efficient?

A

It minimises average waiting time by always choosing the process closest to completion.

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

What is a drawback of Shortest Remaining Time?

A

Long processes may suffer starvation if short processes keep arriving.