What is a process?
A program in execution
Which of the following is NOT a process state?
Compiled
What is a Process Control Block (PCB)?
A data structure storing process information
Which state comes after “New” state?
Ready
The process currently using the CPU is in which state?
Running
Which of the following is responsible for process scheduling?
Operating System
A process moves to waiting state when:
It needs I/O operation
What is context switching?
Saving and loading process state
Which component performs context switching?
Dispatcher
Which of the following is NOT stored in PCB?
Source code
Which scheduling algorithm is non-preemptive?
Shortest Job First (SJF)
Time-sharing systems use which scheduling?
Round Robin
What is the main purpose of process scheduling?
Maximize CPU utilization
A process in ready state is:
Waiting for CPU
Which queue contains all ready processes?
Ready queue
Which scheduling algorithm gives minimum average waiting time?
SJF
What is starvation in process scheduling?
Process never gets CPU
Which of the following prevents starvation?
Aging
A process terminates when:
It completes execution
Which type of scheduling allows process interruption?
Preemptive
Which of the following is the first step in process creation?
PCB creation
Which queue holds processes waiting for I/O devices?
Device queue
What is the role of the long-term scheduler?
Selects process to be loaded into memory
Which of the following is a short-term scheduler also called?
CPU scheduler
A process moves from waiting to ready state when:
I/O operation is completed