Question 71
HardWhat is a flaky test?
- A.
A test that always fails
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
IT Fundamentals
What is a flaky test?
A test that always fails
A test with no assertions
A test of the login page
A test that sometimes passes and sometimes fails without any change in the code
Sign up free to see the answer and a step-by-step explanation.
What does the test pyramid recommend?
Mostly UI tests and few unit tests
Only manual tests
Many fast unit tests, fewer integration tests and only a few end-to-end UI tests
Equal numbers of every type
Sign up free to see the answer and a step-by-step explanation.
What does shift-left testing mean?
Testing only on the left side of the screen
Testing after release
Starting testing activities earlier in the development life cycle
Moving testers to another team
Sign up free to see the answer and a step-by-step explanation.
A load test reports a 95th-percentile response time of 800 ms. What does this mean?
The average response time was 800 ms
95% of requests took 800 ms or less
95 requests took 800 ms
Every request took 800 ms
Sign up free to see the answer and a step-by-step explanation.
A server handled 12,000 requests in 4 minutes. What was its average throughput?
50 requests per second
30 requests per second
3,000 requests per second
200 requests per second
Sign up free to see the answer and a step-by-step explanation.
A system handles 50 requests per second with an average response time of 2 seconds. By Little's law, about how many requests are in the system at once?
25
50
52
100
Sign up free to see the answer and a step-by-step explanation.
For if (A && B), the tests (A = true, B = false) and (A = false, B = true) are run. What do they achieve?
100% decision coverage but 50% condition coverage
100% of both
0% of both
100% condition coverage but 50% decision coverage
Sign up free to see the answer and a step-by-step explanation.
Which defect is the best example of high severity but low priority?
The logo is misspelt on the home page
Checkout fails for every customer
The app crashes when an admin runs a yearly archive report that has an easy workaround
A help page has a typo
Sign up free to see the answer and a step-by-step explanation.
A password must be 8 to 16 characters long. With two-value boundary value analysis on the length, how many values are tested?
2
4
6
9
Sign up free to see the answer and a step-by-step explanation.
40 mutants are created and the test suite kills 32 of them. What is the mutation score?
80%
32%
75%
8%
Sign up free to see the answer and a step-by-step explanation.