Sail E0 Webinar

MCQs

Total Questions : 39 | Page 4 of 4 pages
Question 31. In the Many to Many model when a thread performs 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 32. When a web page is loading, and the user presses a button on the browser to stop loading the page :
  1.    the thread loading the page continues with the loading
  2.    the thread loading the page does not stop, but continues with another task
  3.    the thread loading the page is paused
  4.    the thread loading the page is cancelled
 Discuss Question
Answer: Option D. -> the thread loading the page is cancelled


None.


Question 33. Thread cancellation is :
  1.    the task of destroying the thread once its work is done
  2.    the task of removing a thread once its work is done
  3.    the task of terminating a thread before it has completed
  4.    None of these
 Discuss Question
Answer: Option C. -> the task of terminating a thread before it has completed


None.


Question 34. When one thread immediately terminates the target thread, it is called :
  1.    Asynchronous cancellation
  2.    Systematic cancellation
  3.    Sudden Termination
  4.    Deferred cancellation
 Discuss Question
Answer: Option A. -> Asynchronous cancellation


None.


Question 35. A thread is also called :
  1.    Light Weight Process(LWP)
  2.    Heavy Weight Process(HWP)
  3.    process
  4.    None of these
 Discuss Question
Answer: Option A. -> Light Weight Process(LWP)


None.


Question 36. A heavy weight process :
  1.    has multiple threads of execution
  2.    has a single thread of execution
  3.    can have multiple or a single thread for execution
  4.    None of these
 Discuss Question
Answer: Option B. -> has a single thread of execution


None.


Question 37. Multithreading an interactive program will increase responsiveness to the user by :
  1.    continuing to run even if a part of it is blocked
  2.    waiting for one part to finish before the other begins
  3.    asking the user to decide the order of multithreading
  4.    None of these
 Discuss Question
Answer: Option A. -> continuing to run even if a part of it is blocked


None.


Question 38. A thread shares its resources(like data section, code section, open files, signals) with :
  1.    other process similar to the one that the thread belongs to
  2.    other threads that belong to similar processes
  3.    other threads that belong to the same process
  4.    All of these
 Discuss Question
Answer: Option C. -> other threads that belong to the same process


None.


Question 39. A process having multiple threads of control implies :
  1.    it can do more than one task at a time
  2.    it can do only one task at a time, but much faster
  3.    it has to use only one thread per process
  4.    None of these
 Discuss Question
Answer: Option A. -> it can do more than one task at a time


None.


Latest Videos

Latest Test Papers