SSC Multi-Tasking Non-Technical Staff Model Exams in Telugu

AP Grama Sachivalayam 2023 Free Test Series in Telugu (14,523 Vacancies)

Digital Assistant 2023 PART B - 100 Marks All Topics MCQs

Thread Cancellation - Operating System Questions & Answers

1.

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

Answer: Option 'B'

cancelled

2.

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

Answer: Option 'B'

the thread can be cancelled safely

3.

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

Answer: Option 'D'

Deferred cancellation

4.

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

Answer: Option 'B'

may not free each resource

5.

Thread cancellation is :

   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

Answer: Option 'C'

the task of terminating a thread before it has completed

6.

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

Answer: Option 'D'

the thread loading the page is cancelled

7.

When one thread immediately terminates the target thread, it is called :

   A.) Asynchronous cancellation
   B.) Systematic cancellation
   C.) Sudden Termination
   D.) Deferred cancellation

Answer: Option 'A'

Asynchronous cancellation


Thread Cancellation - Operating System Questions & Answers Download Pdf

Recent Posts