nerdexam
iSQI

CTFL_SYLL_4.0 · Question #7

An alphanumeric password must be between 4 and 7 characters long and must contain at least one numeric character, one capital (uppercase) letter and one lowercase letter of the alphabet. Which one…

The correct answer is D. 1RhT;rSp53;3N3e10;8sBdby. The correct outcome of a two-value boundary value analysis applied to the password length is the set of test cases represented by option D. Boundary value analysis is a test design technique that focuses on the values at the boundaries of an equivalence partition, such as the…

Test Analysis and Design

Question

An alphanumeric password must be between 4 and 7 characters long and must contain at least one numeric character, one capital (uppercase) letter and one lowercase letter of the alphabet. Which one of the following sets of test cases represents the correct outcome of a two-value boundary value analysis applied to the password length? (Note: test cases are separated by a semicolon)

Options

  • A1xA;aB11;Pq1ZZab;7iDD0a1x
  • BaB11;99rSp:5NnN10;7iDD0a1x
  • C1xB: aB11: 99rSp: 5NnN10; 4NnN10T; 44ghWn19
  • D1RhT;rSp53;3N3e10;8sBdby

How the community answered

(19 responses)
  • A
    11% (2)
  • C
    5% (1)
  • D
    84% (16)

Explanation

The correct outcome of a two-value boundary value analysis applied to the password length is the set of test cases represented by option D. Boundary value analysis is a test design technique that focuses on the values at the boundaries of an equivalence partition, such as the minimum and maximum values, or the values just above and below the boundaries. A two-value boundary value analysis uses two values for each boundary, one representing the valid value and one representing the invalid value. For example, if the valid range of values is from 4 to 7, then the two values for the lower boundary are 3 and 4, and the two values for the upper boundary are 7 and 8. The test cases in option D use these values for the password length, while also satisfying the other requirements of the password, such as containing at least one numeric character, one capital letter, and one lowercase letter.

Topics

#boundary value analysis#two-value BVA#equivalence partitioning#password validation

Community Discussion

No community discussion yet for this question.

Full CTFL_SYLL_4.0 Practice