Operating System (3140702) MCQs

MCQs of Process and Threads Management

Showing 51 to 60 out of 70 Questions
51.
Which scheduling algorithm is preemptive scheduling algorithm?
(a) First come First served
(b) Shortest job first
(c) Shortest Remaining Time Next
(d) Non Preemptive Priority
Answer:

Option (c)

52.
The interval from the time of submission of a process to the time of completion is termed as _______
(a) waiting time
(b) turnaround time
(c) response time
(d) throughput
Answer:

Option (b)

53.
In priority scheduling algorithm,
(a) CPU is allocated to the process with highest priority
(b) CPU is allocated to the process with lowest priority
(c) Equal priority processes can not be scheduled
(d) None of the mentioned
Answer:

Option (a)

54.
In preemptive priority scheduling algorithm, when a process arrives at the ready queue, its priority is compared with the priority of ______
(a) all process
(b) currently running process
(c) parent process
(d) init process
Answer:

Option (b)

55.
Time quantum is defined in _______
(a) shortest job scheduling algorithm
(b) priority scheduling algorithm
(c) round robin scheduling algorithm
(d) multilevel queue scheduling algorithm
Answer:

Option (c)

56.
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:

Option (c)

57.
One of the disadvantages of the priority scheduling algorithm is that :
(a) It schedules in a very complex manner
(b) Its scheduling takes up a lot of time
(c) It can lead to some low priority process waiting indefinitely for the CPU
(d) None of these
Answer:

Option (c)

58.
Three CPU intensive processes requires 10, 20 and 30 time units and arrive at times 0, 2 and 6 respectively. The operating system implements a shortest remaining time next scheduling algorithm. Considering that the context switches at time zero and at the end are not counted the number of context switches are needed is ______.
(a) 4
(b) 3
(c) 2
(d) 1
Answer:

Option (c)

59.
On a single processor four jobs are to be executed. At time t = (0) + (jobs arrive in the order of A, B, C, D). The burst CPU time requirements are 4, 1, 8, 1 time units respectively. Under Round Robin Scheduling with the time slice of 1 time unit the completion time of A is ______."
(a) 3
(b) 5
(c) 7
(d) 9
Answer:

Option (d)

60.
___________ is a technique of improving the priority of process waiting in Queue for CPU allocation.
(a) Starvation
(b) Ageing
(c) Revocation
(d) Relocation
Answer:

Option (b)

Showing 51 to 60 out of 70 Questions