परीक्षण और मॉड्यूल एकीकरण की रणनीतियाँ किस चरण में तय की जाती हैं?
Testing and Module Integration strategies are addressed in …………… phase.
Aआरंभ (Initiation)Initiation
Bकार्यान्वयन (Implementation)Implementation
Cनियोजन एवं डिज़ाइन (Planning and Design)Planning and Design
Dअनुरक्षण (Maintenance)Maintenance
सही उत्तर / Answer: (C)
हल / Solution
यह तय करना कि मॉड्यूल किस क्रम में जोड़े जाएँगे और कौन सा परीक्षण कब होगा, डिज़ाइन का ही हिस्सा है। नियोजन एवं डिज़ाइन चरण में ढाँचा बनता है, इसलिए रणनीति भी वहीं लिखी जाती है। आरंभ चरण में सिर्फ़ ज़रूरत और व्यवहार्यता देखी जाती है। कार्यान्वयन में उसी लिखी रणनीति पर अमल होता है, नई रणनीति नहीं बनती। अनुरक्षण तो तैनाती के बाद का काम है।
Deciding the order in which modules will be joined, and which test runs at which level, is part of designing the system. So the integration and test strategy is written during the planning and design phase, alongside the architecture. The initiation phase only settles the need, scope and feasibility. Implementation simply carries out the strategy already written, and maintenance comes after deployment, so none of them is the right phase.
निम्न में से कौन-सा परीक्षण सबसे पहले किया जाता है?
Which Testing is performed first?
Aकृष्ण पेटी परीक्षण (Black box testing)Black box testing
Bश्वेत पेटी परीक्षण (White box testing)White box testing
Cगतिक परीक्षण (Dynamic testing)Dynamic testing
Dस्थैतिक परीक्षण (Static testing)Static testing
सही उत्तर / Answer: (D)
हल / Solution
स्थैतिक परीक्षण में कोड चलाया नहीं जाता, बस दस्तावेज़ और कोड पढ़े जाते हैं — समीक्षा, वॉकथ्रू, निरीक्षण और स्थैतिक विश्लेषण औज़ार। यह ज़रूरत और डिज़ाइन के चरण से ही शुरू हो सकता है, जब चलाने लायक़ प्रोग्राम बना ही नहीं होता। बाक़ी तीनों में सॉफ़्टवेयर चलाना पड़ता है, इसलिए वे बाद में आते हैं। जल्दी पकड़ा गया दोष सस्ता पड़ता है, यही स्थैतिक परीक्षण को पहले रखने की वजह है।
Static testing does not execute the program. It works by reading documents and code through reviews, walkthroughs, inspections and static analysis tools, so it can begin during the requirement and design phases, when no runnable program exists yet. The other three options all need the software to be executed, which can only happen later. Finding a defect early is far cheaper than finding it after coding, and that is why static testing comes first in the order.
जाँच (validation) के लिए इस्तेमाल होने वाला कोड क्या कहलाता है?
The code used for validation purposes is known as:
Aस्व-जाँच कोड (self checking code)Self checking code
Bअनुक्रम कोड (sequence code)Sequence code
Cअक्षर-अंक कोड (alpha numeric code)Alpha numeric code
Dसमूह वर्गीकरण कोड (group classification code)Group classification code
सही उत्तर / Answer: (A)
हल / Solution
स्व-जाँच कोड में मूल अंकों के साथ एक अतिरिक्त जाँच-अंक जोड़ा जाता है, जो बाक़ी अंकों से गणना करके निकलता है। डेटा भरते समय यदि कोई अंक ग़लत टाइप हो जाए या दो अंक आपस में उलट जाएँ, तो जाँच-अंक मेल नहीं खाता और ग़लती वहीं पकड़ी जाती है। अनुक्रम कोड केवल क्रम देता है, अक्षर-अंक कोड रूप बताता है और समूह वर्गीकरण कोड वस्तुओं को श्रेणियों में बाँटता है।
A self checking code carries an extra check digit that is calculated from the other digits of the code. While data is being entered, a mistyped digit or two digits swapped by accident make the recomputed check digit disagree, so the error is caught at the point of entry. A sequence code only numbers items in order, an alphanumeric code merely mixes letters and digits, and a group classification code splits items into categories.
Dउच्च-स्तरीय और विस्तृत, दोनों रूपरेखाएँBoth high-level design and detailed design
सही उत्तर / Answer: (A)
हल / Solution
वास्तुकला रूपरेखा (architectural design) सबसे ऊपर की परत है। वहाँ सॉफ़्टवेयर को एक प्रणाली के रूप में देखा जाता है जिसमें कई घटक आपस में क्रिया करते हैं, पर अंदर का ब्योरा नहीं खोला जाता। उच्च-स्तरीय रूपरेखा उसी ढाँचे को उप-प्रणालियों और मॉड्यूल में बाँटती है, और विस्तृत रूपरेखा हर मॉड्यूल के अंदर का तर्क और आँकड़ा-ढाँचा तय करती है। इसलिए पहला विकल्प सही है।
Architectural design is the topmost layer. There the software is seen as one system made of several components that interact with each other, while the inside of each component is left closed. High-level design then splits that structure into subsystems and modules with their relationships, and detailed design fixes the logic and data structures inside every module. So the first option is the correct answer.
SCM की गतिविधियाँ किस काम के लिए नहीं बनाई गई हैं?
SCM activities are developed not to
Aजिन्हें जानने में रुचि हो, उन्हें बदलाव की सूचना देने के लिएreport changes to others who may have an interest
Bबदलाव को नियंत्रित करने के लिएcontrol change
Cबदलाव को पहचानने के लिएidentify change
Dइनमें से कोई नहींnone of these
सही उत्तर / Answer: (D)
हल / Solution
बदलाव सँभालना ही configuration management का पूरा काम है। वह पहचानता है कि क्या बदला, उस बदलाव को तय प्रक्रिया से नियंत्रित करता है, जाँचता है कि बदलाव ठीक से लागू हुआ या नहीं, और जिन्हें जानने में रुचि हो उन्हें सूचना देता है। यानी पहले तीनों विकल्प वही काम गिनाते हैं जो यह करता ही है। इसलिए "नहीं करता" वाली सूची ख़ाली रह जाती है और चौथा विकल्प सही ठहरता है।
Managing change is the whole purpose of software configuration management. It identifies what has changed, controls that change through a formal request and review, audits whether the change was made correctly, and reports it to everyone who has an interest. So the first three options list things this discipline is built to do, not things it avoids. The list of purposes it was not developed for stays empty, which is why the last option is correct.
वस्तु आधारित modelling में encapsulation इसलिए उपयोगी है क्योंकि
Encapsulation in object-oriented modelling is useful as
Aइससे object की method को सिस्टम के बाक़ी हिस्सों से अलग रहकर सुधारा जा सकता हैit allows improving methods of an object independent of other parts of system
Bयह method के भीतरी ब्योरे को छिपाता हैit hides implementation details of methods
Cइससे design करना आसान हो जाता हैit allows easy designing
Dयह object के attribute और operation को एक साथ बाँधता हैencapsulates attributes and operations of object
सही उत्तर / Answer: (A)
हल / Solution
encapsulation का सबसे बड़ा फ़ायदा यह है कि object की method को बाद में सुधारा जा सकता है, और बाक़ी सिस्टम को छूना नहीं पड़ता। बाहर वालों को भीतर का तरीक़ा पता ही नहीं था, इसलिए वे पहले की तरह चलते रहते हैं। इसीलिए पहला विकल्प सही है। दूसरा और चौथा विकल्प बताते हैं कि encapsulation है क्या, यह नहीं कि वह उपयोगी क्यों है। तीसरा विकल्प बहुत अस्पष्ट है।
The biggest gain from encapsulation is that the methods of an object can be improved later without touching the rest of the system. The outside code never knew the inner recipe, so it keeps working exactly as before. That is why option one is the answer. Options two and four describe what encapsulation is, not why it is useful. Option three is far too vague to count as a reason.
दैनिक दर 40 रुपये है, तो किसी छात्र के महीने भर के mess बिल की reasonableness जाँच होगी —
Reasonableness checks for monthly mess bill of a student if daily rate is Rs. 40 is
A1200
B12000
C120
D2400
सही उत्तर / Answer: (D)
हल / Solution
चालीस रुपये रोज़ के हिसाब से महीने का बिल लगभग 1200 से 1240 रुपये बैठता है। reasonableness जाँच इसी आँकड़े पर नहीं बाँधी जाती, उसमें थोड़ी गुंजाइश रखी जाती है — मेहमान का खाना या अलग से मँगाई चीज़ें बिल बढ़ा देती हैं। इसलिए हद लगभग दोगुनी, यानी 2400 रखी जाती है। 1200 पर बाँधने से सही बिल भी रुकेंगे, 120 बहुत कम है और 12000 इतनी ढीली कि कुछ पकड़े ही नहीं।
At forty rupees a day the month's bill works out to about 1200 or 1240 rupees. A reasonableness check is not tied to that exact figure; it keeps some room, because guest meals or extra items ordered can push the bill up. So the limit is set at roughly twice that figure, 2400. A limit of 1200 would stop honest bills, 120 is far too low, and 12000 too loose.
Aकी जाने वाली क्रियाओं के अनुसार X या – सूचीबद्ध करता हैlists X or – corresponding to actions to be executed
Bजाँची जाने वाली शर्तों की सूची देता हैlists the conditions to be tested
Cमें Y या N या – प्रविष्टियाँ होती हैंhas Y or N or – entries
Dकी जाने वाली क्रियाओं की सूची देता हैlists the actions to be taken
सही उत्तर / Answer: (D)
हल / Solution
stub शब्द का अर्थ है तालिका का बायाँ भाग, जहाँ नाम लिखे जाते हैं। ऊपर वाले बाएँ भाग में शर्तों के नाम आते हैं और नीचे वाले बाएँ भाग में क्रियाओं के नाम, यही action stub है। इसलिए सही उत्तर क्रियाओं की सूची वाला विकल्प है। X या – वाले चिह्न action entries में आते हैं और Y या N वाले चिह्न condition entries में, दोनों तालिका के दाएँ भाग हैं।
The word stub means the left hand part of the table, where names are written. The upper left part carries the names of the conditions and the lower left part carries the names of the actions, and that lower left part is the action stub. So it simply lists the actions to be taken. The X and dash marks appear in the action entries, while Y and N appear in the condition entries.
मौजूदा सिस्टम को आसानी से बदल सकें, इसके लिए ज़रूरी है
To easily modify the existing system it is necessary to
Aअच्छे software औज़ार इस्तेमाल करनाuse good software tools
Bउपलब्ध सबसे बढ़िया hardware इस्तेमाल करनाuse the best hardware available
Cसिस्टम का design ऐसा करना कि उसे कम ख़र्च में बदला जा सकेdesign the system which can be changed at low cost
Dprogrammer टीम को ख़ुश रखनाkeep the programming team happy
सही उत्तर / Answer: (C)
हल / Solution
बदलाव की आसानी बाद में नहीं जोड़ी जा सकती, वह design में ही रखनी पड़ती है। छोटे-छोटे हिस्से, साफ़ अलगाव और लिखा हुआ ढाँचा — इन्हीं से बाद का बदलाव सस्ता पड़ता है। इसलिए विकल्प 3 सही है। अच्छे औज़ार काम आसान करते हैं, पर उलझे हुए design को सुलझा नहीं सकते, इसलिए विकल्प 1 काफ़ी नहीं। बढ़िया hardware गति देता है, लचीलापन नहीं। टीम का मनोबल ज़रूरी है, पर वह design का विकल्प नहीं।
Ease of change cannot be added afterwards; it has to be built into the design itself. Small parts, clean separation and a documented structure are what make a later change cheap. So option 3 is right. Good tools make work easier but cannot untangle a badly designed system, so option 1 is not enough. The best hardware gives speed, not flexibility. Team morale matters, yet it is no substitute for sound design.
सॉफ़्टवेयर प्रक्रिया की चार मुख्य गतिविधियाँ हैं — विनिर्देशन (specification), यानी तय करना कि सिस्टम क्या करेगा; विकास (development), यानी उसे बनाना; वैधीकरण (validation), यानी जाँचना कि ग्राहक को यही चाहिए था; और उद्भवन या विकास-क्रम (evolution), यानी बदलती ज़रूरतों के साथ उसे बदलना। सॉफ़्टवेयर निर्भरता नाम की कोई प्रक्रिया-गतिविधि नहीं है, इसलिए वही सही उत्तर है।
A software process has four fundamental activities. Specification decides what the system should do, development actually produces it, validation checks that it is what the customer really wanted, and evolution changes the software as the needs of the customer change over time. Software dependence is not one of these activities at all, so it is the odd option out. The other three are standard parts of every software process.
आगे के 10 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति