Choosing how to earn college credit? CLEP vs AP guide
| preferred AP College board partner for AP classes
medium

Diagnosing Event Badge Printing Defects

Mark
< Prev
Next >

A software developer is testing a badge printing procedure for a student symposium. During preliminary testing, several printed badges displayed the placeholder text ‘Guest’ instead of the student’s registered full name.

The developer identifies two plausible explanations for this defect:

Explanation 1: The database query treats the student ID field as a mathematical integer rather than a text string, dropping leading zeros (e.g., converting ‘0842’ to 842) and causing a lookup failure that triggers the default placeholder.

Explanation 2: The procedure erroneously triggers the default placeholder whenever the non-mandatory ‘Club Affiliation’ profile field is left blank, regardless of student ID formatting.

Which of the following single test cases would definitively determine which explanation is responsible for the defect?

A

Submit a registration with a student ID containing leading zeros (e.g., ‘0142’) and an empty ‘Club Affiliation’ field.

B

Submit a registration with a student ID containing no leading zeros (e.g., ‘5421’) and an empty ‘Club Affiliation’ field.

C

Submit a registration with a student ID containing no leading zeros (e.g., ‘5421’) and a completed ‘Club Affiliation’ field.

D

Submit a registration where the student ID field is left completely blank and the ‘Club Affiliation’ field is completed.

Did You Know?
Explain Why
Explain All Answers
Check Answer
Show Correct Answer
Report Question

Question Leaderboard

Not enough data yet to show leaderboard.

No comments yet. Be the first to comment!

AI Tutor

How can I help?

APFIVE © 2020.
Email: apfive@apfive.org|Instagram: @_apfive_|Privacy Policy|