Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

_______________ is a document that contains the steps that has to be executed.(a) Test Scenarios(b) Test Cases(c) Test Script(d) Latent defectI have been asked this question during a job interview.Question is from Stubbing an HTTP Connection topic in division Coarse-grained Testing with Stubs of JUnit

Answer»

The CORRECT choice is (B) Test Cases

Explanation: Test cases are used to test the MODULARITY in the CODE.

2.

___________ is an error condition hiding another error condition.(a) Masking(b) Fault Masking(c) Coverage measurement(d) Error ManagementI got this question by my college director while I was bunking the class.Query is from Stubs in division Coarse-grained Testing with Stubs of JUnit

Answer»

The CORRECT OPTION is (b) Fault MASKING

Explanation: Fault masking is a redundancy technique that completely masks FAULTS.

3.

_________________ is finding defects when the system under goes testing as a whole.(a) User Acceptance Testing(b) Unit Testing(c) Loss Testing(d) System TestingThe question was posed to me by my school teacher while I was bunking the class.Asked question is from Stubbing an HTTP Connection topic in portion Coarse-grained Testing with Stubs of JUnit

Answer»

Right ANSWER is (d) SYSTEM Testing

Explanation: In System testing, the entire system is subjected to tests to find faults.

4.

Mutation Testing follows the ____________ model.(a) RIP(b) KISS(c) RUN(d) GODThis question was addressed to me in an interview for internship.My question is based upon Jetty as an Embedded Server topic in division Coarse-grained Testing with Stubs of JUnit

Answer» RIGHT choice is (a) RIP

The explanation: RIP stands for reach, INFECT and PROPAGATE.
5.

PVC stands for _____________(a) Parameter Value Condition(b) Parameterised Values Check(c) Parameter Value Coverage(d) Path Value CheckThis question was posed to me during an online exam.Query is from Stubbing the Connection topic in division Coarse-grained Testing with Stubs of JUnit

Answer»

Right ANSWER is (c) Parameter Value Coverage

Easiest explanation: PVC is also known as parameter value coverage which tests CODE coverage for a parameter.

6.

____________ criterion requires that every point of entry and exit in the program has been invoked at least once.(a) Function coverage(b) Statement coverage(c) Decision coverage(d) Condition coverageI had been asked this question during a job interview.I'm obligated to ask this question of Stubbing the Connection topic in chapter Coarse-grained Testing with Stubs of JUnit

Answer»

Correct answer is (c) DECISION coverage

For explanation I would SAY: Decision coverage requires that EVERY decision in the program has taken on all POSSIBLE outcomes at LEAST once.

7.

_________________ is an existing defect in the system which does not cause any failure.(a) Latent defect(b) Redundancy(c) Failure(d) Exit CauseThis question was addressed to me during a job interview.This is a very interesting question from Jetty as an Embedded Server in section Coarse-grained Testing with Stubs of JUnit

Answer»

The CORRECT OPTION is (a) LATENT defect

To explain: Latent Defect does not cause any failure because the exact set of CONDITIONS has never been met.

8.

While testing a product designed to mark exams, a tester determines that all scores between 90 to 100 yields a grade of A, but scores below 90 will not. This analysis is known as:(a) Boundary Value Analysis(b) Equivalence Partitioning(c) Positive Analysis(d) Negative AnalysisI had been asked this question during an internship interview.I need to ask this question from Stubs in chapter Coarse-grained Testing with Stubs of JUnit

Answer» CORRECT CHOICE is (b) Equivalence PARTITIONING

Best explanation: The RANGE is broken down and each range is tested. Hence, it is equivalence partitioning.
9.

________________ is a measure used to describe the degree to which the source code of a program is executed when a particular test suite runs.(a) Code Conduct(b) Code Coverage(c) Mutation Coverage(d) Mutation RedundancyI had been asked this question in class test.The above asked question is from Stubbing a Web Server’s Resources in section Coarse-grained Testing with Stubs of JUnit

Answer» RIGHT option is (b) CODE COVERAGE

Explanation: Code coverage checks the PERCENTAGE of the source code that is executed during testing by test data.
10.

________________ are set of documents, tools and other components that has to be developed and maintained in support of testing.(a) Test Functions(b) Test Deliverables(c) Test Solutions(d) Test MechanismsThe question was posed to me during an online interview.My question comes from Jetty as an Embedded Server topic in chapter Coarse-grained Testing with Stubs of JUnit

Answer»

Correct OPTION is (b) Test Deliverables

Easiest EXPLANATION: Test Deliverables are artefacts which are given to the stakeholders of software PROJECT during the SDLC.

