Which of the following statements is/are FALSE with respect to software…

2017

Which of the following statements is/are FALSE with respect to software testing ?

S1 : White-box tests are based on specifications; better at telling whether program meets specification, better at finding errors of ommission.

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.

  1. A.

    Only S1 and S2 are FALSE.

  2. B.

    Only S1 and S3 are FALSE.

  3. C.

    Only S2 and S3 are FALSE.

  4. D.

    All of S1, S2, and S3 are FALSE.

Attempted by 49 students.

Show answer & explanation

Correct answer: A

S1:

White-box tests are based on specifications; better at telling whether program meets specification, better at finding errors of omission.

FALSE

  • White-box testing is based on internal code structure, not specifications.

  • It is good for:

    • Checking logic paths

    • Finding hidden code errors

  • Errors of omission (missing functionality) are better detected by black-box testing, not white-box testing.

S2:

Black-box tests are based on code; better for finding crashes, out of bounds errors, file not closed errors.

FALSE

  • Black-box testing is based on specifications and external behavior, not code.

  • Errors like:

    • Out-of-bounds access

    • File not closed

    • Memory leaks
      are typically detected using white-box testing, debugging, or dynamic analysis tools.

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.

TRUE

  • Alpha testing:

    • Is done at the developer’s site

    • Usually by developers or internal testers

    • Before beta testing

Explore the full course: Mppsc Assistant Professor