A process in execution is called:
a) Program
b) Task
c) Thread
d) Job
The Process Control Block (PCB) does NOT contain:
a) Process State
b) Program Counter
c) Memory Management Information
d) I/O Devices List
Which of the following is NOT a possible state for a process?
a) New
b) Ready
c) Running
d) Exited
A process that is terminated but still available in the process table is called:
a) Orphan
b) Zombie
c) Suspended
d) Blocked
Which of the following is a CPU scheduling algorithm?
a) Round Robin
b) Least Recently Used
c) First-In-First-Out
d) Quick Sort
In pre-emptive scheduling, the CPU can be taken away from a process:
a) Only when the process finishes
b) Only if a process requests I/O
c) By the operating system to allocate to another process
d) None of the above
The turnaround time of a process is defined as:
a) Time taken to complete the execution of a process
b) Time taken to load the process into the CPU
c) Time taken for a process to move from ready to running state
d) Time taken to block a process
In which of the following scheduling algorithms is the waiting time for a process minimized?
a) First-Come, First-Served (FCFS)
b) Shortest Job Next (SJN)
c) Round Robin (RR)
d) Priority Scheduling
The fork() system call is used to:
a) Terminate a process
b) Create a new process
c) Execute a new program
d) Bring a process to the foreground
What happens to the parent process when the child process is terminated?
a) The parent process also terminates
b) The parent process must terminate the child
c) The parent process receives a SIGCHLD signal
d) The parent process is suspended until the child terminates
No comments:
Post a Comment