Question 61
HardA user name must have 5 to 20 characters. Which values does three-value boundary value analysis test?
- A.
5, 20
- B.
0, 5, 20, 25
- C.
1, 10, 20
- D.
4, 5, 6, 19, 20, 21
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
IT Fundamentals
A user name must have 5 to 20 characters. Which values does three-value boundary value analysis test?
5, 20
0, 5, 20, 25
1, 10, 20
4, 5, 6, 19, 20, 21
Sign up free to see the answer and a step-by-step explanation.
Discount rules: below ₹1,000 no discount, ₹1,000–4,999 gives 5%, ₹5,000 and above gives 10%. Negative amounts are invalid. How many valid equivalence classes are there?
2
4
3
5
Sign up free to see the answer and a step-by-step explanation.
A full decision table has 3 independent true/false conditions. How many rules (columns) does it have?
3
8
6
9
Sign up free to see the answer and a step-by-step explanation.
A form has 3 fields, each with 3 possible values. How many tests are needed to test every combination exhaustively?
27
6
9
81
Sign up free to see the answer and a step-by-step explanation.
200 test cases are planned: 170 pass, 20 fail and 10 are blocked and not run. What is the pass rate of the executed tests?
About 89.5%
85%
90%
95%
Sign up free to see the answer and a step-by-step explanation.
A system ran for 1,000 hours and failed 4 times. What is its mean time between failures (MTBF)?
4 hours
996 hours
4,000 hours
250 hours
Sign up free to see the answer and a step-by-step explanation.
After a small bug fix, there is no time to run the full regression suite. How should the tests to run be chosen?
Randomly
Only the tests that passed last time
By impact analysis: the fixed area and the features that depend on it, plus critical paths
Only UI tests
Sign up free to see the answer and a step-by-step explanation.
Testers found 85 defects and customers later found 15 more. What is the defect leakage?
17.6%
15%
85%
100%
Sign up free to see the answer and a step-by-step explanation.
Which of these is NOT a black-box test design technique?
Equivalence partitioning
Statement coverage
Boundary value analysis
Decision table testing
Sign up free to see the answer and a step-by-step explanation.
In unit testing, how does a mock usually differ from a stub?
A mock also checks how it was called (the interactions); a stub only returns fixed answers
A stub checks interactions; a mock returns nothing
They are always identical
Mocks are only used in production
Sign up free to see the answer and a step-by-step explanation.