Scheduling Flashcards

1
Q

What are the different types of scheduling?

A

Long Term
The decision to add to the pool of processes to be executed

Medium Term
The decision to add to the number of processes that are partially or fully in main memory

Short Term
The decision as to which available process will be executed by the processor

I/O Scheduling
The decision as to which process awaiting i/o request will be sent to an available i/o device

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

What is the aim of processor scheduling ?

A

The aim is to assign processes to a processor or processes that meet system objectives such as response time, throughput and processor efficiency

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

Differenciate between user oriented criteria and system oriented criteria

A

User oriented criteria deals with the system behavior as perceived by the user

System oriented criteria deals with efficient and effective utilization of the processor

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

Define Turn around time

A

The time between the submission of the request and its completion.
actual execution time + time waiting for resources

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

Define response time

A

The time from the submission of the request until the request begins to be received

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

what is throughput ?

A

the number of processor executed per unit of time
a measure of how much work is being done

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

Explain the concept of Round Robin

A

Round Robin also known as time slicing is a process inwhich a clock interrupt interval is generated at specific intervals and when the interrup occurs, the currently running process is placed in the ready queue.

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

Explain the concept of shortest process next (spn)

A

Nonpreemptive policy in which the process with the shortest expected processing time is selected next

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

State disadvantages of spn

A

possibility of longer processes starving
need to know an estimated processing time before hand

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