पहले 10 प्रश्नों के उत्तर और हल यहीं खुले हैं; बाक़ी 20 के उत्तर और हल FliQi Question Bank app में।
भाषा
प्रश्न 1उत्तर + हल
यूनिट परीक्षण के बारे में कौन-सा कथन सत्य नहीं है?
Which is not true in case of unit testing?
Aयह डेवलपमेंट टीम द्वारा किया जाता है।It is conducted by the development team.
Bयह डेवलपमेंट की गति घटाता है।It decreases the speed of development.
Cइसमें परखा जाता है कि source code की हर इकाई उपयोग के लायक है या नहीं।Tester tests whether individual units of source code are fit for use.
Dइससे प्रोग्राम की हर त्रुटि पकड़े जाने की उम्मीद नहीं की जा सकती।It cannot be expected to catch every error in the program.
सही उत्तर / Answer: (B)
हल / Solution
Unit testing में program की सबसे छोटी इकाई, जैसे function या module, को अलग से जाँचा जाता है। यह आमतौर पर डेवलपर ही करते हैं। इससे पता चलता है कि हर इकाई काम के लायक है। यह हर त्रुटि नहीं पकड़ सकती, क्योंकि इकाइयों के आपसी जुड़ाव की ग़लती integration में दिखती है। दोष जल्दी पकड़े जाने से बाद का सुधार कम होता है, इसलिए यह विकास की गति बढ़ाती है, घटाती नहीं।
Unit testing checks the smallest part of a program, such as a function or module, on its own. It is usually done by the developers. It shows whether each unit is fit for use. It cannot catch every error, because mistakes in how units work together appear only in integration testing. Since defects are caught early, less rework is needed later, so it speeds up development instead of slowing it down.
प्रश्न 2उत्तर + हल
उपयोगकर्ता स्वीकृति परीक्षण (User Acceptance Testing) किस चरण में किया जाता है?
In which stage is user acceptance testing done?
Aमैनुअल चरण (Manual stage)Manual stage
Bस्वचालित चरण (Automatic stage)Automatic stage
Ca और b दोनों मेंOn both a and b
Dइनमें से कोई नहींNone of the above
सही उत्तर / Answer: (A)
हल / Solution
User acceptance testing (UAT) परीक्षण का आख़िरी स्तर है। इसमें असली उपयोगकर्ता या ग्राहक ख़ुद software चलाते हैं और देखते हैं कि वह उनकी व्यापारिक ज़रूरत पूरी करता है या नहीं। यह काम उपयोगकर्ता अपने हाथ से, रोज़ के असली काम जैसा करके करते हैं। इसलिए UAT मुख्य रूप से manual होती है। स्वचालित script उपयोगकर्ता की संतुष्टि नहीं बता सकती। इसलिए उत्तर manual stage है।
User acceptance testing (UAT) is the last level of testing. Real users or the customer run the software themselves and check whether it meets their business needs. Users do this by hand, just like their real daily work. So UAT is mainly a manual activity. An automated script cannot tell whether the user is satisfied. So the answer is the manual stage.
प्रश्न 3उत्तर + हल
सबसे प्रतिष्ठित परीक्षण मानक (testing standard) की पहचान कीजिए।
ISO यानी International Organization for Standardization दुनिया भर में माने जाने वाले मानक बनाता है। Software testing के लिए ISO/IEC/IEEE 29119 और गुणवत्ता के लिए ISO 9001 जैसे मानक इसी के हैं। Microsoft एक कंपनी है, मानक संस्था नहीं। M Bridge Awards एक पुरस्कार है। QAI एक संस्थान है जो प्रमाणपत्र देता है, पर वह अंतरराष्ट्रीय मानक नहीं है। इसलिए सबसे प्रतिष्ठित मानक ISO है।
ISO, the International Organization for Standardization, makes standards that are accepted all over the world. Standards such as ISO/IEC/IEEE 29119 for software testing and ISO 9001 for quality come from it. Microsoft is a company, not a standards body. M Bridge Awards is an award. QAI is an institute that gives certifications, but it is not an international standard. So the most reputed standard is ISO.
प्रश्न 4उत्तर + हल
SPICE का पूरा नाम क्या है?
What is the full form of SPICE?
ASoftware Process Improvement and Control Determination
BSoftware Process Improvement and Capability Determination
CSoftware Process Improvement and Compatibility Determination
Dइनमें से कोई नहींNone of the above
सही उत्तर / Answer: (B)
हल / Solution
SPICE का पूरा नाम Software Process Improvement and Capability dEtermination है। यह software process को आँकने का अंतरराष्ट्रीय ढाँचा है, जो बाद में ISO/IEC 15504 मानक बना। इससे पता चलता है कि किसी संस्था की प्रक्रियाएँ कितनी सक्षम (capable) हैं और उन्हें कैसे सुधारा जाए। इसलिए नाम में C का अर्थ Capability है। Control और Compatibility वाले रूप ग़लत हैं।
SPICE stands for Software Process Improvement and Capability dEtermination. It is an international framework for assessing software processes, which later became the ISO/IEC 15504 standard. It shows how capable the processes of an organization are and how they can be improved. So the C in the name means Capability. The forms with Control or Compatibility are wrong, so option 2 is correct.
प्रश्न 5उत्तर + हल
STLC (सॉफ़्टवेयर परीक्षण जीवन चक्र) के ग़लत चरण की पहचान कीजिए।
Identify the incorrect phase of STLC (Software Testing Life Cycle).
STLC के चरण हैं — आवश्यकता विश्लेषण, परीक्षण योजना, test case बनाना, परीक्षण वातावरण तैयार करना, test चलाना और परीक्षण समापन। इनमें पहले यह समझा जाता है कि क्या जाँचना है, फिर योजना बनती है, test case बनते हैं, test चलते हैं और अंत में रिपोर्ट के साथ काम बंद होता है। Coding डेवलपर का काम है और SDLC का चरण है, STLC का नहीं। इसलिए ग़लत चरण coding है।
The phases of STLC are requirement analysis, test planning, test case development, test environment setup, test execution and test closure. First the team understands what to test, then plans, writes test cases, runs the tests and finally closes the work with a report. Coding is done by developers and is a phase of SDLC, not STLC. So the incorrect phase is coding.
प्रश्न 6उत्तर + हल
परीक्षण के किस चरण में test case तैयार (design) किए जाते हैं?
Identify the stage in which test cases are designed.
परीक्षण की प्रक्रिया के चरण हैं — परीक्षण योजना (planning), विनिर्देश (specification), निष्पादन (execution), अभिलेखन (recording) और अंत में पूर्णता की जाँच। Planning में दायरा, संसाधन और समय तय होता है। Test specification वह चरण है जहाँ test case बनाए जाते हैं, यानी input, शर्तें और अपेक्षित output लिखे जाते हैं। Recording में चलाए गए test के नतीजे दर्ज होते हैं। Test configuration कोई अलग चरण नहीं है। इसलिए उत्तर test specification है।
The testing process has these stages: test planning, test specification, test execution, test recording and finally checking for completion. Planning decides the scope, resources and schedule. Test specification is the stage where test cases are designed, with their inputs, conditions and expected outputs. Recording notes the results of the tests that were run. Test configuration is not a separate stage. So the answer is test specification.
प्रश्न 7उत्तर + हल
प्रतिगमन परीक्षण (regression testing) करने का सबसे अच्छा समय चुनिए।
Select the best time when regression testing should be done.
Aजितनी बार संभव होAs frequently as possible
Bजब वातावरण (environment) बदला गया होWhen the environment has been modified
Cजब सॉफ़्टवेयर में बदलाव किया गया होAfter the software has been modified
Db और c दोनों सही हैंBoth b and c are correct
सही उत्तर / Answer: (D)
हल / Solution
Regression testing यह पक्का करती है कि किसी बदलाव से पहले से ठीक चल रहा हिस्सा टूटा नहीं। इसलिए इसकी ज़रूरत तब पड़ती है जब कुछ बदला हो। Software में bug सुधार या नई सुविधा जुड़े, तब यह ज़रूरी है। Environment बदले, जैसे नया operating system, database या server, तब भी यह ज़रूरी है। बिना किसी बदलाव के बार-बार चलाने का कोई लाभ नहीं। इसलिए b और c दोनों सही हैं।
Regression testing makes sure that a change has not broken the parts that already worked. So it is needed whenever something has changed. It is needed when the software is modified by a bug fix or a new feature. It is also needed when the environment changes, such as a new operating system, database or server. Running it again and again without any change gives no benefit. So both b and c are correct.
प्रश्न 8उत्तर + हल
एकीकरण परीक्षण (integration testing) का मुख्य उद्देश्य कौन-सा विकल्प दर्शाता है?
Choose the option which represents the key objective of integration testing.
Integration testing में अलग-अलग जाँचे गए module आपस में जोड़े जाते हैं। हर module अकेले ठीक चल सकता है, पर जोड़ते समय गड़बड़ हो सकती है। जैसे parameter ग़लत क्रम में जाना, data खो जाना, या एक module का दूसरे पर बुरा असर। ये सब interface की त्रुटियाँ हैं। Pressman के अनुसार integration testing का मुख्य लक्ष्य यही पकड़ना है। Procedure और design त्रुटियाँ इसका मुख्य निशाना नहीं हैं।
In integration testing, modules that were tested separately are joined together. Each module may work fine alone, but problems can appear when they are connected. Parameters may pass in the wrong order, data may be lost, or one module may badly affect another. All these are interface errors. As Pressman explains, catching them is the key objective of integration testing, not procedure or design errors.
प्रश्न 9उत्तर + हल
अल्फा परीक्षण किस वातावरण में किया जाता है?
Identify the environment in which we can perform alpha testing.
Aउपयोगकर्ता की जगह परUser's end
Bडेवलपर की जगह परDeveloper's end
Ca और b दोनों सही हैंBoth a and b are correct
Dइनमें से कोई नहींNone of the above
सही उत्तर / Answer: (B)
हल / Solution
Alpha testing डेवलपर की अपनी जगह पर, नियंत्रित वातावरण में होती है। उपयोगकर्ता software चलाते हैं और डेवलपर साथ रहकर दोष दर्ज करता है। Beta testing उपयोगकर्ता की अपनी जगह पर होती है, जहाँ डेवलपर मौजूद नहीं होता। दोनों का वातावरण अलग है, इसलिए 'दोनों' वाला विकल्प ग़लत है। अतः alpha testing का वातावरण डेवलपर की जगह है।
Alpha testing is done at the developer's own site, in a controlled environment. Users run the software while the developer stays with them and records errors. Beta testing is done at the user's own site, where the developer is not present. The two environments are different, so the option saying both is wrong. So alpha testing is performed at the developer's end.
प्रश्न 10उत्तर + हल
व्हाइट-बॉक्स परीक्षण को निम्नलिखित में से किस श्रेणी में रखा जा सकता है?
In which of the following categories can white-box testing be classified?
Aडिज़ाइन-आधारित परीक्षण (Design based testing)Design based testing
Bसंरचनात्मक परीक्षण (Structural testing)Structural testing
Cत्रुटि अनुमान तकनीक (Error guessing technique)Error guessing technique
Dइनमें से कोई नहींNone of the above
सही उत्तर / Answer: (B)
हल / Solution
White-box testing में program की अंदरूनी बनावट यानी structure को देखकर test बनाए जाते हैं — कौन-से statement, branch और loop हैं। इसीलिए इसे structural testing, glass box या clear box testing भी कहते हैं। Error guessing अनुभव पर टिकी अलग तकनीक है। Design based testing इसका मानक नाम नहीं है। इसलिए सही श्रेणी structural testing है।
White-box testing designs tests by looking at the internal structure of the program, such as its statements, branches and loops. That is why it is also called structural testing, glass box testing or clear box testing. Error guessing is a separate technique based on the tester's experience. Design based testing is not its standard name. So the correct category is structural testing.
आगे के 20 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति
निम्नलिखित में से कौन-से कथन सही हैं? 1. स्टब (Stub) का उपयोग बॉटम-अप दृष्टिकोण में होता है। 2. स्टब (Stub) का उपयोग टॉप-डाउन दृष्टिकोण में होता है। 3. ड्राइवर (Driver) का उपयोग बॉटम-अप दृष्टिकोण में होता है। 4. ड्राइवर (Driver) का उपयोग टॉप-डाउन दृष्टिकोण में होता है।
Which of the following statements are correct? 1. Stubs are used in the bottom-up approach. 2. Stubs are used in the top-down approach. 3. Drivers are used in the bottom-up approach. 4. Drivers are used in the top-down approach.
सिस्टम टेस्ट के बारे में निम्नलिखित में से क्या सही है?
Which of the following is true of a system test?
Aसिस्टम टेस्ट सॉफ़्टवेयर परीक्षण की ब्लैक बॉक्स श्रेणी में आता है।System test falls under the black box testing category of software testing.
Bसिस्टम टेस्ट का उद्देश्य पूरे सिस्टम की शुरू से अंत तक (end-to-end) की विशिष्टताओं को परखना है।The purpose of a system test is to evaluate the end-to-end system specifications.
Cयह जाँचता है कि एप्लिकेशन के सभी प्रोग्राम मिलकर ठीक से काम करते हैं।It verifies that all programs in an application work together properly.
एक त्रुटि एप्लिकेशन की बुनियादी कार्यक्षमता में होती है और उपयोगकर्ता को सिस्टम इस्तेमाल ही नहीं करने देती (जैसे उपयोगकर्ता लॉगिन नहीं कर पाता)। इस दोष की प्राथमिकता और गंभीरता क्या होगी?
An error occurs in the basic functionality of the application and does not allow the user to use the system (e.g., the user is not able to log in). What are the priority and severity of this defect?
Aउच्च प्राथमिकता, उच्च गंभीरता (High Priority, High Severity)High Priority, High Severity