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

CSE MCQs :: OS MCQs

  1. If a kernel thread performs a blocking system call, ____________________.
  2. A.
    the kernel can schedule another thread in the application for execution.
    B.
    the kernel cannot schedule another thread in the same application for execution.
    C.
    the kernel must schedule another thread of a different application for execution.
    D.
    the kernel must schedule another thread of the same application on a different processor.

  3. Which of the following is FALSE ?
  4. A.
    Context switch time is longer for kernel level threads than for user level threads
    B.
    User level threads do not need any hardware support
    C.
    Related kernel level threads can be scheduled on different processors in a multiprocessor system
    D.
    Blocking one kernel level thread blocks all other related threads

  5. The model in which one kernel thread is mapped to many user-level threads is called :
  6. A.
    Many to One model
    B.
    One to Many model
    C.
    Many to Many model
    D.
    One to One model

  7. The model in which one user-level thread is mapped to many kernel level threads is called :
  8. A.
    Many to One model
    B.
    One to Many model
    C.
    Many to Many model
    D.
    One to One model

  9. In the Many to One model, if a thread makes a blocking system call :
  10. A.
    the entire process will be blocked
    B.
    a part of the process will stay blocked, with the rest running
    C.
    the entire process will run
    D.
    None of these

  11. In the Many to One model, multiple threads are unable to run in parallel on multiprocessors because :
  12. A.
    only one thread can access the kernel at a time
    B.
    many user threads have access to just one kernel thread
    C.
    there is only one kernel thread
    D.
    None of these

  13. The One to One model allows :
  14. A.
    increased concurrency
    B.
    decreased concurrency
    C.
    increased or decreased concurrency
    D.
    concurrency equivalent to other models

  15. In the One to One model when a thread makes a blocking system call :
  16. 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

  17. Which of the following is the drawback of the One to One Model ?
  18. A.
    increased concurrency provided by this model
    B.
    decreased concurrency provided by this model
    C.
    creating so many threads at once can crash the system
    D.
    creating a user thread requires creating the corresponding kernel thread

  19. When is the Many to One model at an advantage ?
  20. A.
    When the program does not need multi-threading
    B.
    When the program has to be multi-threaded
    C.
    When there is a single processor
    D.
    None of these