Operating System Questions & Answers – Distributed Coordination

This set of Operating System Multiple Choice Questions & Answers (MCQs) focuses on “Distributed Coordination”.

1. What are the characteristics of tightly coupled system?
i) Same clock, usually shared memory
ii) Communication is via this shared memory
iii) Multiprocessors
iv) Different clock
a) i
b) i, ii and ii
c) ii and iii
d) i, iii and iv
View Answer

Answer: b
Explanation: None.

2. What are the characteristics of tightly coupled system?
i) Different clock
ii) Use communication links
iii) Same clock
iv) Distributed systems
a) i
b) i and iv
c) i, ii and iii
d) ii, iii and iv
View Answer

Answer: d
Explanation: None.

3. What are the characteristics of mutual exclusion using centralized approach?
a) One processor as coordinator which handles all requests
b) It requires request,reply and release per critical section entry
c) The method is free from starvation
d) All of the mentioned
View Answer

Answer: d
Explanation: None.
advertisement
advertisement

4. What are the characteristics of fully distributed approach?
i) When responses are received from all processes, then process can enter its Critical Section
ii) When process exits its critical section, the process sends reply messages to all its deferred requests.
iii) It requires request,reply and release per critical section entry
iv) One processor as coordinator which handles all requests
a) i
b) i and ii
c) ii and iii
d) iii and iv
View Answer

Answer: b
Explanation: None.

5. What are the advantages of token(with rings) passing approach?
i) One processor as coordinator which handles all requests
ii) No starvation if the ring is unidirectional
iii) There are many messages passed per section entered if few users want to get in section
iv) One processor as coordinator which handles all requests
v) Only one message/entry if everyone wants to get in
a) i
b) ii and iii
c) i, ii and iii
d) i, ii and iv
View Answer

Answer: d
Explanation: None.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. What are the characteristics of atomicity?
a) All operations associated are executed to completion or none are performed
b) One processor as coordinator which handles all requests
c) When responses are received from all processes, then the process can enter its Critical Section
d) Use communication links
View Answer

Answer: a
Explanation: None.

7. What things are the transaction coordinator is responsible for?
a) Starting the execution of the transaction
b) Breaking transaction into a number of subtransactions
c) Coordinating the termination of the transaction
d) All of the mentioned
View Answer

Answer: d
Explanation: None.
advertisement

8. Which of the following advantages follows the single coordinator approach?
a) Simple implementation
b) Simple deadlock handling
c) bottleneck
d) All of the mentioned
View Answer

Answer: d
Explanation: None.

9. Which of the following disadvantages follows the single coordinator approach?
a) Bottleneck
b) Slow response
c) Deadlock
d) One request per second
View Answer

Answer: a
Explanation: None.
advertisement

10. What are the disadvantages of majority protocol?
a) Complicated implementation
b) Deadlock cannot occur easily
c) Bottleneck
d) All of the mentioned
View Answer

Answer: a
Explanation: None.

11. What are the parts of a global unique identifier?
a) Local unique timestamp
b) Remote timestamp
c) Clock number
d) All of the mentioned
View Answer

Answer: a
Explanation: None.

12. Which are the two complementary deadlock-prevention schemes using timestamps?
a) The wait-die & wound-wait scheme
b) The wait-n-watch scheme
c) The wound-wait scheme
d) The wait-wound & wound-wait scheme
View Answer

Answer: a
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.