WorksheetsBCS303_IAT
Total questions: 18
Worksheet time: 13mins
Which of the following statements regarding the Process Control Block (PCB) is TRUE?
PCB stores only the process ID and nothing else.
PCB contains information required to restart a process after a context switch.
PCB is created only after a process terminates.
PCB is shared among all processes in the system.
Which of the following statements about CPU scheduling is FALSE?
The short-term scheduler selects one process from the ready queue to execute on the CPU.
CPU scheduling helps improve CPU utilization in multiprogramming systems.
Scheduling decisions are taken only when a process terminates.
Context switching occurs when the CPU switches from one process to another.
Which of the following statements about Inter-Process Communication (IPC) is TRUE?
IPC is required only for independent processes.
Message passing allows processes to communicate without sharing memory.
Shared memory IPC does not require synchronization between processes.
IPC is unnecessary in multitasking operating systems.
Switching the CPU from one process to another is known as (a) switching.
In SMP systems, load balancing using “pull migration” means
Busy CPU pushes work
Idle CPU pulls work
OS stops migration
Kernel enforces affinity
In Round Robin scheduling, each process is assigned a fixed time called
Which scheduling algorithm is MOST suitable for time-sharing systems?
FCFS
SJF
Priority
Round Robin
Dispatcher latency refers to
Time taken by scheduler to choose process
Time taken to save PCB
Time taken to switch context and start new process
Time taken for I/O completion
Multilevel feedback queue differs from multilevel queue because
It has fewer queues
It uses FCFS only
Processes can move between queues
It avoids preemption
Thread cancellation that terminates immediately is called
Deferred cancellation
Asynchronous cancellation
Cooperative cancellation
Lazy cancellation
Which of the following statements about process states is FALSE?
A process in the ready state is waiting to be assigned the CPU.
A process in the running state is currently executing instructions on the CPU.
A process in the waiting state is waiting for I/O or some event to occur.
A process in the terminated state is waiting in the ready queue for CPU allocation.
In a priority scheduling algorithm, what happens when two processes have the same priority?
They are both executed simultaneously.
The one with the shorter burst time is executed first.
The system randomly selects one to execute.
They are executed in the order they arrive.
Which of the following is a disadvantage of the Round Robin scheduling algorithm?
It prioritizes shorter processes.
It is not suitable for time-sharing systems.
It requires a time quantum.
It can lead to starvation.
In a multilevel queue scheduling system, how are processes categorized?
Based on their execution time.
Based on their priority and type.
Based on their I/O needs.
Based on their memory requirements.
What is the primary purpose of context switching in operating systems?
To handle I/O operations efficiently.
To manage memory allocation.
To allow multiple processes to share the CPU.
To increase CPU utilization.
Which of the following is a characteristic of preemptive scheduling?
It requires more complex algorithms than non-preemptive scheduling.
It is only used in batch processing systems.
Higher priority processes can interrupt lower priority ones.
Processes cannot be interrupted once they start executing.
NAME
USN
