Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
04-Soft-A6, Software Quality Assurance — National Exams, May 2016 (3 hours, open book, 8 questions of equal value; the first FIVE as they appear in the answer book are marked — all eight are solved here as a study resource).
Given. The authentication subsystem's declared interface constraints (the specification, not the implementation): login length ∈ [6, 8] characters; password length ∈ [6, 8] characters AND must contain at least one lower-case letter, at least one upper-case letter, and at least one digit.
Find. A black-box test suite, derived purely from these stated constraints, that exercises every equivalence class and every length boundary for both the login and the password fields.
Approach. Apply equivalence partitioning to the length constraint (too-short / valid / too-long, for both fields) and to the password's three required character classes (missing lower-case / missing upper-case / missing digit), then apply boundary value analysis to the length limits (exactly 6, exactly 8, one below, one above).
Test case 1 — valid baseline (both fields valid, all password classes present). Login alice1 (6 chars), password Abc123 (6 chars, has lower/upper/digit).
login = "alice1", password = "Abc123"
Expected result: accepted — the reference case every other test case is compared against.
Test case 2 — login too short. Login equivalence class: length < 6.
login = "bob" (3 chars), password = "Xyz789"
Expected result: rejected — login shorter than the 6-character minimum.
Test case 3 — login too long. Login equivalence class: length > 8.