Professional Documents
Culture Documents
a. True
b. False
ANSWER: b
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
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
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
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
http://www.testingprojects.com/frmmain.aspx
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.
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.
8
Full form of QTP?
9
It provides the snapshots of your application as it appeared when you performed a certain steps during recording
session.
It provides graphical representation of your operations, which you have performed with your application.
ERP/ CRM
Java/ J2EE
VB, .NET
Multimedia, XML
Web Objects, ActiveX controls
SAP, Oracle, Siebel, PeopleSoft
Web Services, Terminal Emulator
IE, NN, AOL
F3
F5
F4
Ctrl+Shift+F4
Ctrl+Shift+F3
Which keyword used for switch between Tree View and Expert View ?
Ctrl+Tab
You can measure how long it takes to run a section of your test by defining transactions.
You can view the results of the checkpoints in the Test Result Window.
Standard Checkpoints checks the property value of an object in your application or web page.
10
Which environment are supported by Standard Checkpoint?
Image Checkpoint checks the value of an image in your application or web page.
Bitmap Checkpoint checks the bitmap images in your web page or application.
Text Checkpoint checks that a test string is displayed in the appropriate place in your application or on web page.
Note:
* QTP records each steps you perform and generates a test tree and test script.
* 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