OS Processes
A process can be terminated due to __________
normal exit
fatal error
killed by another process
all of the mentioned
all of the mentioned
A process can be terminated normally by completing its task or because of fatal error or killed by another process or forcefully killed by a user. When the process completes its task without any error then it exits normally. The process may exit abnormally because of the occurrence of fatal error while it is running. The process can be killed or terminated forcefully by another process.
all of the mentioned A process can be terminated normally by completing its task or because of fatal error or killed by another process or forcefully killed by a user. When the process completes its task without any error then it exits normally. The process may exit abnormally because of the occurrence of fatal error while it is running. The process can be killed or terminated forcefully by another process.
Related posts
If a process fails, most operating system write the error information to a ______A. log file
B. another running process
C. new file
D. none of the mentioned
The number of processes completed per unit time is known as __________
A. Output
B. Throughput
C. Efficiency
D. Capacity
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 the mentioned
What is the objective of multiprogramming?
A. Have a process running at all time
B. Have multiple programs waiting in a queue ready to run
C. To increase CPU utilization
D. None of the mentioned
What is a long-term scheduler?
A. It selects processes which have to be brought into the ready queue
B. It selects processes which have to be executed next and allocates CPU
C. It selects processes which heave to remove from memory by swapping
D. None of the mentioned
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 the mentioned
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
Leave a Reply