Operating System Set 10
On This Page
This set of Operating System (OS) Multiple Choice Questions & Answers (MCQs) focuses on Operating System Set 10
Q1 | A single thread of control allows the process to perform
- only one task at a time
- multiple tasks at a time
- only two tasks at a time
- all of the mentioned
Q2 | What is the objective of multiprogramming?
- have a process running at all time
- have multiple programs waiting in a queue ready to run
- to increase cpu utilization
- none of the mentioned
Q3 | Which of the following do not belong to queues for processes?
- job queue
- pcb queue
- device queue
- ready queue
Q4 | When the process issues an I/O request
- it is placed in an i/o queue
- it is placed in a waiting queue
- it is placed in the ready queue
- it is placed in the job queue
Q5 | What will happen when a process terminates?
- it is removed from all queues
- it is removed from all, but the job queue
- its process control block is de-allocated
- its process control block is never de- allocated
Q6 | What is a long-term scheduler?
- it selects processes which have to be brought into the ready queue
- it selects processes which have to be executed next and allocates cpu
- it selects processes which heave to remove from memory by swapping
- none of the mentioned
Q7 | If all processes I/O bound, the ready queue will almost always be and the Short term Scheduler will have a to do.
- full, little
- full, lot
- empty, little
- empty, lot
Q8 | What is a medium-term scheduler?
- it selects which process has to be brought into the ready queue
- it selects which process has to be executed next and allocates cpu
- it selects which process to remove from memory by swapping
- none of the mentioned
Q9 | What is a short-term scheduler?
- it selects which process has to be brought into the ready queue
- it selects which process has to be executed next and allocates cpu
- it selects which process to remove from memory by swapping
- none of the mentioned
Q10 | The primary distinction between the short term scheduler and the long term scheduler is
- the length of their queues
- the type of processes they schedule
- the frequency of their execution
- none of the mentioned
Q11 | In a multiprogramming environment
- the processor executes more than one process at a time
- the programs are developed by more than one person
- more than one process resides in the memory
- a single user can execute many programs at the same time
Q12 | The context of a process in the PCB of a process does not contain
- the value of the cpu registers
- the process state
- memory-management information
- context switch time
Q13 | Which of the following need not necessarily be saved on a context switch between processes?
- general purpose registers
- translation lookaside buffer
- program counter
- all of the mentioned
Q14 | Which of the following does not interrupt a running process?
- a device
- timer
- scheduler process
- power failure
Q15 | Which process can be affected by other processes executing in the system?
- cooperating process
- child process
- parent process
- init process
Q16 | When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called?
- dynamic condition
- race condition
- essential condition
- critical condition
Q17 | If a process is executing in its critical section, then no other processes can be executing in their critical section. This condition is called?
- mutual exclusion
- critical exclusion
- synchronous exclusion
- asynchronous exclusion
Q18 | Which one of the following is a synchronization tool?
- thread
- pipe
- semaphore
- socket
Q19 | A semaphore is a shared integer variable
- that can not drop below zero
- that can not be more than zero
- that can not drop below one
- that can not be more than one
Q20 | Mutual exclusion can be provided by the
- mutex locks
- binary semaphores
- both mutex locks and binary semaphores
- none of the mentioned
Q21 | When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called
- priority inversion
- priority removal
- priority exchange
- priority modification
Q22 | Process synchronization can be done on
- hardware level
- software level
- both hardware and software level
- none of the mentioned
Q23 | A monitor is a module that encapsulates
- shared data structures
- procedures that operate on shared data structure
- synchronization between concurrent procedure invocation
- all of the mentioned
Q24 | To enable a process to wait within the monitor
- a condition variable must be declared as condition
- condition variables must be used as boolean objects
- semaphore must be used
- all of the mentioned
Q25 | Restricting the child process to a subset of the parent’s resources prevents any process from
- overloading the system by using a lot of secondary storage
- under-loading the system by very less cpu utilization
- overloading the system by creating a lot of sub-processes
- crashing the system by utilizing multiple resources