ITPEC IP April 2023 Question 48

Mr. A, a participant in system testing, has no access to the internal structure of the system or software and prepares input data and output data for common transactions in the department for purpose of verification. Which of the following is the testing technique that Mr. A is going to implement?

Explanation

Black-box testing — Mr. A checks inputs against expected outputs without seeing the internal structure.

Black-box testing treats the system as a box whose inside is hidden: test cases come from the specifications and the business, here input data and expected output data for the department's common transactions, and the actual output is compared with what should appear. It is the usual technique in system and acceptance testing by users.

Answer (c)

Why not others:

  • •(a) Inspection — a formal review meeting, led by a moderator, that reads design documents or code to find defects; nothing is executed
  • •(b) Walk-through — a review in which the author walks colleagues through a document or program to find errors; also a desk review, not a test with data
  • •(d) White-box testing — designs test cases from the internal logic (branches, paths) to cover it, which needs exactly the internal knowledge Mr. A lacks

Key rule: Black-box tests derive from the specification and check external behaviour; white-box tests derive from the code and check coverage of its logic.

System Development Technology · AI-written, may contain errors

This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official IP past-paper collection or Report an issue.