Diagnosing Event Badge Printing Defects
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?
Submit a registration with a student ID containing leading zeros (e.g., ‘0142’) and an empty ‘Club Affiliation’ field.
Submit a registration with a student ID containing no leading zeros (e.g., ‘5421’) and an empty ‘Club Affiliation’ field.
Submit a registration with a student ID containing no leading zeros (e.g., ‘5421’) and a completed ‘Club Affiliation’ field.
Submit a registration where the student ID field is left completely blank and the ‘Club Affiliation’ field is completed.
Question Leaderboard
Not enough data yet to show leaderboard.
