Friday 20 November 2015

IBPS IT SO-Operating system-CPU Scheduling Benefits

CPU Scheduling Benefits
1) CPU scheduling is the basis of ____________.
a) multiprocessor systems
b) multiprogramming operating systems
c) larger memory sized systems
d) None of these
2) With multiprogramming, ______ is used productively.
a) time
b) space
c) money
d) All of these
Answer: a
Explanation: None.
3) The two steps of a process execution are : (choose two)
a) I/O Burst
b) CPU Burst
c) Memory Burst
d) OS Burst
Answer: a and b
Explanation: None.
4) An I/O bound program will typically have :
a) a few very short CPU bursts
b) many very short I/O bursts
c) many very short CPU bursts
d) a few very short I/O bursts
Answer: c
Explanation: None.
5) A process is selected from the ______ queue by the ________ scheduler, to be executed.
a) blocked, short term
b) wait, long term
c) ready, short term
d) ready, long term
Answer: c
Explanation: None.
6) In the following cases non – preemptive scheduling occurs : (Choose two)
a) When a process switches from the running state to the ready state
b) When a process goes from the running state to the waiting state
c) When a process switches from the waiting state to the ready state
d) When a process terminates
Answer: b and d
Explanation: There is no other choice.
7) The switching of the CPU from one process or thread to another is called :
a) process switch
b) task switch
c) context switch
d) All of these
Answer: d
Explanation: None.
8) Dispatch latency is :
a) the speed of dispatching a process from running to the ready state
b) the time of dispatching a process from running to ready state and keeping the CPU idle
c) the time to stop one process and start running another one
d) None of these
Answer: c
Explanation: None.
9) Scheduling is done so as to :
a) increase CPU utilization
b) decrease CPU utilization
c) keep the CPU more idle
d) None of these
Answer: a
Explanation: None.
10) Scheduling is done so as to :
a) increase the throughput
b) decrease the throughput
c) increase the duration of a specific amount of work
d) None of these
Answer: a
Explanation: None.
11) Turnaround time is :
a) the total waiting time for a process to finish execution
b) the total time spent in the ready queue
c) the total time spent in the running queue
d) the total time from the completion till the submission of a process
Answer: d
Explanation: None.
12) Scheduling is done so as to :
a) increase the turnaround time
b) decrease the turnaround time
c) keep the turnaround time same
d) there is no relation between scheduling and turnaround time
Answer: b
Explanation: None.
13) Waiting time is :
a) the total time in the blocked and waiting queues
b) the total time spent in the ready queue
c) the total time spent in the running queue
d) the total time from the completion till the submission of a process
Answer: b
Explanation: None.
14) Scheduling is done so as to :
a) increase the waiting time
b) keep the waiting time the same
c) decrease the waiting time
d) None of these
Answer: c
Explanation: None.
14) Response time is :
a) the total time taken from the submission time till the completion time
b) the total time taken from the submission time till the first response is produced
c) the total time taken from submission time till the response is output
d) None of these
Answer: b
Explanation: None.
15) Scheduling is done so as to :
a) increase the response time
b) keep the response time the same
c) decrease the response time
d) None of these
Answer: c
Explanation: None.

No comments:

Post a Comment