Topic List

Stubs on JUnit related Questions and Answers

Question 1 : ________________ 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
View Answer   Discuss with Members

Question 2 : ______________ 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
View Answer   Discuss with Members

Question 4 : ______________ 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
View Answer   Discuss with Members

Question 5 : ____________ 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
View Answer   Discuss with Members

Question 6 : ________________ 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
View Answer   Discuss with Members

Question 7 : _____________ 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
View Answer   Discuss with Members

Question 8 : 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
View Answer   Discuss with Members

Question 9 : ____________ 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
View Answer   Discuss with Members

Question 10 : A combination of function coverage and branch coverage is sometimes also called _______________
1. Function coverage
2. Statement coverage
3. Decision coverage
4. Condition coverage
View Answer   Discuss with Members


View 1 - 10 of 36 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter