Question 51
MediumWhat are exit criteria in testing?
- A.
The office closing time
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
IT Fundamentals
What are exit criteria in testing?
The office closing time
The last test case in the list
Conditions that must be met to finish a test phase, such as all critical tests passed and no open high-severity defects
Rules for leaving the team
Sign up free to see the answer and a step-by-step explanation.
What is the pesticide paradox in testing?
Bugs are caused by insects
Running the same tests repeatedly stops finding new defects, so tests must be reviewed and updated
More testers always find more bugs
Automated tests never fail
Sign up free to see the answer and a step-by-step explanation.
What does the principle of defect clustering say?
Defects are spread evenly
Most defects are usually found in a small number of modules
Defects only occur in the UI
Defects disappear with time
Sign up free to see the answer and a step-by-step explanation.
Why is exhaustive testing usually impossible?
The number of possible inputs and paths is far too large to test them all
Testers are not allowed to
Computers cannot run tests
Requirements forbid it
Sign up free to see the answer and a step-by-step explanation.
A program's control-flow graph has 9 edges and 7 nodes and is one connected component. What is its cyclomatic complexity?
2
3
16
4
Sign up free to see the answer and a step-by-step explanation.
A function has two independent if statements in sequence (no else parts, no loops). What is its cyclomatic complexity?
1
2
3
4
Sign up free to see the answer and a step-by-step explanation.
Code: if (a > 0) { x = 1; } y = 2; One test runs with a = 5. What coverage does it achieve?
100% statement and 100% branch
50% statement and 50% branch
100% statement and 50% branch
50% statement and 100% branch
Sign up free to see the answer and a step-by-step explanation.
Code: if (A) {…} else {…} followed by if (B) {…}. What is the minimum number of tests for 100% branch coverage?
1
2
3
4
Sign up free to see the answer and a step-by-step explanation.
Testing found 30 defects in a 15 KLOC module. What is its defect density?
2 per KLOC
0.5 per KLOC
15 per KLOC
45 per KLOC
Sign up free to see the answer and a step-by-step explanation.
The team found 90 defects before release and users found 10 more after release. What is the defect removal efficiency?
10%
80%
100%
90%
Sign up free to see the answer and a step-by-step explanation.