Thread Cancellation MCQ’s

Read Time:1 Minute, 17 Second

This set of Operating System Multiple Choice Questions & Answers (MCQs) focuses on “Thread Cancellation”.

1. When a web page is loading, and the user presses a button on the browser to stop loading the page?
a) the thread loading the page continues with the loading
b) the thread loading the page does not stop but continues with another task
c) the thread loading the page is paused
d) the thread loading the page is cancelled

2. When one thread immediately terminates the target thread, it is called ____________
a) Asynchronous cancellation
b) Systematic cancellation
c) Sudden Termination
d) Deferred cancellation

3. What is Thread cancellation?
a) the task of destroying the thread once its work is done
b) the task of removing a thread once its work is done
c) the task of terminating a thread before it has completed
d) none of the mentioned

4. When the target thread periodically checks if it should terminate and terminates itself in an orderly manner, it is called?
a) Asynchronous cancellation
b) Systematic cancellation
c) Sudden Termination
d) Deferred cancellation

5. Cancellation point is the point where ____________
a) the thread can be cancelled – safely or otherwise doesn’t matter
b) the thread can be cancelled safely
c) the whole process can be cancelled safely
d) none of the mentioned

6. Cancelling a thread asynchronously ____________
a) frees all the resources properly
b) may not free each resource
c) spoils the process execution
d) none of the mentioned

7. If multiple threads are concurrently searching through a database and one thread returns the result then the remaining threads must be ____________
a) continued
b) cancelled
c) protected
d) none of the mentioned

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous post The fork and exec System Calls MCQ’s
Next post Signal Handling MCQ’s