15 questions
Which of the following do not belong to queues for processes ?
Device Queue
PCB queue
Ready Queue
Job Queue
When the process issues an I/O request :
It is placed in a waiting queue
It is placed in the ready queue
It is placed in the Job queue
It is placed in an I/O queue
When a process terminates :
It is removed from all, but the job queue
Its process control block is de-allocated
It is removed from all queues
Its process control block is never de-allocated
What is a long-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
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
What is a medium-term scheduler ?
It selects which process has to be brought into the ready queue
It selects which process to remove from memory by swapping
It selects which process has to be executed next and allocates CPU
None of the mentioned
What is a short-term scheduler ?
It selects which process has to be brought into the ready queue
It selects which process to remove from memory by swapping
It selects which process has to be executed next and allocates CPU
None of the mentioned
The primary distinction between the short term scheduler and the long term scheduler is :
The frequency of their execution
The length of their queues
The type of processes they schedule
d) None of the mentioned
The only state transition that is initiated by the user process itself is :
wakeup
block
dispatch
none of the mentioned
In a time-sharing operating system, when the time slot given to a process is completed, the process goes from the running state to the :
Blocked state
Suspended state
Terminated state
Ready state
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
Suppose that a process is in “Blocked” state waiting for some I/O service. When the service is completed, it goes to the :
Running state
Ready state
Suspended state
Terminated state
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
Which of the following need not necessarily be saved on a context switch between processes ?
Translation lookaside buffer
Program counter
General purpose registers
All of the mentioned
Which of the following does not interrupt a running process ?
A device
Timer
Power failure
Scheduler process