1. If the pseudo code below were a programming language ,how many tests are required to achieve 100% statement coverage?
1.if x=3 then
3. if y=2 then
But I want to know why 3 test cases to cover 100% Statement coverage. Anyone please explain.
2. Explain Coverage measurement a. is nothing to do with testing b. is a partial measure of test thoroughness c. branch coverage should be mandatory for all software d. can only be applied at unit or module testing, not at system testing
b. is a partial measure of test thoroughness
4. Explain What is the important criterion in deciding what testing technique to use? a. how well you know a particular technique b. the objective of the test c. how appropriate the technique is for testing the application d. whether there is a tool to support the technique
b. the objective of the test
Testing practice for projects using agile methodologies, treating development as the customer of testing and emphasizing a test-first design paradigm.
Testing conducted to enable a user/customer to determine whether to accept a software product. Normally performed to validate the software meets a set of agreed acceptance criteria.
A testing phase where the tester tries to 'break' the system by randomly trying the system's functionality. Can include negative testing as well.
8. Explain When should you stop testing? a. when time for testing has run out. b. when all planned tests have been run c. when the test completion criteria have been met d. when no faults have been found by the tests run
c. when the test completion criteria have been met
b. equivalence partitioning
10. Explain Which is not true-The black box tester a. should be able to understand a functional specification or requirements document b. should be able to understand the source code. c. is highly motivated to find faults d. is creative to find the system?s weaknesses
b. should be able to understand the source code.