11.

Which Life Cycle model has lesser, more or different levels of development and testing, all depending on the project and the software product?(a) Waterfall(b) Spiral(c) V shaped(d) IterativeThis question was addressed to me in examination.My question is taken from Stubs in section Coarse-grained Testing with Stubs of JUnit

Answer» RIGHT choice is (c) V shaped

For EXPLANATION I would say: The v shaped MODEL may have component integration TESTING after component testing.
12.

UAT stands for ____________(a) Universal Access Testing(b) Unified Anchor Testing(c) User Access Testing(d) User Acceptance TestingI had been asked this question during an interview.My doubt stems from Stubbing an HTTP Connection topic in section Coarse-grained Testing with Stubs of JUnit

Answer»

Right option is (d) User Acceptance Testing

Best explanation: UAT is a specified TEST done for the users and HENCE, STANDS for user acceptance testing.

13.

STLC stands for ______________(a) Software Test Locale Code(b) Software Transfer Limited Code(c) Software Total Licence Control(d) Software Test Life CycleThe question was asked in semester exam.My enquiry is from Stubs in portion Coarse-grained Testing with Stubs of JUnit

Answer»

The correct ANSWER is (d) Software TEST LIFE Cycle

To explain I would SAY: The STLC or software test life cycle is the TOTAL life cycle of the testing phase of development.

14.

For a mutant to be killed, the test must __________ the mutated statement.(a) Overlook(b) Ignore(c) Limit(d) ReachI have been asked this question in quiz.My question is from Jetty as an Embedded Server topic in chapter Coarse-grained Testing with Stubs of JUnit

Answer»

The CORRECT CHOICE is (d) Reach

Easiest explanation: MUTANTS which cannot be reached cannot be affected by the test.

15.

During ___________ testing, code is not executed.(a) Unit(b) Dynamic(c) Static(d) EquivalenceI got this question in unit test.My query is from Stubs topic in chapter Coarse-grained Testing with Stubs of JUnit

Answer»

The correct ANSWER is (c) STATIC

Easiest EXPLANATION: Static TESTING does not require the CODE to be executed to test its components.

16.

_______________ is usually defined as a rule or requirement, which test suite needs to satisfy.(a) Code Conduct(b) Code Coverage(c) Coverage Criteria(d) Mutation RedundancyI got this question by my school teacher while I was bunking the class.Query is from Stubbing a Web Server’s Resources in chapter Coarse-grained Testing with Stubs of JUnit

Answer»

Right answer is (c) Coverage CRITERIA

For explanation I WOULD say: Coverage Criteria DEFINES the rules or criteria which the test SUITES need to PASS.

17.

______________ is a method of achieving complete branch coverage without achieving complete path coverage.(a) Basis Path Testing(b) Loss Testing(c) Universal Testing(d) Random TestingThe question was asked in an interview for job.My question comes from Stubbing the Connection topic in section Coarse-grained Testing with Stubs of JUnit

Answer»

The correct ANSWER is (a) Basis Path TESTING

Easy explanation: Basis path testing PROVIDES a technique of total BRANCH coverage WITHOUT having total path coverage.

18.

______________ applications are often required to show that testing achieves 100% of some form of code coverage.(a) Non safe(b) Safety Critical(c) Critical(d) LosslessThe question was posed to me at a job interview.I'm obligated to ask this question of Stubbing the Connection in chapter Coarse-grained Testing with Stubs of JUnit

Answer»

Correct CHOICE is (b) SAFETY Critical

The best I can explain: A safety critical application can result in SEVERE loss if not TESTED PROPERLY.

19.

Mutation score = _____________ / total number of mutants(a) Number of mutants killed(b) Number of mutants not killed(c) Total number of mutants(d) Total number of live mutantsI had been asked this question during an internship interview.My question is from Jetty as an Embedded Server topic in division Coarse-grained Testing with Stubs of JUnit

Answer»

Right choice is (a) Number of MUTANTS killed

To explain I WOULD say: The number of mutants killed or the number of DEAD mutants is used in calculating the mutation SCORE.

20.

To perform ____________ the code needs to be in executive form.(a) Dynamic Testing(b) Static Testing(c) Integration Testing(d) Documentation TestingI had been asked this question in my homework.Question is from Stubbing an HTTP Connection topic in chapter Coarse-grained Testing with Stubs of JUnit

Answer»

Correct choice is (a) Dynamic Testing

For EXPLANATION I would SAY: Dynamic testing TESTS the dynamic parts of the CODE and NEEDS the code in executive form.

