Question
Which is not Fault categories in these?
Select one:
a. Extra State Error
b. Logical Error
c. Transfer Error
d. Missing State Error
The correct answer is: Logical Error
Question
Adding Variables and Conditions to FSM is called
Select one:
a. None
b. FSM++
c. Advanced FSM
d. Extended FSM
The correct answer is: Extended FSM
Question
Characteristics of Path-based Integration
Select one:
a. Interfaces are behavioral
b. Interfaces are behavioral
c. None
d. Co-functioning, Interfaces are structural and interactions are behavioral
The correct answer is: Co-functioning, Interfaces are structural and interactions are behavioral
Question
Which one of the followings is a Call Graph-Based Integration
Select one:
a. Neighbourhood and Closed-users
b. All of the above
c. Pairwise and Neighbourhood
d. Pairwise and Closed-Users
The correct answer is: Pairwise and Neighbourhood
Question
Path based integration testing is also called as
Select one:
a. Hybrid integration testing
b. Pairwise integration testing
c. Neighbourhood integration testing
d. Sandwich integration testing
The correct answer is:Hybrid integration testing
Question
MM path testing is used is
Select one:
a. model based testing
b. object oriented testing
c. state based testing
d. System testing
The correct answer is:object oriented testing
Question
What are the Integration testing appraoch classified under Call Graph-Based Integration:
Select one:
a. Neighbourhood, Sandwich
b. Pair-Wise, Top-down
c. Bottom-up,Neighbourhood
d. Pair-Wise, Neighbourhood
The correct answer is:Pair-Wise, Neighbourhood
Question
In Data Flow Testing, an Use is a statement that __________ a value of variable
Select one:
a. All options
b. validates
c. references
d. Manipulates
The correct answer is:references
Question
Which of the following is black-box oriented and can be accomplished by applying the same black-box methods discussed for conventional software?
Select one:
a. Test case design
b. Both Conventional testing and OO system validation testing
c. OO system validation testing
d. Conventional testing
The correct answer is:Both Conventional testing and OO system validation testing
Question
Which of the testing processes is the process of verifying the interaction between software components?
Select one:
a. Integration Testing
b. System Testing
c. Object-Oriented Testing
d. Unit Testing
The correct answer is:Integration Testing
Question
In an Object Oriented System, if A derives from B and B derives from C, then which one of the following is incorrect with respect to OO testing?
Select one:
a. To test A, create a class by flattening technique (merge methods and attributes of A, B and C)
b. Cannot directly test A- need to flatten it because it is a sub-class
c. To test C, create a class by flattening technique (merge methods and attributes of A, B and C)
d. To test B, create a class by flattening technique (merge methods and attributes of B and C)
The correct answer is:To test C, create a class by flattening technique (merge methods and attributes of A, B and C)
Question
A usage node USE(v, n) is a predicate use (denoted as P-use)
Select one:
a. iff the statement n is an output statement
b. iff the statement n is a predicate statement
c. iff the statement n is procedure call
d. iff the statement n is an input statement
The correct answer is:iff the statement n is a predicate statement
Question
Issue with class flattening is
Select one:
a. Uncertainty-flattened class is not part of final system
b. meaning of system will change
c. None of the options
d. create irrelevant class
The correct answer is:Uncertainty-flattened class is not part of final system
Question
Integration testing is
Select one:
a. process of verifying interaction between software components
b. ALL
c. process of testing interfaces
d. process of verifying interaction between different programs
The correct answer is:process of verifying interaction between software components
Question
operation error in fault model is tested by
Select one:
a. Extra state testing
b. Missing state testing
c. Incorrect state transition
d. Error generated upon transition
The correct answer is:Error generated upon transition
Question
Which is NOT a higher level of testing?
Select one:
a. System Testing
b. Unit Testing
c. Integration Testing
d. Sub-System Testing
The correct answer is:Unit Testing
Question
Class flattening is
Select one:
a. Association of attributes and operation of a class
b. Removing unnecessary attributes and operations from class
c. A composition of various classes together
d. Original class expanded to include all the attributes and operation it inherits
The correct answer is: Original class expanded to include all the attributes and operation it inherits
Question
which statement is not True in case of Neighbourhood?
Select one:
a. Interior nodes = nodes - (source nodes + sink nodes)
b. Neighbourhoods = nodes - sink nodes
c. Neighbourhoods = sink nodes + nodes
d. Neibhourhoods = interior nodes + source nodes
The correct answer is:Neighbourhoods = sink nodes + nodes
Question
class flattening is used to test following object oriented feature
Select one:
a. constructor
b. template
c. polymorphism
d. inheritance
The correct answer is:inheritance
Question
Which View of class testing is used for Inheritance?
Select one:
a. Compile Time View
b. None
c. Execution View
d. Static View
The correct answer is:Compile Time View
Question
Call Graph (CG) based approach is
Select one:
a. Both Pair-wise and Neighborhood integration
b. Neither Pair-wise integration nor Neighborhood integration
c. Only Pair-wise integration
d. Only Neighborhood integration
The correct answer is: Both Pair-wise and Neighborhood integration
Question
In Top-Down integration testing, which one of the followings that you may need to develop?
Select one:
a. Drivers
b. Connectors
c. Interfaces
d. Stubs
The correct answer is:Stubs
Question
Data Flow Testing is best where _____________________ is high.
Select one:
a. Complexity requirement
b. Usability
c. Reliability requirement
d. Computation
The correct answer is:Reliability requirement
Question
One of the issues with flattened class could be the following:
Select one:
a. A flattened class will be part of a final system, so some redundancy of testing remains
b. A flattened class will not be part of a final system, so no uncertainty remains
c. A flattened class will not be part of a final system, so some uncertainty remains
d. A flattened class will not be part of a final system, so no uncertainty remains
The correct answer is:A flattened class will not be part of a final system, so some uncertainty remains
Question
When will the working version of the system be ready in case Sandwich approach?
Select one:
a. None
b. Early
c. Never
d. Late
The correct answer is:Early
Question
Number of Integration Cycles/Sessions in Integration Testing is:
Select one:
a. Session = nodes + leaves + edges
b. Session = nodes – leaves + edge
c. Session = nodes + leaves – edges
d. Session = nodes – leaves – edges
The correct answer is:Session = nodes – leaves + edge
Question
Big Bang integration approach:
Select one:
a. Suffers with problem of fault isolation
b. None of the option
c. Requires creation of a large number of stubs and drivers
d. Number of integration testing sessions is 2
The correct answer is:Suffers with problem of fault isolation.
Question
System of systems is
Select one:
a. A set of component systems
b. A collection of cooperating systems
c. All of the above options
d. A collection of autonomous systems
The correct answer is: A collection of cooperating systems
Question
Select the odd man out
Select one:
a. Sandwich
b. Pair-Wise
c. Top-down
d. Bottom-up
The correct answer is: Pair-Wise
Question
Sandwich integration strategies
Select one:
a. use equal number of stubs and drivers
b. use less stubs and more drivers
c. use more stubs and less drivers
d. use both stubs and drivers
The correct answer is: use both stubs and drivers
Question
Parallel Testing is highly used in which Integration approach?
Select one:
a. Sandwich
b. Big Bang
c. Bottom-up
d. Top-down
The correct answer is: Big Bang
Question
Which of the following determines state diagram?
Select one:
a. The UML notation for specifying finite automata is the state diagram
b. None of the mentioned
c. All of the mentioned
d. In state diagrams, states are represented by rounded rectangles
The correct answer is: All of the mentioned
Question
Data Flow testing refers to forms of structural testing that focus on:
Select one:
a. All options
b. An unifying structure of test coverage metrics
c. Serves as a “reality check” on path testing
d. The point at which variables receive values and the point at which these values are used (or referenced)
The correct answer is: All options
Question
if (v>0) then print (v) represents:
Select one:
a. USE of v
b. C-use of v
c. Define of v
d. P-use of v
The correct answer is: P-use of v
Question
In Bottom-Up integration testing, which one of the followings that you may need to develop?
Select one:
a. Interfaces
b. Stubs
c. Drivers
d. Connectors
The correct answer is: Drivers
Question
What is the main problem with static view of a class while treating class as a unit?
Select one:
a. Methods of the class are ignored
b. Functions of the class are ignored
c. Inheritances are ignored
d. Data of the class are ignored
The correct answer is: Inheritances are ignored
Question
In data flow testing, objective is to find
Select one:
a. All du-paths
b. All dc-paths that are not du-paths
c. All du-paths that are not dc-paths
d. All dc-paths
The correct answer is: All du-paths
Question
Data Flow Testing refer to
Select one:
a. Point at which the variable receive values and the point at which it is used
b. Understanding how Data changes to Result
c. None of the options
d. Inputting Data
The correct answer is: Point at which the variable receive values and the point at which it is used
Question
Different strategies used in state model to design test cases are
Select one:
a. State Testing, Transition Testing, Path Testing
b. Transition Testing, Coverage Testing
c. Code Testing, Path Testing
d. State Testing, Code Testing
The correct answer is: State Testing, Transition Testing, Path Testing
Question
Which of the testing methods is NOT part of decomposition based integration testing?
Select one:
a. Circular
b. Bottom-Up
c. Top-Down
d. Sandwich
The correct answer is: Circular
Question
A rich extention of FSM
Select one:
a. None
b. Path testing
c. Petri nets
d. State Charts
The correct answer is: State Charts
Question
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 some uncertainty remains
b. A flattened class will not be part of a final system, so no uncertainty remains
c. A flattened class will be part of a final system, so some redundancy of testing remains
d. A flattened class will not be part of a final system, so no uncertainty remains
The correct answer is: A flattened class will not be part of a final system, so some uncertainty remains
Question
Which one is not a State amongst these?
Select one:
a. Name
b. Colour
c. Barking
d. Age
The correct answer is: Barking
Question
A usage node USE(v, n) is a computation use (denoted as C-use)
Select one:
a. iff the statement n is an input/output statement
b. None of the options
c. iff the statement n is a predicate statement
d. iff the statement n is a Computation statement
The correct answer is: iff the statement n is a Computation statement
Question
Software Test Stubs are
Select one:
a. Used to connect a software with a driver
b. None of the options
c. Programs which simulate the behaviors of software components that are the control modules of a under test module
d. Programs which simulate the behaviors of software components that are the dependent modules of a under test module
The correct answer is: Programs which simulate the behaviors of software components that are the dependent modules of a under test module
Question
A Module Execution Path (MEP) is
Select one:
a. None of the options
b. A sequence of statements that begins with a ‘Source Node’ and ends with a ‘Sink Node’, with no intervening sink nodes
c. A sequence of statements that begins with a ‘Sink Node’ and ends with a ‘Source Node’, with no intervening sink nodes
d. A sequence of statements that begins with a couple of ‘Source Nodes’ and ends with a couple of ‘Sink Nodes’, with no intervening sink nodes
The correct answer is: A sequence of statements that begins with a ‘Source Node’ and ends with a ‘Sink Node’, with no intervening sink nodes
Question
Operation error in a fault model is:
Select one:
a. Corrupt input
b. input function
c. Output values are garbled
d. Error generated upon transition like output function
The correct answer is: Error generated upon transition like output function
Question
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 functions.
b. A flattened class is an original class expanded to include all the attributes and 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 but not the operations it inherits
The correct answer is: A flattened class is an original class expanded to include all the attributes and operations it inherits
Question
Which are not Issues with Flattening in Inheritence
Select one:
a. Uncertainity
b. flattened class is not part of final system
c. flattened class is part of the final system
d. Similar issue as insrumented code
The correct answer is: flattened class is part of the final system
Question
Transfer error in a fault model is:
Select one:
a. Incorrect state transition
b. None of the option
c. Specification-based testing technique
d. transition to next state
The correct answer is: Incorrect state transition
Question
Testing criteria of state machine are
Select one:
a. state coverage,transition coverage and path coverage
b. All the options are correct
c. path coverage
d. state coverage only
The correct answer is: state coverage,transition coverage and path coverage
Question
Data Flow testing helps to resolve the define/reference anomalies:
Select one:
a. A variable that is used but never defined
b. All options
c. A variable that is defined twice before it is used
d. A variable that is defined but never used (referenced)
The correct answer is: All options
Question
Fault categories include
Select one:
a. new state error,fault state error,operation error,transfer error
b. operation error and transfer error
c. transmission error
d. operation error,transfer error,extra state error,missing state error
The correct answer is: operation error,transfer error,extra state error,missing state error
Question
Which of the following is true?
Select one:
a. Transitions may be spontaneous, but usually some event triggers them
b. A transition is a change from one state to another
c. All of the mentioned
d. An event is a noteworthy occurrence at a particular time; events have no duration
The correct answer is: All of the mentioned
Question
Software Test Drivers are
Select one:
a. None of the options
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. Programs which simulate the behaviors of software components that are the control modules of a under test module
The correct answer is: Programs which simulate the behaviors of software components that are the control modules of a under test module
Question
Issues with Flattening of classes leads to
Select one:
a. None
b. problems like any instrumented code
c. poor testing
d. uncertainity as it is not part of the final system
The correct answer is: uncertainity as it is not part of the final system
Question
Which of the following is a part of testing OO code?
Select one:
a. Integration tests
b. System tests
c. Validation tests
d. Class tests
The correct answer is: Class tests
Question
Which one of the following statements best reflects realistic expectations from introducing MBT into the software development life cycle?
Select one:
a. Since reuse of a system design model is possible in MBT, after small investment, the usage of MBT in a development process is almost for free.
b. Adding an MBT tool without change in the existing organization and/or test process is an effective approach.
c. MBT users do not need to understand test design techniques because test generation with MBT is fully automated.
d. Carefully introducing changes to the whole test process when introducing MBT, including test team training, helps to obtain measurable progress.
The correct answer is: Carefully introducing changes to the whole test process when introducing MBT, including test team training, helps to obtain measurable progress.
Question
Useful formalism to express concurrency and timing - this is true for which model?
Select one:
a. StateCharts
b. Petri Nets
c. FSM
d. None
The correct answer is: Petri Nets
Question
Flattening of classes is
Select one:
a. Required for testing subclasses
b. Required to overcome the challenges posed by encapsulation concept of OO systems
c. Involves merging methods of a sub-class
d. Creates classes that are a part of the final product
The correct answer is: Required for testing subclasses
Question
The statement v=x+n+2; a definition of v
Select one:
a. None
b. is a computation use of v
c. is a definition of v
d. is a output statement of v
The correct answer is: is a definition of v
Question
In a Definition – Use pair (du pair)
Select one:
a. There should be a control path from d to u along which the variable is not modified
b. All of the options
c. There should be a Definition statement to define a variable (d)
d. There should be a Use statement where the variable is used (u)
The correct answer is: All of the options
Question
What are the Integration testing appraoch classified under Decomposition based:
Select one:
a. Top-down, Pair-Wise, Bottom-up
b. Sandwich, Neighbourhood, Top-down
c. Top-down, Bottom-up, Sandwich, Big-bang
d. Pair-wise, Neighbourhood
The correct answer is: Top-down, Bottom-up, Sandwich, Big-bang
Question
which of following describes system behaviour
Select one:
a. Control flow graph
b. Data Flow graph
c. Path in the flow graphs
d. Finite state machine
The correct answer is: Finite state machine
Question
When will be the interface erros will get detected in case Biga Bang appraoch?
Select one:
a. Never
b. Early
c. None
d. Late
The correct answer is: Late
Question
i=0;if (i<10) { x= i+1; print(x);} How many DU pairs are there for i ?
Select one:
a. 4
b. 1
c. 3
d. 2
The correct answer is: 2
Question
Which one is not an Executable Model?
Select one:
a. Finite State Machines
b. Petri Nets
c. StateCharts
d. Basis Paths
The correct answer is: Basis Paths
Question
One of the issues with flattened class could be the following:
Select one:
a. A flattened class will be part of a final system, so some redundancy of testing remains
b. A flattened class will not be part of a final system, so no uncertainty remains
c. A flattened class will not be part of a final system, so some uncertainty remains
d. A flattened class will not be part of a final system, so no uncertainty remains
The correct answer is: A flattened class will not be part of a final system, so some uncertainty remains
Question
Testing polymorphism
Select one:
a. is to develop test cases for client that exercise all client bindings to polymorphic calls.
b. is to develop test cases for base and derived classes.
c. is to develop test cases using class flattening
d. is to develop test cases for all possible classes and objects Incorrect
The correct answer is: is to develop test cases for client that exercise all client bindings to polymorphic calls.
Question
i=i+1 represents:
Select one:
a. DEF (i, n)
b. C-USE (i, n)
c. USE (i, n)
d. P-USE (i, n)
The correct answer is: DEF (i, n)