Functional Unit tests don’t test a complete ____________ as expected by pure functional tests.
1.Workflow
2.Object
3.Class
4.Functions
In black box testing, all that is needed to know in order to test the system properly is the system’s ________
1. Functional specification
2.Modularity
3.Redundancy
4.Class definition
In logic unit test, the boundaries of a given test can be controlled by using _____
1.Objects
2. Mock objects
3.Controllers
4.Modules
In order to measure test coverage, Cobertura creates __________ of class files specified.
1.Instrumented copies
2.Objects
3.Mocks
4. Images
Program slicing can be used in _______ to locate source of errors more easily.
1.Testing
2.Coding
3. Debugging
4.Checking
The ___________ parameter specifies the minimum acceptable branch coverage rate needed by each package during Cobetura coverage checking.
1.datafile
2.packagebranch
3.line
4.regex
The ___________ parameter specifies the minimum acceptable line coverage rate needed by each class during Cobetura coverage checking.
1.datafile
2. branch
3. line
4.regex
To use cobertura, we need to include ____
1.cobertura.jar
2.junit.jar
3.hamcrest.jar
4. junitCobertura.jar
A combination of function coverage and branch coverage is sometimes also called ______
1.Function coverage
2.Statement coverage
3.Decision coverage
4.Condition coverage
A profiler can look for _________ in an application.
1.Bottlenecks
2.Redundancies
3.Nodes
4.States
A _____is a test that focuses on the interaction between components in their real environment.
1. Logic unit test
2. Integration unit test
3.Functional unit test
4.Acceptance unit test
A ______ is a test that extends the boundaries of integration unit testing to confirm a stimulus response.
1.Logic unit test
2.Integration unit test
3. Functional unit test
4.Acceptance unit test
A ___________ is a test that exercises code by focusing on a single method.
1.Logic unit test
2. Integration unit test
3. Functional unit test
4.Acceptance unit test
An effective method for locating errors in small programs is to ___________ the incorrect results through the logic of the program until the point where the logic went astray is found.
1. Search
2. Backtrack
3.Slice
4.Eliminate
“cobertura-check.bat” is run ________ the JUnit tests to show which classes do not have adequate test coverage.
1.Before
2.After
3.Along with
4.Before and after
Black box tests can bring more ________ than white box tests.
1.Value
2.Coverage
3.Mechanism
4.Acceptance unit test
Cobertura is based on _______
1.JUnit
2. XUnit
3.Maven
4. Jcoverage
Code that accesses a database has tests that effectively _________ the database.
1. Ignore
2.Delete
3.Call
4.Define
For the following code if (a or b) and c then The condition/decision criteria will be satisfied by:
1.a=true, b=true, c=true and a=false, b=false, c=false
2. a=false, b=true, c=true
3.a=true, b=false, c=true
4. a=true, b=true, c=false
For the following function, int example (int x, int y) { int z = 0; if ((x>0) && (y>0)) { z = x; } return z; } Which function call ensures condition coverage for this function?
1.example(1,1)
2.example(0,1)
3.example(1,1) and example(0,1)
4.example(1,0) and example(0,1)
Higher test coverage is achieved by white box tests because of ____
1.Access to more methods
2.Better documentation
3.Faster tests
4.More accepted tests
In a narrower sense, LCSAJ is also called ______
1.JJ-Path
2.Code Coverage
3.System Code Analysis
4.Code Breakdown
LCSAJ stands for ________
1.Loading Code standard as Jumps
2.Linear code sequence and jump
3.Loading code sequence and jump
4.Linear coverage sequence and jump
PVC stands for ______
1.Parameter Value Condition
2. Parameterised Values Check
3.Parameter Value Coverage
4.Path Value Check
The Cobertura command to run while checking coverage is ______
1.cobertura-report.bat
2. cobertura-instrument.bat
3.cobertura-check.bat
4.cobertura-merge.bat
The Cobertura command to run while reporting is _____
1.cobertura-report.bat
2. cobertura-instrument.bat
3.cobertura-check.bat
4.cobertura-merge.bat
The default value for the –datafile parameter is _____
1.cobertura.ser
2.cobertura.dat
3. datafile.ser
4.cobertura.log
The default value of the format parameter is _______
1.html
2.jar
3.java
4.dat
The JJ in JJ-path stands for ______
1.Just Jump
2. Jump-in-JUnit
3.Java-JUnit
4. Jump-to-Jump
The point at which the program slice affects the values at some point of interest is ______
1.Slicing criterion
2. Program criterion
3.Sliced Parts criterion
4. Information flow control
The source code directories are used to calculate the ____________ of each class.
1.Data size
2.Lines of code
3.Cyclomatic code complexity
4.Mutant score
The ______ parameter is used to specify the type of report.
1.datafile
2.basedir
3.encoding
4.format
The __________ test relies exclusively on the external system interface to verify its correctness.
1. White Box
2.Unit
3.Black Box
4. Lossless Condition/decision coverage
The ___________ parameter specifies the minimum acceptable branch coverage rate needed by each class during Cobetura coverage checking.
1. datafile
2. branch
3.line
4. regex
Using _____ testing, tests can be created that cover the public API of an application.
1.White Box
2. Unit
3.Black Box
4.Loss Testing
While using Cobertura from the command line, which parameter specifies the base directory?
1.−−datafile
2.−−destination
3.−−ignore
4.−−basedir
White box testing provides better test _________ than black box testing.
1.Result
2. Coverage
3.Mechanism
4. Acceptance
White box unit tests can be written against ____________ package-private, and public methods.
1.Static
2. Private
3.Protected
4.void
_____ criterion extends the decision criteria with specifications that each condition has to affect the decision outcome independently.
1.Redundant Condition/decision coverage
2.Transferred Condition/decision coverage
3.Modified Condition/decision coverage
4. Lossless Condition/decision coverage
_____ is a free Java tool that calculates the percentage of code accessed by tests.
1.Cobertura
2. JUnit
3. XUnit
4.Maven
_____ parameter specifies the encoding used to read the source.
1.datafile
2.basedir
3.encoding
4.format
_____ specifies the output directory for the instrumented classes.
1.−−datafile
2.−−destination
3. −−ignore
4. −−basedir
_____ tests are a superset of all other tests.
1.Unit
2. Integration
3. Loss
4.Acceptance
______ criteria checks whether each state in a finite-state machine been reached and explored.
1.Path coverage
2.Loop coverage
3.Entry/exit coverage
4. State coverage
______ criterion requires that every point of entry and exit in the program has been invoked at least once.
1.Function coverage
2.Statement coverage
3.Decision coverage
4.Condition coverage
______ involves the use of induction or deduction and introduces the concept of binary partitioning.
1.Brute force debugging
2.Backtracking
3.Cause elimination
4.Program slicing
______ is a software analysis method used to identify structural units in code under test.
1.Linear code sequence and jump
2.State coverage
3.Lossless packs
4.Linear jumps
______ is used to add extra classes and jar files to Cobertura.
1. −−datafile
2. −−destination
3.−−ignore
4.−−auxClasspath
______ specifies a regular expression to filter out certain lines of the source code.
1. −−datafile
2. −−destination
3. −−ignore
4.−−basedir
______ tests are more difficult to write and run.
1.White Box
2.Unit
3. Black Box
4. Lossless Condition/decision coverage
_______ are put in scope because they’re often useful as part of the battery of tests run in development.
1.Logic unit test
2. Integration unit test
3.Functional unit tes
4.Acceptance unit test
_______ is a method of achieving complete branch coverage without achieving complete path coverage.
1.Basis Path Testing
2.Loss Testing
3.Universal Testing
4.Random Testing
_______ is the most common and least efficient debugging technique.
1.Brute force debugging
2.Backtracking
3.Cause elimination
4.Program slicing
_______ is used to specify the name of the file to use for storing the metadata about the classes.
1.−−datafile
2.−−destination
3. −−ignore
4. −−basedir
_______ more dependent on an external environment than pure unit tests are.
1. Logic unit test
2. Integration unit test
3.Functional unit test
4.Acceptance unit test
_______ requires that in a method taking parameters, all the common values for such parameters be considered.
1.Redundant Condition/decision coverage
2.Multiple condition coverage
3. Modified Condition/decision coverage
4.Parameter Value Coverage
________ applications are often required to show that testing achieves 100% of some form of code coverage.
1.Non safe
2. Safety Critical
3.Critical
4. Lossless Condition/decision coverage
________ tests can control both the inputs to each method and the behaviour of secondary objects.
1. White Box
2. Unit
3.Black Box
4.Loss
_________ criterion requires that inside each decision, all combinations of conditions are tested.
1.Redundant Condition/decision coverage
2.Multiple condition coverage
3.Modified Condition/decision coverage
4.Lossless Condition/decision coverage
__________ is the computation of the set of programs statements.
1.Brute force debugging
2.Backtracking
3.Backtracking
4.Program slicing