SSC IMD SA 2017 – Question 135

Question:

Process synchronization can be done at

प्रोोसेस सिंंक्रनाइज़ेेशन किस पर किया जा सकता है

Options:

  • Hardware level
  • Software level
  • Both hardware and software level
  • None of these
  • हार्डवेयर स्तर
  • सॉफ्टवेयर स्तर
  • दोनों हार्डवेयर और सॉफ्टवेयर स्तर
  • इनमे से कोई नहींं

Correct Answer: b)

Explanation:

Detailed Explanation:

The correct answer is b) Software level (सॉफ्टवेयर स्तर).

Process Synchronization Levels:

  • In computer science and operating systems, high-level process synchronization is predominantly designed and coordinated at the software level using language constructs, OS primitives, and algorithms such as:
    • Peterson’s Algorithm and Dekker’s Algorithm (pure software mutual exclusion solutions for two processes).
    • Bakery Algorithm (software mutual exclusion for $n$ processes).
    • Monitors, Mutexes, and Semaphores provided by OS system libraries and runtime environments.
  • While hardware provides foundational atomic machine instructions (such as Test-and-Set and Compare-and-Swap), programmer-level process synchronization and inter-process coordination are abstracted and managed at the software level, which is the designated official answer for this examination.

विस्तृत व्याख्या:

सही उत्तर b) सॉफ्टवेयर स्तर है।

प्रोसेस सिंक्रोनाइज़ेशन स्तर:

  • कंप्यूटर साइंस में समवर्ती प्रोग्रामिंग और ऑपरेटिंग सिस्टम के संदर्भ में, प्रोसेस सिंक्रोनाइज़ेशन मुख्य रूप से सॉफ्टवेयर स्तर पर विभिन्न एल्गोरिदम और उच्च-स्तरीय प्रोग्रामिंग संरचनाओं द्वारा कार्यान्वित किया जाता है।
  • इसके प्रमुख सॉफ्टवेयर स्तर के समाधानों में शामिल हैं:
    • पीटरसन का एल्गोरिदम (Peterson’s Algorithm) और डेकर का एल्गोरिदम (Dekker’s Algorithm)।
    • लैम्पॉर्ट का बेकरी एल्गोरिदम (Bakery Algorithm)।
    • मॉनिटर्स (Monitors), सेमाफोर लाइब्रेरीज़ और म्यूटेक्स लॉक्स।
  • यद्यपि हार्डवेयर निर्देश (जैसे Test-and-Set) निचले स्तर पर सहायता प्रदान करते हैं, परीक्षा की आधिकारिक उत्तर कुंजी के अनुसार प्रोसेस सिंक्रोनाइज़ेशन सॉफ्टवेयर स्तर पर किया जाता है।

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top