1: With thorough testing it is possible to remove all defects from a program prior to delivery to the customer. a. True b.

False ANSWER: b

2: Which of the following are characteristics of testable software? a. Observability b. simplicity c. stability d. all of the above ANSWER: d

3: The testing technique that requires devising test cases to demonstrate that each program function is operational is called a. black-box testing` b. glass-box testing c. grey-box testing d. white-box testing ANSWER: a

4: The testing technique that requires devising test cases to exercise the internal logic of a software module is called a. behavioral testing b. black-box testing c. grey-box testing d. white-box testing ANSWER : d 5 : What types of errors are missed by black-box testing and can be uncovered by white-box testing ? a. Behavioral errors b. logic errors c. performance errors d. typographical errors e. both b and d ANSWER: e 6: Program flow graphs are identical to program flowcharts. a. True b. False ANSWER: b

1

7: The cyclomatic complexity metric provides the designer with information regarding the number of a. cycles in the program b. errors in the program c. independent logic paths in the program d. statements in the program ANSWER: c

8: The cyclomatic complexity of a program can be computed directly from a PDL representation of an algorithm without drawing a program flow graph. a. True b. False ANSWER: a

9: Condition testing is a control structure testing technique where the criteria used to design test cases is that they a. rely on basis path testing b. exercise the logical conditions in a program module c. select test paths based on the locations and uses of variables d. focus on testing the validity of loop constructs ANSWER: b

10: Data flow testing is a control structure testing technique where the criteria used to design test cases is that they a. rely on basis path testing b. exercise the logical conditions in a program module c. select test paths based on the locations and uses of variables d. focus on testing the validity of loop constructs ANSWER : c

11 : Loop testing is a control structure testing technique where the criteria used to design test cases is that they a. rely basis path testing b. exercise the logical conditions in a program module c. select test paths based on the locations and uses of variables d. focus on testing the validity of loop constructs ANSWER : d

12: Black-box testing attempts to find errors in which of the following categories a. incorrect or missing functions b. interface errors c. performance errors d. all of the above e. none of the above ANSWER: d

2

13: Graph-based testing methods can only be used for object-oriented systems a. True b. False ANSWER: b

14: Equivalence testing divides the input domain into classes of data from which test cases can be derived to reduce the total number of test cases that must be developed. a. True b. False ANSWER: a

15: Boundary value analysis can only be used to do white-box testing. a. True b. False ANSWER: b

16: Comparison testing is typically done to test two competing products as part of customer market analysis prior to product release. a. True b. False ANSWER: b

17: Orthogonal array testing enables the test designer to maximize the coverage of the test cases devised for relatively small input domains. a. True b. False ANSWER: a

18: Test case design "in the small" for OO software is driven by the algorithmic detail of the individual operations.

a. True b. False ANSWER: a

19: Encapsulation of attributes and operations inside objects makes it easy to obtain object state information during testing. a. True b. False ANSWER: b

3

20: Use-cases can provide useful input into the design of black-box and state-based tests of OO software. a. True b. False ANSWER: a 21: Fault-based testing is best reserved for a. conventional software testing b. operations and classes that are critical or suspect c. use-case validation d. white-box testing of operator algorithms ANSWER: b

22: Testing OO class operations is made more difficult by a. encapsulation b. inheritance c. polymorphism d. both b and c ANSWER: d

23: Scenario-based testing a. concentrates on actor and software interaction b. misses errors in specifications c. misses errors in subsystem interactions d. both a and b ANSWER : a

24 : Deep structure testing is not designed to a. examine object behaviors b. exercise communication mechanisms c. exercise object dependencies d. exercise structure observable by the user ANSWER : d

25 : Random order tests are conducted to exercise different class instance life histories. a. True b. False ANSWER: a

26: Which of these techniques is not useful for partition testing at the class level a. attribute-based partitioning b. category-based partitioning c. equivalence class partitioning d. state-based partitioning ANSWER: c

4

27: Multiple class testing is too complex to be tested using random test cases. a. True b. False ANSWER: b

28: Tests derived from behavioral class models should be based on the a. data flowdiagram b. object-relation diagram c. state diagram d. use-case diagram ANSWER: c

29: Client/server architectures cannot be properly tested because network load is highly variable. a. True b. False ANSWER: b

30: Real-time applications add a new and potentially difficult element to the testing mix a. performance b. reliability c. security d. time ANSWER: d

Check this site may b useful... For testing projects http://www.testingtemplates.com

For free Testing projects - Online http://www.testingproject.com

http://www.testingprojects.com/frmmain.aspx

Testing projects information. http://www.testingprojects.com/testing-intro.htm

http://www.testingdownloads.com

5

What's the Software Testing? A set of activities conducted with the intent of finding errors in software. What is the Purpose of Testing? To check whether system is meeting requirement. What is the need for testing? To Make error Free Product and Reduce Development Cost. What is the Outcome of Testing? System, which is bug, free and meet the system requirements. When to start and Stop Testing? When system meets the requirement and there is no change in functionality. After completing testing, what would you deliver to the client? Bug free product. How many types of testing? There are two types of testing* Functional- Black Box Testing * Structural- white Box Testing What is Functional Testing? Testing the features and operational behavior of a product to ensure they correspond to its specifications. Testing that ignores the internal mechanism of a system or component and focuses solely on the outputs generated in response to selected inputs and execution conditions. or Black Box Testing. What is Structural Testing? Testing that takes into account the internal mechanism [structure] of a system or component. Types include branch testing, path testing, statement testing. Or White box testing. What's the Black Box testing? Black Box testing is not based on any knowledge of internal logic. What's the White Box testing?

6

White Box testing is based on knowledge of internal logic. What is Gray Box Testing? A combination of Black Box and White Box testing methodologies testing a piece of software against its specification but using some knowledge of its internal workings. What are the three techniques of Black Box testing? Three techniques are*.Equivalence Partitioning *.Boundary Value Analysis *.Error guessing What is Equivalence Partitioning? A test case design technique for a component in which test cases are designed to execute representatives from equivalence classes. What's the Boundry Value Analysis? Boundary Valuse Analysis is a test data selection technique in whice values are choosen maximum, minimum, just inside, just outside boundries, typical values, and error values. The hope is then if software work correctly for these values then it's will works for all values in between.

What’s the Error guessing? A test case design technique where the experience of the tester is used to postulate what faults exist, and to design tests specially to expose them. What are the various levels of testing? Unit, Integration, System and Acceptance testing. What's the Unit Testing? Testing of individual component of software. What's the Integration Testing? In Integration Testing, we can test combined parts of application to determine if they work together correctly. How many types of approaches are used in Integration Testing? There are two types of approaches used* Bottom-Up * Top-Down what's the Bottom-up Testing? Approaches to integration testing where the lowest level component are tested first. What's the Top-Down testing? An approach to integration testing where the top-level component are tested first. What's the System Testing? System Testing is third level of Testing In this level we check Functionility of application. What's the Acceptance Testing? A testing conducted to enable a user or customer to determine whether to accept a software project. Why do you go for White box testing, when Black box testing is available? To check code, branches and loops in code. What types of testing do testers perform? Black Box & White Box testing.

7

Can Automation testing replace manual testing? If it so, how? Yes, if there are many modifications in functionality and it is near impossible to update the automated scripts. What are the entry criteria for Automation testing? Should have stable code. Who's the good software engineer? A good software engineer has "test to break" attitude, an ability to take the point of view of the customers, and strong quality desire. What are the Qualities of a Tester? Should have ability of find out hidden bug as early as possible in SDLC. What is Quality Assurance? All those planned or systematic actions necessary to provide adequate confidence that a product or service is of the type and quality needed and expected by the customer. (or) Bug presentation activity is called QA. What is Quality Audit? A systematic and independent examination to determine whether quality activities and related results comply with planned arrangements and whether these arrangements are implemented effectively and are suitable to achieve objectives.

What is Quality Circle? A group of individuals with related interests that meet at regular intervals to consider problems or other matters related to the quality of outputs of a process and to the correction of problems or to the improvement of quality. What is Quality Control? The operational techniques and the activities used to fulfill and verify requirements of quality. What is Quality Management? That aspect of the overall management function that determines and implements the quality policy. What is Quality Policy? The overall intentions and direction of an organization as regards quality as formally expressed by top management.

8

Full form of QTP? Quick Test Professional What's the QTP? QTP is Mercury Interactive Functional Testing Tool. Which scripting language used by QTP? QTP uses VB scripting. What's the basic concept of QTP? QTP is based on two concept* Recording * Playback How many types of recording facility are available in QTP ? QTP provides three types of recording methods* Context Recording (Normal) * Analog Recording * Low Level Recording How many types of Parameters are available in QTP ? QTP provides three types of Parameter* Method Argument * Data Driven * Dynamic What's the QTP testing process? QTP testing process consist of seven steps* Preparing to recoding * Recording * Enhancing your script * Debugging * Run * Analyze * Report Defects What's the Active Screen?

9

It provides the snapshots of your application as it appeared when you performed a certain steps during recording session. What's the Test Pane? Test Pane contains Tree View and Expert View tabs. What's Data Table? It assists to you about parameterizing the test. What's the Test Tree? It provides graphical representation of your operations, which you have performed with your application. Which all environment QTP supports? ERP/ CRM Java/ J2EE VB, .NET Multimedia, XML Web Objects, ActiveX controls SAP, Oracle, Siebel, PeopleSoft Web Services, Terminal Emulator IE, NN, AOL How can you view the Test Tree? The Test Tree is displayed through Tree View tab. What's the Expert View? Expert View displays the Test Script. Which keyword used for Nornam Recording? F3 Which keyword used for run the test script? F5 Which keyword used for stop the recording? F4 Which keyword used for Analog Recording? Ctrl+Shift+F4 Which keyword used for Low Level Recording? Ctrl+Shift+F3 Which keyword used for switch between Tree View and Expert View ? Ctrl+Tab What's the Transaction? You can measure how long it takes to run a section of your test by defining transactions. Where you can view the results of the checkpoint? You can view the results of the checkpoints in the Test Result Window. What's the Standard Checkpoint? Standard Checkpoints checks the property value of an object in your application or web page.

10

Which environment are supported by Standard Checkpoint? Standard Checkpoint are supported for all add-in environments. What's the Image Checkpoint? Image Checkpoint checks the value of an image in your application or web page. Which environments are supported by Image Checkpoint? Image Checkpoint are supported only Web environment. What's the Bitmap Checkpoint? Bitmap Checkpoint checks the bitmap images in your web page or application. Which environments are supported by Bitmap Checkpoints? Bitmap checkpoints are supported all add-in environment. What's the Table Checkpoints? Table Checkpoint checks the information with in a table. Which environments are supported by Table Checkpoint? Table Checkpoints are supported only ActiveX environment. What's the Text Checkpoint? Text Checkpoint checks that a test string is displayed in the appropriate place in your application or on web page. Which environment are supported by Test Checkpoint? Text Checkpoint are supported all add-in environments Note: * QTP records each steps you perform and generates a test tree and test script. * QTP records in normal recording mode. * If you are creating a test on web object, you can record your test on one browser and run it on another browser. * Analog Recording and Low Level Recording require more disk sapce than normal recording mode.

11

Sign up to vote on this title
UsefulNot useful