Operating System » Process Scheduling Queue
In a multiprogramming 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

Explanation: In a multiprogramming environment more than one process resides in the memory. Whenever a CPU is available, one process amongst all present in memory gets the CPU for execution. Multiprogramming increases CPU utilization.

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

Explanation: Suppose that a process is in “Blocked” state waiting for some I/O service. When the service is completed, it goes to the ready state. Process never goes directly to the running state from the waiting state. Only processes which are in ready state go to the running state whenever CPU allocated by operating system.

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

Explanation: The context of a process in the PCB of a process does not contain context switch time. When switching CPU from one process to another, the current context of the process needs to be saved. It includes values of the CPU registers, process states, memory-management information.

Which of the following need not necessarily be saved on a context switch between processes?

A. General purpose registers
B. Need not necessarily be saved on a context switch between processes. a special, small, fast-lookup hardware cache is called translation look-aside buffer. tlb used to reduce memory access time.
C. Program counter
D. All of the mentioned

Explanation: Translation Look-aside Buffer (TLB) need not necessarily be saved on a context switch between processes. A special, small, fast-lookup hardware cache is called Translation Look-aside Buffer. TLB used to reduce memory access time.

Which of the following does not interrupt a running process?

A. A device
B. Timer
C. Scheduler process
D. Power failure

Explanation: Scheduler process does not interrupt a running process. Scheduler process selects an available process from a pool of available processes and allocates CPU to it.