Software Engineering — MCQ Practice

Hindi aur English dono mein practice karo — click karo answer check karne ke liye

📚 2726 Questions 🌐 Hindi + English ✅ Free
भाषा / Language:
2726 questions
1126
EN + हिं
GB Which design pattern suggest multiple classes through which request is passed and multiple but only relevant classes carry out operations on the request?
IN कौन सा डिज़ाइन पैटर्न एकाधिक वर्गों का सुझाव देता है जिसके माध्यम से अनुरोध पारित किया जाता है और एकाधिक लेकिन केवल प्रासंगिक वर्ग अनुरोध पर संचालन करते हैं?
A
provide proven solutions सिद्ध समाधान प्रदान करें
B
simplify complex problems जटिल समस्याओं को सरल बनाएं
C
improve communication संचार में सुधार करें
D
all of above उपरोक्त सभी
✅ Correct Answer:
1127
EN + हिं
GB Which pattern is most appropriate when a decision must be made at the time a class is instantiated?
IN जब किसी कक्षा के प्रारंभ होने के समय कोई निर्णय लिया जाना हो तो कौन सा पैटर्न सबसे उपयुक्त है?
A
composite कम्पोजिट
B
iterator इटरेटर
C
abstract factory अमूर्त कारखाना
D
flyweight फ्लाईवेट
✅ Correct Answer:
1128
EN + हिं
GB It is also known as Virtual Constructor and it is used to define an interface for creating an object but letting the subclass decide which class to instantiate, this pattern is :
IN इसे वर्चुअल कंस्ट्रक्टर के रूप में भी जाना जाता है और इसका उपयोग किसी ऑब्जेक्ट को बनाने के लिए इंटरफ़ेस को परिभाषित करने के लिए किया जाता है लेकिन उपवर्ग को यह तय करने देता है कि किस क्लास को इंस्टेंट करना है, यह पैटर्न है:
A
interpreter दुभाषिया
B
singleton एकाकी वस्तु
C
facade मुखौटा
D
composite कम्पोजिट
✅ Correct Answer:
1129
EN + हिं
GB You want all the clients using class A to use the same instance of class A, what should you do to achieve this goal?
IN आप चाहते हैं कि क्लास ए का उपयोग करने वाले सभी ग्राहक क्लास ए के समान उदाहरण का उपयोग करें, इस लक्ष्य को प्राप्त करने के लिए आपको क्या करना चाहिए?
A
observer पर्यवेक्षक
B
chain of responsibility जिम्मेदारी की श्रृंखला
C
decorator डेकोरेटर
D
prototype प्रोटोटाइप
✅ Correct Answer:
1130
EN + हिं
GB Which design pattern you would you use to have a prototypical instance determine the concrete class of object being created?
IN एक प्रोटोटाइप उदाहरण के लिए आप किस डिज़ाइन पैटर्न का उपयोग करेंगे जो बनाई जा रही वस्तु के ठोस वर्ग को निर्धारित करेगा?
A
adapter अनुकूलक
B
protected variations संरक्षित विविधताएँ
C
creator निर्माता
D
controller नियंत्रक
✅ Correct Answer:
1131
EN + हिं
GB Which design pattern you would you use to decouple the creation procedure of a complex object from it's concrete instance to be able to apply that procedure on variety of implementations.
IN किसी जटिल वस्तु की निर्माण प्रक्रिया को उसके ठोस उदाहरण से अलग करने के लिए आप किस डिज़ाइन पैटर्न का उपयोग करेंगे, ताकि उस प्रक्रिया को विभिन्न कार्यान्वयनों पर लागू किया जा सके।
A
coupling युग्मन
B
creator निर्माता
C
controller नियंत्रक
D
bonding संबंध
✅ Correct Answer:
1132
EN + हिं
GB What would lead you to apply the builder design pattern?
IN बिल्डर डिज़ाइन पैटर्न लागू करने के लिए आपको क्या प्रेरित करेगा?
A
tightly coupled मजबूती के साथ जोड़ना
B
strong coupled मजबूत युग्मित
C
loosely coupled आजादी से मिलना
D
weak coupled कमजोर युग्मित
✅ Correct Answer:
1133
EN + हिं
GB To implement the Singleton design pattern specify all the needed steps ............
IN सिंगलटन डिज़ाइन पैटर्न को लागू करने के लिए सभी आवश्यक चरण निर्दिष्ट करें...
A
one element has aggregation/composition association with another element. एक तत्व का दूसरे तत्व के साथ एकत्रीकरण/संयोजन संबंध होता है।
B
one element implements/extends other element. एक तत्व दूसरे तत्व को लागू/विस्तारित करता है।
C
both a&b ए और बी दोनों
D
none of above उपरोक्त में से कोई नहीं
✅ Correct Answer:
1134
EN + हिं
GB Which design pattern you would you use to control the creation of an object based on a established interface, while allowing the concrete implementation to determine the subclass to construct.
IN एक स्थापित इंटरफ़ेस के आधार पर किसी ऑब्जेक्ट के निर्माण को नियंत्रित करने के लिए आप किस डिज़ाइन पैटर्न का उपयोग करेंगे, जबकि ठोस कार्यान्वयन को उपवर्ग को निर्धारित करने की अनुमति देंगे।
A
object represents the overall system वस्तु समग्र प्रणाली का प्रतिनिधित्व करती है
B
object represent a use case, handling a sequence of operations ऑब्जेक्ट एक उपयोग के मामले का प्रतिनिधित्व करता है, संचालन के अनुक्रम को संभालता है
C
both a&b ए और बी दोनों
D
none of above उपरोक्त में से कोई नहीं
✅ Correct Answer:
1135
EN + हिं
GB The factory method design pattern is also known as:
IN फ़ैक्टरी विधि डिज़ाइन पैटर्न को इस रूप में भी जाना जाता है:
A
high cohesion उच्च सामंजस्य
B
low coupling कम युग्मन
C
both a&b ए और बी दोनों
D
none of above उपरोक्त में से कोई नहीं
✅ Correct Answer:
1136
EN + हिं
GB Which of the following are participants in the GOF builder design pattern?
IN निम्नलिखित में से कौन GOF बिल्डर डिज़ाइन पैटर्न में भागीदार हैं?
A
low coupling कम युग्मन
B
reuse पुन: उपयोग
C
both a&b ए और बी दोनों
D
none of above उपरोक्त में से कोई नहीं
✅ Correct Answer:
1137
EN + हिं
GB Which design pattern is used in the Java InputStream and OutputStream hierarchies?
IN जावा इनपुटस्ट्रीम और आउटपुटस्ट्रीम पदानुक्रम में कौन सा डिज़ाइन पैटर्न उपयोग किया जाता है?
A
singleton pattern सिंगलटन पैटर्न
B
facade pattern मुखौटा पैटर्न
C
observer pattern पर्यवेक्षक पैटर्न
D
factory method pattern फ़ैक्टरी विधि पैटर्न
✅ Correct Answer:
1138
EN + हिं
GB What object should have the responsibility, when you do not want to violate High Cohesion and Low Coupling, or other goals, but solutions offered by Expert are not appropriate?
IN जब आप उच्च सामंजस्य और कम युग्मन, या अन्य लक्ष्यों का उल्लंघन नहीं करना चाहते हैं, लेकिन विशेषज्ञ द्वारा पेश किए गए समाधान उचित नहीं हैं, तो किस वस्तु की जिम्मेदारी होनी चाहिए?
A
this type of design pattern comes under creational pattern. इस प्रकार का डिज़ाइन पैटर्न क्रिएशनल पैटर्न के अंतर्गत आता है।
B
factory pattern creates object without exposing the creation logic to the client. फ़ैक्टरी पैटर्न क्लाइंट को निर्माण तर्क को उजागर किए बिना ऑब्जेक्ट बनाता है।
C
factory pattern refers to newly created object using a common interface. फ़ैक्टरी पैटर्न एक सामान्य इंटरफ़ेस का उपयोग करके नव निर्मित ऑब्जेक्ट को संदर्भित करता है।
D
all of the above ऊपर के सभी
✅ Correct Answer:
1139
EN + हिं
GB In the Publish-Subscribe messaging model, the subscribers register themselves in a topic and are notified when new messages arrive to the topic. Which pattern does most describe this model?
IN पब्लिश-सब्सक्राइब मैसेजिंग मॉडल में, सब्सक्राइबर खुद को एक विषय में पंजीकृत करते हैं और विषय पर नए संदेश आने पर उन्हें सूचित किया जाता है। कौन सा पैटर्न इस मॉडल का सबसे अधिक वर्णन करता है?
A
chain of responsibility जिम्मेदारी की श्रृंखला
B
adapter अनुकूलक
C
decorator डेकोरेटर
D
composite कम्पोजिट
✅ Correct Answer:
1140
EN + हिं
GB When would you use the GOF Decorator design pattern?
IN आप GOF डेकोरेटर डिज़ाइन पैटर्न का उपयोग कब करेंगे?
A
this pattern allows a user to add new functionality to an existing object without altering its structure यह पैटर्न उपयोगकर्ता को किसी मौजूदा ऑब्जेक्ट की संरचना में बदलाव किए बिना उसमें नई कार्यक्षमता जोड़ने की अनुमति देता है
B
this pattern is used where we need to treat a group of objects in similar way as a single object इस पैटर्न का उपयोग वहां किया जाता है जहां हमें वस्तुओं के समूह को एक ही वस्तु के समान व्यवहार करने की आवश्यकता होती है
C
this pattern hides the complexities of the system and provides an interface to the client using which the client can access the system यह पैटर्न सिस्टम की जटिलताओं को छुपाता है और क्लाइंट को एक इंटरफ़ेस प्रदान करता है जिसके उपयोग से क्लाइंट सिस्टम तक पहुंच सकता है
D
this pattern is primarily used to reduce the number of objects created and to decrease memory footprint and increase performance इस पैटर्न का उपयोग मुख्य रूप से बनाई गई वस्तुओं की संख्या को कम करने और मेमोरी फ़ुटप्रिंट को कम करने और प्रदर्शन को बढ़ाने के लिए किया जाता है
✅ Correct Answer:
1126–1140 of 2726