OS Process Management & Co-ordination Objectives 61-75

1.       The thread library schedules user level threads to run on an available Light wait process, this scheme is known as ______________
1) Process Local Scheduling 
2) Global Scheduling
3) CPU scheduling
4)None
Answer: 1
2.       The selected thread runs on the CPU until one of the following occurs
1) it blocks
2) it uses its time slice( if its not a system thread)
3) it is preempted by a higher priority thread
4) All of the above
 Answer: 4
3.       In UNIX if multiple threads have the same priority, the scheduler uses _______
1) First come first serve
2) Shortest job first
3) Round robin queue
4) Multi level queue scheduling
Answer: 3
4.       Disabling interrupts frequently could affect the system’s clock.         
True /false?
Answer: true
Explanation: The system clock is updated at every clock interrupt. If interrupts were disabled—particularly for a long period of time—it is possible the system clock could easily lose the correct time.
5.       How system clock can be maintained correct time instead of disabling the interrupts.
1) keeping the disabling time for very short periods.
2) keeping one more system clock so that if one is disabled other works.
3) do not disable the interrupt.
4) None
Answer: 1
6.       Under which circumstances the scheduling scheme is preemptive.
1) When a process switches from running to waiting state 
2) When a process switches from running to the ready state.
3) When a process switches from waiting to the ready state.
4) 2,3.
Answer: 4
7.       ________________ gives control of the CPU to the process selected by the short term Scheduler
1) long term scheduler
2) medium term scheduler 
3) Dispatcher
 4) None
 Answer: 3
8.       Which of the following are the functions of the dispatcher?
1) swapping
2) Jumping to the proper location in the user program to restart that program
3) Scheduling
4) All the above
Answer: 2
9.       Time taken by the dispatcher to stop one process and start another running is known as __________
Answer : Dispatcher Latency
10.   Which of the following are CPU Scheduling Criteria?
1) CPU utilization
 2) Waiting time
3) Dispatcher latency 
4) 1,2
Answer: 4
11.   Under which circumstances the scheduling scheme is non preemptive.
1)When a process switches from running to waiting state , When a process terminates
2) When a process switches from running to the ready state.
3) When a process switches from waiting to the ready state.
4) .1,2
Answer: 1
12.   _______ selects the process from secondary storage and loads them into memory for execution.
1) Medium term scheduler
2) Short term scheduler
3) Long term scheduler
4) None
Answer: 3
13.   The state of a process after it encounters an I/O instruction is __________.
1 Ready
2 Blocked/Waiting
3 Idle
4 Running
Ans ) 2
14.   The state of a process after it encounters an I/O instruction is __________.
1 Ready
2 Blocked/Waiting
3 Idle
4 Running
                Ans ) 2
15.    The number of processes completed per unit time is known as __________.
1 Output
2 Throughput
3 Efficiency
4 Capacity

Ans ) 2


No comments:

Post a Comment

Thank you for using this blog.