Friday 20 November 2015

IBPS IT SO-Operating system-Process Scheduling Queues

Process Scheduling Queues
1) Which of the following do not belong to queues for processes ?
a) Job Queue
b) PCB queue
c) Device Queue
d) Ready Queue
Answer: b
Explanation: None.
2) When the process issues an I/O request :
a) It is placed in an I/O queue
b) It is placed in a waiting queue
c) It is placed in the ready queue
d) It is placed in the Job queue
Answer: a
Explanation: None.
3) When a process terminates : (Choose Two)
a) It is removed from all queues
b) It is removed from all, but the job queue
c) Its process control block is de-allocated
d) Its process control block is never de-allocated
Answer: a and c
Explanation: None.
4) What is a long-term scheduler ?
a) It selects which process has to be brought into the ready queue
b) It selects which process has to be executed next and allocates CPU
c) It selects which process to remove from memory by swapping
d) None of these
Answer: a
Explanation: None.
5) If all processes I/O bound, the ready queue will almost always be ______, and the Short term Scheduler will have a ______ to do.
a) full,little
b) full,lot
c) empty,little
d) empty,lot
Answer: c
Explanation: None.
6) What is a medium-term scheduler ?
a) It selects which process has to be brought into the ready queue
b) It selects which process has to be executed next and allocates CPU
c) It selects which process to remove from memory by swapping
d) None of these
Answer: c
Explanation: None.
7) What is a short-term scheduler ?
a) It selects which process has to be brought into the ready queue
b) It selects which process has to be executed next and allocates CPU
c) It selects which process to remove from memory by swapping
d) None of these
Answer: b
Explanation: None.
8) The primary distinction between the short term scheduler and the long term scheduler is :
a) The length of their queues
b) The type of processes they schedule
c) The frequency of their execution
d) None of these
Answer: c
Explanation: None.
9) The only state transition that is initiated by the user process itself is :
a) block
b) wakeup
c) dispatch
d) None of these
Answer: a
Explanation: None.
10) 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 :
a) Blocked state
b) Ready state
c) Suspended state
d) Terminated state
Answer: b
Explanation: None.
11) In a multi-programming environment :
a) the processor executes more than one process at a time
b) the programs are developed by more than one person
c) more than one process resides in the memory
d) a single user can execute many programs at the same time
Answer: c
Explanation: None.
12) Suppose that a process is in “Blocked” state waiting for some I/O service. When the service is completed, it goes to the :
a) Running state
b) Ready state
c) Suspended state
d) Terminated state
Answer: b
Explanation: None.
13) The context of a process in the PCB of a process does not contain :
a) the value of the CPU
 registers
b) the process state
c) memory-management information
d) context switch time
Answer: d
Explanation: None.
14) Which of the following need not necessarily be saved on a context switch between processes ? (GATE CS 2000)
a) General purpose
 registers
b) Translation look-aside
 buffer
c) Program counter
d) All of these
Answer: b
Explanation: None.
14) Which of the following does not interrupt a running process ? (GATE CS 2001)
a) A device
b) Timer
c) Scheduler process
d) Power failure
15) Several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called a(n) ____.
a) Shared Memory Segments
b) Entry Section
c) Race condition
d) Process Synchronization
Answer: c
Explanation: None.
16) Which of the following state transitions is not possible ?
a) blocked to running
b) ready to running
c) blocked to ready
d) running to blocked
Answer: a
Explanation: None.

All the best for your exams @Mission IT SO 2016

No comments:

Post a Comment