21.

Which is likely to benefit most from the use of test tools providing test capture and replay facilities?(a) Regression testing(b) Integration testing(c) System testing(d) User acceptance testingThis question was posed to me during a job interview.My question is taken from Stubs in division Coarse-grained Testing with Stubs of JUnit

Answer»

Correct choice is (a) REGRESSION testing

For EXPLANATION: Regression testing benefits HEAVILY from the usage of tools PROVIDING test CAPTURE and replay features.

22.

A combination of function coverage and branch coverage is sometimes also called _______________(a) Function coverage(b) Statement coverage(c) Decision coverage(d) Condition coverageThis question was addressed to me in an interview for job.My query is from Stubbing the Connection in portion Coarse-grained Testing with Stubs of JUnit

Answer»

The CORRECT choice is (c) Decision coverage

Easy explanation: In decision coverage, both ASPECTS of function coverage and BRANCH is USED to COMPLETE code coverage.

23.

System testing is also known as ____________(a) User Acceptance Testing(b) Regression Testing(c) End to End Testing(d) Lossless TestingI have been asked this question in homework.I need to ask this question from Stubbing an HTTP Connection in chapter Coarse-grained Testing with Stubs of JUnit

Answer»

Right answer is (C) End to End Testing

To explain: In end to end or SYSTEM testing, the APPLICATION undergoes testing from BEGINNING TILL the end.

24.

Weak mutation is closely related to ____________ methods.(a) Code Conduct(b) Code Coverage(c) Mutation Coverage(d) Mutation RedundancyThis question was posed to me by my college director while I was bunking the class.I need to ask this question from Stubbing a Web Server’s Resources in portion Coarse-grained Testing with Stubs of JUnit

Answer»

Correct option is (b) Code Coverage

Easiest EXPLANATION: WEAK mutation CHECKS for only two steps, searching for faults similar to those FOUND by Code coverage methods.

25.

______________ is a process of evaluating software at development phase.(a) Validation(b) Verification(c) Design Check(d) Design EvaluationThis question was posed to me in my homework.My doubt is from Stubbing an HTTP Connection topic in section Coarse-grained Testing with Stubs of JUnit

Answer»

The CORRECT OPTION is (b) VERIFICATION

Easiest explanation: Verification is a way of CHECKING “are we building the PRODUCT right?”.

26.

_____________ is based on the project plan, but with greater amounts of detail.(a) Phase Test Plan(b) Review Plan(c) Review Document(d) Phase DesignThis question was posed to me by my college director while I was bunking the class.My doubt stems from Stubs in portion Coarse-grained Testing with Stubs of JUnit

Answer»

The correct answer is (a) PHASE Test Plan

To explain: The phase test plan is BASED on the PROJECT plan which has a LOT more detail than normal.

27.

_____________ criterion extends the decision criteria with specifications that each condition has to affect the decision outcome independently.(a) Redundant Condition/decision coverage(b) Transferred Condition/decision coverage(c) Modified Condition/decision coverage(d) Lossless Condition/decision coverageThe question was posed to me during an internship interview.Origin of the question is Stubbing the Connection in portion Coarse-grained Testing with Stubs of JUnit

Answer» RIGHT CHOICE is (c) Modified Condition/decision COVERAGE

For explanation: Modified Condition/Decision coverage extends UPON condition/decision coverage and is USED for safety-critical applications.
28.

The ____________ hypothesis states that most software faults are due to small syntactic errors.(a) Coupling effect(b) Competent programmer(c) Higher-order mutation(d) Equivalent mutationThe question was posed to me during an interview.My question is taken from Jetty as an Embedded Server topic in chapter Coarse-grained Testing with Stubs of JUnit

Answer»

The CORRECT option is (b) Competent programmer

The best I can EXPLAIN: ANSWER: The competent programmer hypothesis is one of the BASIS of mutation testing.

29.

______________ is a technique to identify whether a set of test data is useful by intentionally introducing various code changes (bugs).(a) Unit Testing(b) Stress Testing(c) Load Testing(d) Mutation TestingThis question was posed to me during a job interview.This intriguing question comes from Jetty as an Embedded Server topic in chapter Coarse-grained Testing with Stubs of JUnit

Answer»

Correct OPTION is (d) Mutation Testing

Easiest EXPLANATION: Mutation testing involves retesting with ORIGINAL TEST data to determine if the bugs are detected.

30.

The incorrect program state must __________ to the program’s output and be checked by the test.(a) Reach’(b) Infect(c) Propagate(d) LimitI have been asked this question at a job interview.This intriguing question originated from Jetty as an Embedded Server topic in portion Coarse-grained Testing with Stubs of JUnit

