Consider the following statements:
S1: White-box tests are based on specifications; better at telling whether program meets specification, better at finding errors of omission.
S2: Black-box tests are based on code; better for finding crashes, out of bounds errors, file not closed errors.
S3: Alpha testing is conducted at the developer's site by a team of highly skilled testers for software that is developed as a product to be used by many customers.
Which of the following is correct?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. Only S1 and S2 are FALSE.
Explanation
The answer is Only S1 and S2 are FALSE. The two definitions have been swapped: white-box (structural) testing is based on the code and is good at exposing crashes, out-of-bounds accesses and unreleased resources, while black-box (functional) testing is based on the specification and is better at revealing errors of omission, i.e. required behaviour that was never implemented. S3 is true, because alpha testing is by definition carried out at the developer's own site, typically by an in-house test team, before the product goes out for beta testing at customer sites. Since exactly S1 and S2 are false, option (1) is correct.More System Software and Operating System questions
- Consider the method mcq(): int mcq(boolean a, boolean b, boolean c, boolean d) { int ans = 1; if (a) { ans = 2; } else if (b) { ans = 3; }…
- What is the normal order of activities in which traditional software testing is organised? 1. Integration Testing 2. System Testing 3. Unit…
- Which of the following testing techniques ensures that the software product runs correctly after the changes during maintenance?
- Which of the following statement(s) is/are TRUE with regard to software testing? I. Regression testing technique ensures that the software…
- For a program of k variables, boundary value analysis yields ______ test cases.
- The cyclomatic complexity of a flow graph V(G), in terms of predicate nodes, is: [where P is the number of predicate nodes in the flow grap…