Question 1
Which of the following scheduling algorithms must be nonpreemptive?
Question 2
____ scheduling is approximated by predicting the next CPU burst with an exponential average of the measured lengths of previous CPU bursts.
Question 3
With the following process list, what is the Average Turnaround Time for the Round Robin scheduling algorithm with a time quantum of 5ms?
Which of the following scheduling algorithms must be nonpreemptive?
- Shortest Job First
- Round Robin
- First Come, First Served
- Priority Algorithms
Question 2
____ scheduling is approximated by predicting the next CPU burst with an exponential average of the measured lengths of previous CPU bursts.
- Shortest Job First
- Round Robin
- Multilevel queue
- First Come, First Served
Question 3
With the following process list, what is the Average Turnaround Time for the Round Robin scheduling algorithm with a time quantum of 5ms?
Submission Time | Process Run Time |
---|---|
0ms | 10ms |
5ms | 20ms |
15ms | 10ms |
30ms | 20ms |
40ms | 10ms |
60ms | 10ms |
- 20
- 23
- 25
- 27
Question 4
____ is the number of processes that are completed per time unit.
- Response time
- Turnaround time
- Throughput
- CPU utilization
Question 5
Which of the following is true of cooperative scheduling?
- A process keeps the CPU until it releases the CPU either by terminating or by switching to the waiting state.
- A process switches from the running state to the ready state when an interrupt occurs.
- It requires a timer.
- It incurs a cost associated with access to shared data.
Question 6
A significant problem with priority scheduling algorithms is _____.
- determining the length of the time quantum
- complexity
- determining the length of the next CPU burst
- starvation
Question 7
______ allows a thread to run on only one processor.
- Load balancing
- Processor affinity
- Processor set
- NUMA
Question 8
With the following process list, what is the Average Response Time for the First Come, First Served scheduling algorithm?
Submission Time | Process Run Time |
---|---|
0ms | 10ms |
5ms | 20ms |
15ms | 10ms |
30ms | 20ms |
40ms | 10ms |
60ms | 10ms |
- 10ms
- 7.5ms
- 12.5ms
- 5ms
Question 9
The ______ occurs in First Come, First Served scheduling when a process with a long CPU burst occupies the CPU.
- waiting time
- convoy effect
- systemcontention scope
- dispatch latency
No comments:
Post a Comment