Sail E0 Webinar

MCQs

Total Questions : 39 | Page 3 of 4 pages
Question 21. Which of the following is FALSE ?
  1.    Context switch time is longer for kernel level threads than for user level threads
  2.    User level threads do not need any hardware support
  3.    Related kernel level threads can be scheduled on different processors in a multiprocessor system
  4.    Blocking one kernel level thread blocks all other related threads
 Discuss Question
Answer: Option D. -> Blocking one kernel level thread blocks all other related threads


None.


Question 22. The model in which one kernel thread is mapped to many user-level threads is called :
  1.    Many to One model
  2.    One to Many model
  3.    Many to Many model
  4.    One to One model
 Discuss Question
Answer: Option A. -> Many to One model


None.


Question 23. The model in which one user-level thread is mapped to many kernel level threads is called :
  1.    Many to One model
  2.    One to Many model
  3.    Many to Many model
  4.    One to One model
 Discuss Question
Answer: Option B. -> One to Many model


None.


Question 24. In the Many to One model, if a thread makes a blocking system call :
  1.    the entire process will be blocked
  2.    a part of the process will stay blocked, with the rest running
  3.    the entire process will run
  4.    None of these
 Discuss Question
Answer: Option A. -> the entire process will be blocked


None.


Question 25. In the Many to One model, multiple threads are unable to run in parallel on multiprocessors because :
  1.    only one thread can access the kernel at a time
  2.    many user threads have access to just one kernel thread
  3.    there is only one kernel thread
  4.    None of these
 Discuss Question
Answer: Option A. -> only one thread can access the kernel at a time


None.


Question 26. When is the Many to One model at an advantage ?
  1.    When the program does not need multi-threading
  2.    When the program has to be multi-threaded
  3.    When there is a single processor
  4.    None of these
 Discuss Question
Answer: Option A. -> When the program does not need multi-threading


None.


Question 27. The One to One model allows :
  1.    increased concurrency
  2.    decreased concurrency
  3.    increased or decreased concurrency
  4.    concurrency equivalent to other models
 Discuss Question
Answer: Option A. -> increased concurrency


None.


Question 28. In the One to One model when a thread makes a blocking system call :
  1.    other threads are strictly prohibited from running
  2.    other threads are allowed to run
  3.    other threads only from other processes are allowed to run
  4.    None of these
 Discuss Question
Answer: Option B. -> other threads are allowed to run


None.


Question 29. Which of the following is the drawback of the One to One Model ?
  1.    increased concurrency provided by this model
  2.    decreased concurrency provided by this model
  3.    creating so many threads at once can crash the system
  4.    creating a user thread requires creating the corresponding kernel thread
 Discuss Question
Answer: Option D. -> creating a user thread requires creating the corresponding kernel thread


None.


Question 30. In the Many to Many model true concurrency cannot be gained because :
  1.    the kernel can schedule only one thread at a time
  2.    there are too many threads to handle
  3.    it is hard to map threads with each other
  4.    None of these
 Discuss Question
Answer: Option A. -> the kernel can schedule only one thread at a time


None.


Latest Videos

Latest Test Papers