Question:
In software engineering, what does high cohesion and low coupling represent in modular design?
सॉफ्टवेयर इंजीनियरिंग में मॉड्युलर डिज़ाइन में उच्च संसंजन (High Cohesion) और निम्न युग्मन (Low Coupling) क्या दर्शाते हैं?
Options:
- Optimal software design where modules are self-contained and have minimal interdependencies
- Poor software design with chaotic dependencies
- A monolithic application architecture
- Over-engineered code with excessive communication overhead
- उत्कृष्ट सॉफ्टवेयर डिज़ाइन जहाँ मॉड्यूल स्व-निहित होते हैं और उनकी आपसी निर्भरता न्यूनतम होती है
- अराजक निर्भरता वाला खराब सॉफ्टवेयर डिज़ाइन
- मोनोलिथिक एप्लीकेशन आर्किटेक्चर
- अत्यधिक संचार ओवरहेड वाला कोड
Correct Answer: a)
Explanation:
High cohesion means elements within a module work together to fulfill a single, well-defined purpose. Low coupling means modules are independent with minimal interfaces between them, maximizing maintainability and testability.
उच्च संसंजन का अर्थ है कि मॉड्यूल के घटक एक ही कार्य के लिए समर्पित हैं, और कम कपलिंग का अर्थ है कि मॉड्यूल एक-दूसरे पर कम से कम निर्भर हैं। यह अच्छे सॉफ्टवेयर की पहचान है।