Answer» RIGHT answer is (C) Propagate

For explanation I WOULD SAY: The TEST data for the mutant must be noticed in the output.
31.

Input data from the test must __________ the program state by causing different program states for the mutant and the original program.(a) Reach(b) Infect(c) Kill(d) DestroyThis question was addressed to me in an online quiz.My enquiry is from Jetty as an Embedded Server topic in portion Coarse-grained Testing with Stubs of JUnit

Answer»

Correct answer is (B) Infect

Easiest explanation: INFECTING is the same as executing the mutant code by such test data that different STATES are PRODUCED.

32.

__________________ involves running a product through a series of specifictestswhich determine whether the product meets the needs of its users.(a) User Acceptance Testing(b) Unit Testing(c) Loss Testing(d) System TestingThis question was posed to me by my school teacher while I was bunking the class.I'm obligated to ask this question of Stubbing an HTTP Connection topic in portion Coarse-grained Testing with Stubs of JUnit

Answer»

The CORRECT answer is (a) User Acceptance Testing

The BEST I can EXPLAIN: UAT or User Acceptance Testing is done with the users in mind and hence, determine whether the product MEETS the NEEDS of its users.

33.

____________ is the process of checking whether the software meets the customer requirements as well as evaluating it after the development process.(a) Validation(b) Verification(c) Design Check(d) Design EvaluationThis question was addressed to me in a job interview.My query is from Stubbing an HTTP Connection in section Coarse-grained Testing with Stubs of JUnit

Answer»

Right option is (a) VALIDATION

For EXPLANATION I would say: Validation is a way of CHECKING “are we building the right product?”.

34.

________________ criterion requires that inside each decision, all combinations of conditions are tested.(a) Redundant Condition/decision coverage(b) Multiple condition coverage(c) Modified Condition/decision coverage(d) Lossless Condition/decision coverageI had been asked this question during an interview for a job.The query is from Stubbing the Connection in division Coarse-grained Testing with Stubs of JUnit

Answer» CORRECT choice is (B) Multiple condition COVERAGE

Explanation: Multiple condition coverage checks for every condition possible and each DECISION is TESTED.
35.

______________ requires that only the first and second conditions of the RIP model are satisfied.(a) Weak mutation testing(b) Strong mutation testing(c) Weak test data(d) Strong test dataThis question was addressed to me in an international level competition.I need to ask this question from Stubbing a Web Server’s Resources topic in portion Coarse-grained Testing with Stubs of JUnit

Answer»

The CORRECT answer is (a) Weak mutation testing

The BEST I can EXPLAIN: Weak mutation testing is SATISFIED if only the reach and INSPECT stages of the RIP model is met.

36.

Mutation testing is a form of ______________(a) Black Box Testing(b) Redundancy(c) White Box Testing(d) Loss TestingThe question was posed to me in an online interview.This interesting question is from Jetty as an Embedded Server topic in portion Coarse-grained Testing with Stubs of JUnit

Answer» RIGHT choice is (C) White Box Testing

The best I can explain: In mutation testing, the internals of the code NEED to be KNOWN.
37.

____________ requires that in a method taking parameters, all the common values for such parameters be considered.(a) Redundant Condition/decision coverage(b) Multiple condition coverage(c) Modified Condition/decision coverage(d) Parameter Value CoverageI have been asked this question at a job interview.I would like to ask this question from Stubbing the Connection topic in division Coarse-grained Testing with Stubs of JUnit

Answer»

Right option is (d) PARAMETER Value Coverage

Best EXPLANATION: The idea in Parameter Value Coverage is that all common possible values for a parameter are TESTED.

38.

______________ is a partial measure of test thoroughness.(a) Boundary value testing(b) Equivalence Partitioning(c) DRE(d) Coverage measurementI had been asked this question in an interview for internship.My question is from Stubs topic in chapter Coarse-grained Testing with Stubs of JUnit

Answer» CORRECT option is (d) Coverage MEASUREMENT

Easiest EXPLANATION: Coverage measurement checks the quality of TEST thoroughness.
39.

_________________ is prepared before the actual testing starts.(a) Test Scenarios(b) Test Cases(c) Test Script(d) Latent defectI got this question in an online interview.My question comes from Stubbing an HTTP Connection in chapter Coarse-grained Testing with Stubs of JUnit

Answer»

The correct OPTION is (a) Test SCENARIOS

The explanation: Test Scenarios includes plans for testing PRODUCT, NUMBER of team members and environmental condition.