NEOCODE

Operating Systems MCQs

1. What is a thread in the context of operating systems?

2. Which of the following is a multithreading model?

3. What is the purpose of scheduler activations?

4. Which of the following is an example of a threaded program?

5. What is the Reader-Writer Problem?

6. What is the Producer-Consumer Problem?

7. What is the classical two-process solution to the Producer-Consumer Problem?

8. What is the classical n-process solution to the Producer-Consumer Problem?

9. Which of the following is a hardware primitive for synchronization?

10. What is the main advantage of multithreading?

11. What is the main disadvantage of the Many-to-One multithreading model?

12. What is the main advantage of the One-to-One multithreading model?

13. What is the main purpose of the Test-and-Set instruction?

14. What is the main purpose of the Compare-and-Swap instruction?

15. What is the main challenge in solving the Reader-Writer Problem?