Home / CSE MCQs / OS MCQs :: Threads - Operating System

CSE MCQs :: OS MCQs

  1. In the Many to Many model true concurrency cannot be gained because :
  2. A.
    the kernel can schedule only one thread at a time
    B.
    there are too many threads to handle
    C.
    it is hard to map threads with each other
    D.
    None of these

  3. In the Many to Many model when a thread performs a blocking system call :
  4. A.
    other threads are strictly prohibited from running
    B.
    other threads are allowed to run
    C.
    other threads only from other processes are allowed to run
    D.
    None of these

  5. Thread cancellation is :
  6. 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 these

  7. When a web page is loading, and the user presses a button on the browser to stop loading the page :
  8. 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

  9. When one thread immediately terminates the target thread, it is called :
  10. A.
    Asynchronous cancellation
    B.
    Systematic cancellation
    C.
    Sudden Termination
    D.
    Deferred cancellation

  11. When the target thread periodically checks if it should terminate and terminates itself in an orderly manner, it is called :
  12. A.
    Asynchronous cancellation
    B.
    Systematic cancellation
    C.
    Sudden Termination
    D.
    Deferred cancellation

  13. Cancelling a thread asynchronously :
  14. A.
    frees all the resources properly
    B.
    may not free each resource
    C.
    spoils the process execution
    D.
    None of these

  15. Cancellation point is the point where :
  16. A.
    the thread can be cancelled "“ safely or otherwise doesnt matter
    B.
    the thread can be cancelled safely
    C.
    the whole process can be cancelled safely
    D.
    None of these

  17. If multiple threads are concurrently searching through a database and one thread returns the result then the remaining threads must be :
  18. A.
    continued
    B.
    cancelled
    C.
    protected
    D.
    None of these