Software Testing Methodologies
Software Testing Methodologies
1. In Bottom-Up integration testing, which one of the followings that you may need to develop?
Select one:
a. Interfaces
b. Stubs
c. Connectors
d. Drivers Correct
Feedback
The correct answer is: Drivers
2.A rich extention of FSM
Select one:
a. None
b. State Charts
c. Petri nets Incorrect
d. Path testing
Feedback
The correct answer is: State Charts
3.A Message is
Select one:
a. A communication between two Modules
b. A mechanism to move data across Nodes
c. A communication between two Nodes Incorrect
d. A programming language mechanism by which one unit transfers control to another unit
Feedback
The correct answer is: A programming language mechanism by which one unit transfers control to another unit
4.statement w=v+n+1 use of v
Select one:
a. is a use of v and n
b. is a use of v only Incorrect
c. ALL
d. is a use of n only
Feedback
The correct answer is: is a use of v and n
5.Which View of class testing is used for Inheritence?
Select one:
a. Execution View Incorrect
b. Static View
c. None
d. Compile Time View
Feedback
The correct answer is: Compile Time View
6.Data Flow Testing refer to
Select one:
a. Point at which the variable receive values and the point at which it is used Correct
b. Inputting Data
c. None of the options
d. Understanding how Data changes to Result
Feedback
The correct answer is: Point at which the variable receive values and the point at which it is used
7.The following is not a define-reference anomaly:
Select one:
a. A variable that is defined but never used (referenced) Incorrect
b. None of the option
c. A variable that is defined twice before it is used
d. A variable that is used but never defined
Feedback
The correct answer is: None of the option
8.Big Bang integration approach:
Select one:
a. None of the option
b. Suffers with problem of fault isolation
c. Number of integration testing sessions is 2
d. Requires creation of a large number of stubs and drivers Incorrect
Feedback
The correct answer is: Suffers with problem of fault isolation
9.Adding Variables and Conditions to FSM is called
Select one:
a. Advanced FSM
b. None
c. Extended FSM Correct
d. FSM++
Feedback
The correct answer is: Extended FSM
10.MM-path is
Select one:
a. A path between modules
b. An edge Incorrect
c. An interleaved sequence of MEPs and Messages
d. A path from Source node to Sink node
Feedback
The correct answer is: An interleaved sequence of MEPs and Messages
11.Traverse every path in the model under the constraint that any transition in the path is traversed at most N times
Select one:
a. Transition Coverage Testing
b. State Based Testing
c. Basis path Testing Incorrect
d. Constraint Path Testing
Feedback
The correct answer is: Constraint Path Testing
12.Call Graph (CG) based approach is
Select one:
a. Only Pair-wise integration
b. Neither Pair-wise integration nor Neighborhood integration Incorrect
c. Only Neighborhood integration
d. Both Pair-wise and Neighborhood integration
Feedback
The correct answer is: Both Pair-wise and Neighborhood integration
13.Software Test Drivers are
Select one:
a. Programs which simulate the behaviors of software components that are the control modules of a under test module Correct
b. Programs which simulate the behaviors of software components that are the dependent modules of a under test module
c. Used to connect a software with a driver
d. None of the options
Feedback
The correct answer is: Programs which simulate the behaviors of software components that are the control modules of a under test module
14.Useful formalism to express concurrency and timing - this is true for which model?
Select one:
a. Petri Nets Correct
b. FSM
c. StateCharts
d. None
Feedback
The correct answer is: Petri Nets
15.Data Flow testing refers to forms of structural testing that focus on:
Select one:
a. The point at which variables receive values and the point at which these values are used (or referenced)
b. Serves as a “reality check” on path testing
c. All options Correct
d. An unifying structure of test coverage metrics
Feedback
The correct answer is: All options
16.One of the issues with flattened class could be the following:
Select one:
a. A flattened class will not be part of a final system, so no uncertainty remains
b. A flattened class will be part of a final system, so some redundancy of testing remains
c. A flattened class will not be part of a final system, so some uncertainty remains Correct
d. A flattened class will not be part of a final system, so no uncertainty remains
Feedback
The correct answer is: A flattened class will not be part of a final system, so some uncertainty remains
17.Destructors are executed when
Select one:
a. object of class is partially destroyed
b. object of class is destroyed
c. object of class is define to destroy
d. object of class is about to destroy Incorrect
Feedback
The correct answer is: object of class is destroyed
18.Different strategies used in state model to design test cases are
Select one:
a. Transition Testing, Coverage Testing Incorrect
b. State Testing, Code Testing
c. State Testing, Transition Testing, Path Testing
d. Code Testing, Path Testing
Feedback
The correct answer is: State Testing, Transition Testing, Path Testing
19.Characteristics of Path-based Integration
Select one:
a. Interfaces are behavioural
b. Interfaces are behavioural
c. None
d. Co-functioning, Interfaces are structural and interactions are behavioural Correct
Feedback
The correct answer is: Co-functioning, Interfaces are structural and interactions are behavioural
20.Fault categories include
Select one:
a. transmission error
b. new state error,fault state error,operation error,transfer error
c. operation error,transfer error,extra state error,missing state error Correct
d. operation error and transfer error
Feedback
The correct answer is: operation error,transfer error,extra state error,missing state error
21.Both drivers and Stubs will be used in which approach of integration?
Select one:
a. Big bang
b. Bottom-up Incorrect
c. Sandwich
d. Top-down
Feedback
The correct answer is: Sandwich
22.MM path testing is used is
Select one:
a. object oriented testing
b. model based testing
c.
state based testing
d.
System testing Incorrect
Feedback
The correct answer is: object oriented testing
23.Role of inheritance complicates the choice of classes as units, a technique followed to simplify the testing of these units
Select one:
a. Avoid using inheritance
b. flattening of classes
c. Minimize use of such inheritance Incorrect
d. relook at the design
Feedback
The correct answer is: flattening of classes
24.Flattening of classes is
Select one:
a. Required for testing subclasses
b. Creates classes that are a part of the final product
c. Involves merging methods of a sub-class Incorrect
d. Required to overcome the challenges posed by encapsulation concept of OO systems
Feedback
The correct answer is: Required for testing subclasses
25.Software Test Stubs are
Select one:
a. Programs which simulate the behaviors of software components that are the dependent modules of a under test module
b. Used to connect a software with a driver
c. Programs which simulate the behaviors of software components that are the control modules of a under test module Incorrect
d. None of the options
Feedback
The correct answer is: Programs which simulate the behaviors of software components that are the dependent modules of a under test module
26.Given an Extended FSM Diagram, one must test the following:
Select one:
a. All states in the EFSM
b. All paths in the EFSM
c. All states, transitions and paths in the EFSM Correct
d. All states and transitions in EFSM
Feedback
The correct answer is: All states, transitions and paths in the EFSM
27.Operation error in a fault model is:
Select one:
a. Output values are garbled
b. Error generated upon transition like incorrect output function
c. Corrupt input Incorrect
d. Incorrect input function
Feedback
The correct answer is: Error generated upon transition like incorrect output function
28.In Data Flow Testing, an Use is a statement that __________ a value of variable
Select one:
a. references
b. Manipulates
c. validates Incorrect
d. All options
Feedback
The correct answer is: references
29.Which View of class testing is used Abstract classes?
Select one:
a. Execution View
b. None
c. Static View Incorrect
d. Compile Time View
Feedback
The correct answer is: Execution View
30.What is the BEST definition of flattened class?
Select one:
a. A flattened class is an original class expanded to include all the attributes and operations it inherits Correct
b. A flattened class is an original class expanded to include all the attributes but not the operations it inherits
c. A flattened class is an original class expanded to include all the attributes of the class itself.
d. A flattened class is an original class expanded to include all the attributes and functions.
Feedback
The correct answer is: A flattened class is an original class expanded to include all the attributes and operations it inherits
No comments:
Post a Comment