Unit 1 : Software Testing - DIMR

Transcription

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE- 45SUBJECTCODE:604SUBJECT NAME: SOFTWARETESTINGUnit 1 : Software Testing1. A deviation from the specified or expected behaviour that is visible to end-users iscalled:a) An errorb) a faultc) a failured) a defectAns: C2. A configuration management system would NOT normally provide:a) Linkage of customer requirements to version numbers.b) The precise differences in versions of software component source code.c) Facilities to compare test results with expected results.d) Restricted access to the source code libraryAns: C3. Test cases are designed during:a) Test recording.b) Test configuration.c) Test planning.d) Test specificationAns:D4. Which of the following statements about reviews is true?PROF . SUPRIYA MANEwww.dacc.edu.in

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE- 45a) Reviews should be performed on specifications, code, and test plansb) Reviews are the least effective way of testing code.c) Reviews are unlikely to find faults in test plans.d) Reviews cannot be performed on user requirements specifications.Ans: A5. In case of Large Systemsa) Only few tests should be runb) Test Cases written by good test engineers should be executedc) Only Good Test Cases should be executedd) Testing should be on the basis of RiskAns: D6. Which of the following will be the best definition for Testing :a) Testing is executing Software for the purpose of finding defectsb) The purpose of testing is to demonstrate that the program is defect free c) Thepurpose of testing is to demonstrate that the program does what it is supposed to dod) The goal / purpose of testing is to demonstrate that the program works.Ans: A7. Which of the following is not a type of incremental testing approach?a) Big-bangb) Top downc) Bottom upd) Functional incriminationAns: APROF . SUPRIYA MANEwww.dacc.edu.in

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE- 458. Test Conditions are derived froma) Test Designb) Test Casesc) Test Datad) SpecificationsAns: D9. Pick the best definition of qualitya) Quality is job oneb) Zero defectsc) Work as designedd) Conformance to requirementsAns: D10. Fault Masking isa) Creating a test case which does not reveal a faultb) Error condition hiding another error conditionc) Masking a fault by developerd) Masking a fault by a testerAns: B11.Boundary value testinga) Is the same as equivalence partitioning testsb) Tests combinations of input circumstancesc) Test boundary conditions on, below and above the edges of input andequivalence classesd) Is used in white box testing strategyAns: CPROF . SUPRIYA MANEoutputwww.dacc.edu.in

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE- 4512. One Key reason why developers have difficulty testing their own work is:a) Lack of technical documentationb) Lack of test tools on the market for developer’sc) Lack of Objectivityd) Lack of trainingAns: C13. In a review meeting a moderator is a person who:a) Takes minutes of the meetingb) Takes telephone callsc) Mediates between peopled) writes the documents to be reviewedAns: C14. Acceptance test cases are based on what?a) Decision tableb) Designc) Coded) RequirementsAns: D15. How much testing is enough?a) This question is easy to answerb) This question is impossible to answerc) The answer depends on the risk for your industry, contract and special requirementsd) This answer depends on the maturity of your developersAns: C16. which of the following is the component test standard?a) IEEE 610b) IEEE 829c) BS7925-1d) BS7925-2Ans: DPROF . SUPRIYA MANEwww.dacc.edu.in

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE- 4517. Which of the following is NOT a standard related to testing?a) IEEE610b) IEEE829c) BS7925-1d) BS7925-2Ans: A18. The standard that gives definitions of testing terms is:a) ISO/IEC 12207b) BS 7925-1c) ANSI/IEEE 729d) ANSI/IEEE 829Ans: B19. Which of the following is NOT true of incidents?a) Incidents are raised when expected and actual results differ.b) Incidents may be raised against user requirements.c) Incidents require investigation and/or correction.d) Incident resolution is the responsibility of the author of the software under test.Ans: D20. Which of the following is false?a) In a system two different failures may have different severities.b) A fault need not affect the reliability of a system.c) A system is necessarily more reliable after debugging for the removal of a fault.d) Undetected errors may lead to faults and eventually to incorrect behavior.Ans: C21. Which of the following is the odd one out?a) White boxb) Functionalc) Structurald) Glass boxAns: BPROF . SUPRIYA MANEwww.dacc.edu.in

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE- 4522. Which of the following is a static test?a) Coverage analysisb) Code inspectionc) Usability assessmentd) Installation testAns: B23. Which of the following is a black box design technique?a) statement testingb) error- guessingc) equivalence partitioningd) usability testingAns: C24. Which of the following is not the integration strategy?a) Design basedb) Bottom-upc) Big-bangd) Top-downAns: A25. Which of the following is NOT a reasonable test objective:a) To find faults in the softwareb) To give confidence in the softwarePROF . SUPRIYA MANEwww.dacc.edu.in

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE- 45c) To prove that the software has no faultsd) To find performance problemsAns: C26. Which of the following uses Impact Analysis most?a) Non-functional system testingb) Component testingc) User acceptance testingd) Maintenance testingAns: D27. Expected results are:a) Only important in system testingb) Most useful when specified in advancec) Only used in component testingd) Derived from the codeAns: B28. What type of review requires formal entry and exit criteria, including metrics?a) Management reviewb) Inspectionc) Walkthroughd) Post project reviewAns: BPROF . SUPRIYA MANEwww.dacc.edu.in

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE- 4529. The difference between re-testing and regression testing is:a) Re-testing ensures the original fault has been removed; regressiontesting looks for unexpected side-effectsb) Re-testing looks for unexpected side-effects; regression testingensures the original fault has been removedc) Re-testing is done by developers; regression testing is done byindependent testersd) Re-testing is done after faults are fixed; regression testing is doneearlierAns: A30. Given the following types of tool, which tools would typically be used bydevelopers, and which by an independent system test team?i) static analysisii) performance testingiii. test managementiv) dynamic analysisa) Developers would typically use i and iv; test team ii and iiib) Developers would typically use i and iii; test team ii and ivc) Developers would typically use i, iii and iv; test team iid) Developers would typically use ii and iv; test team i and iiiAns: A31.Functional system testing is:a) Testing that the system functions with other systemsb) Testing the end to end functionality of the system as a wholec) Testing that the components that comprise the system functionPROF . SUPRIYA MANEwww.dacc.edu.in

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE- 45togetherd) Testing the system performs functions within specified responsetimesAns: B32. Which of the following items would not come under Configuration Management?a) Operating systemsb) Live datac) Test documentationd) User requirement documentsAns: B33. Incidents would not be raised against:a) Requirementsb) Documentationc) Improvements suggested by usersd) Test casesAns: C34. Maintenance testing is:a) Testing to maintain business advantageb) Testing a released system that has been changedc) Testing by users to ensure that the system meets a business needd) Updating tests when the software has changedAns: BPROF . SUPRIYA MANEwww.dacc.edu.in

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE- 4535. Which of the following techniques is NOT a black box technique?a) State transition testingb) Syntax testingc) LCSAJd) Boundary value analysisAns: C36. What can static analysis NOT find?a) Memory leaksb) Unreachable (“dead”) codec) The use of a variable before it has been definedd) Array bound violationsAns: A37. Which of the following is likely to benefit most from the use of test tools providingtest capture and replay facilities?a) Integration testingb) Regression testingc) System testingd) User acceptance testingAns: BPROF . SUPRIYA MANEwww.dacc.edu.in

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE- 4538. Which of the following requirements is testable?a) The system shall be user friendly.b) The response time shall be less than one second for the specifieddesign load.c) The safety-critical parts of the system shall contain 0 faults.d) The system shall be built to be portable.Ans: B39. In prioritizing what to test, the most important objective is to:a) Test high risk areas.b) Find as many faults as possible.c) Obtain good test coverage.d) Test whatever is easiest to test.Ans: A40. Which of the following is false?a) An incident can be raised against documentation.b) An incident occurs when expected and actual results differ.c) Incidents can be analysed to assist in test process improvement.d) Incidents should always be fixed.Ans: DPROF . SUPRIYA MANEwww.dacc.edu.in

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE- 45Unit 2 : Approaches to Testing -I1. What are the Testing Levels?A. Unit TestingB. Integration TestingC. System Testing and Acceptance Testing.D. All the aboveAns: D2. A useful tool to visualize, clarify, link, identify, and classify possible cause of aproblem. This is also called as “fishbone diagram” what is this?A. Pareto AnalysisB. Cause-and-Effect DiagramAns: B3. It measures the quality of processes used to create a quality product.It is a system of management activities,It is a preventive process, It applies for entire life cycle & Deals with Process.A. ValidationB. VerificationC. Quality AssuranceD. Quality ControlAns: C4. Variance from product specifications is called?A. ReportB. RequirementC. DefectAns: C5. Verification isA. Process basedB. Product basedAns: APROF . SUPRIYA MANEwww.dacc.edu.in

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE- 456. White box testing is not called asA. Glass box testingB. Closed box testingC. OPen box testingD. Clear box testingAns: B7. Name the events that will be analyzed, Count the named incidents, Rank the countby frequency using a bar chart & Validate reasonableness of the analysis is called asA. Pareto AnalysisB. Cause and Effect DiagramC. SWOT AnalysisD. Pie ChartsAns: A8. Retesting of a single program or component after a change has been made?A. Full Regression TestingB. Unit RegressionC. Regional RegressionD. RetestingAns: B9. Requirement and Analysis, Design, Development or Coding, Testing andMaintenance is called as Software Development Life Cycle (SDLC)A. TrueB. FalseAns: A10. The testing which is done by going thro’ the code is known as,A. Unit TestingB. Blackbox testingC. White box TestingD. Regression testingAns: CPROF . SUPRIYA MANEwww.dacc.edu.in

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE- 4511. Configuration Management Plan describes the Configuration Managementprocedures and structures to be used.A. TrueB. FalseAns: A12.This type of testing method attempts to find incorrect or missing functions, errors indata structures or external database access, interface errors, Performance errors andinitialization and Termination errors. It is called asA. White Box TestingB. Grey Box TestingC. Black Box TestingD. Open Box TestingAns: C13. Phase Definition. It will come underA. CMM Level 1B. CMM Level 2C. NoneAns: B14. Software testing which is done without planning and Documentation is known asA. adHoc TestingB. Unit TestingC. Regression testingD. Functional testing.Ans: A15. Acceptance testing is known asA. Beta TestingB. Greybox testingC. Test AutomationD. White box testingAns: APROF . SUPRIYA MANEwww.dacc.edu.in

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE- 4516. Retesting the entire application after a change has been made called as?A. Full Regression TestingB. Unit RegressionC. Regional RegressionD. RetestingAns: A17. Boundary value analysis belongs to which testing method?A. Black Box testingB. White Box testingAns: A18. It measures the quality of a productIt is a specific part of the QA procedure, It is a corrective process,It applies for particular product & Deals with the product.A. ValidationB. VerificationC. Quality AssuranceD. Quality ControlAns: D19. What are the Types of Integration Testing?A. Big Bang TestingB. Bottom Up TestingC. Top Down TestingD. All the aboveAns: D20. Product Risk affects The quality or performance of the software.A. TrueB. FalseAns: A21. A metric used to measure the characteristic of documentation and code called asA. Process metricB. Product MetricC. Test metricsAns: BPROF . SUPRIYA MANEwww.dacc.edu.in

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE- 4522. Which is non-functional software testing?A. Unit TestingB. Block box testingC. Performance TestingD. Regression testingAns: C23. The process that deals with the technical and management issues of softwaredevelopment called as?A. Delivery ProcessB. Testing ProcessC. Software ProcessAns: C24. Executing the same test case on a modified build called asA. Regression TestingB. RetestingC. Ad hoc TestingD. Sanity TestingAns: A25. Which is Black-Box Testing method?A. equivalence partitioningB. code coverageC. fault injectionAns: A26. Business Risk affects The Organization developing or Procuring the software.A. TrueB. FalseAns: A27. Stratification is a Technique used to analyze/divide a universe of data intohomogeneous groups(stratA.A. TrueB. FalseAns: APROF . SUPRIYA MANEwww.dacc.edu.in

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE- 4528. Automation Testing should be done before starting Manual testing.Is the above statement correct?A. YesB.

c) ANSI/IEEE 729 d) ANSI/IEEE 829 Ans: B 19. Which of the following is NOT true of incidents? a) Incidents are raised when expected and actual results differ. b) Incidents may be raised against user requirements. c) Incidents require investigation and/or correction. d) Incident resolution is the responsibility of the author of the software .