Operating System Questions and Answers – Multi Threading Models

This set of Operating System Multiple Choice Questions & Answers (MCQs) focuses on “Multi Threading Models”.

1. The model in which one kernel thread is mapped to many user-level threads is called ___________
a) Many to One model
b) One to Many model
c) Many to Many model
d) One to One model
View Answer

Answer: a
Explanation: None.

2. The model in which one user-level thread is mapped to many kernel level threads is called ___________
a) Many to One model
b) One to Many model
c) Many to Many model
d) One to One model
View Answer

Answer: b
Explanation: None.

3. In the Many to One model, if a thread makes a blocking system call ___________
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 the mentioned
View Answer

Answer: a
Explanation: None.
advertisement
advertisement

4. In the Many to One model, multiple threads are unable to run in parallel on multiprocessors because of ___________
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 the mentioned
View Answer

Answer: a
Explanation: None.

5. The One to One model allows ___________
a) increased concurrency
b) decreased concurrency
c) increased or decreased concurrency
d) concurrency equivalent to other models
View Answer

Answer: a
Explanation: None.

6. In the One to One model when a thread makes a blocking system call ___________
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 the mentioned
View Answer

Answer: b
Explanation: None.

7. Which of the following is the drawback of the One to One Model?
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
View Answer

Answer: d
Explanation: None.
advertisement

8. When is the Many to One model at an advantage?
a) When the program does not need multithreading
b) When the program has to be multi-threaded
c) When there is a single processor
d) None of the mentioned
View Answer

Answer: a
Explanation: None.

9. In the Many to Many model true concurrency cannot be gained because ___________
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 the mentioned
View Answer

Answer: a
Explanation: None.
advertisement

10. In the Many to Many models when a thread performs a blocking system call ___________
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 the mentioned
View Answer

Answer: b
Explanation: None.

Sanfoundry Global Education & Learning Series – Operating System.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.