CTFL_SYLL_4.0 · Question #134
A requirement specifies that a certain identifier (ID) must be between 5 and 10 characters long, must contain only alphanumenc characters, and its first character must be a letter As a tester, you…
The correct answer is A. 7. To apply one-dimensional equivalence partitioning to the ID requirement, we need to consider each condition individually: Length of the ID: Valid partitions (5-10 characters), Invalid partitions (less than 5, more than 10) = Type of characters: Valid partitions (alphanumeric)…
Question
A requirement specifies that a certain identifier (ID) must be between 5 and 10 characters long, must contain only alphanumenc characters, and its first character must be a letter As a tester, you want to apply one-dimensional equivalence partitioning to test this ID. This means that you have to apply equivalence partitioning individually: to the length of the ID, the type of characters contained within the ID, and the type of the first character of the ID. What is the number of partitions to cover?
Options
- A
- B
- C
- D
How the community answered
(33 responses)- A58% (19)
- B24% (8)
- C6% (2)
- D12% (4)
Explanation
To apply one-dimensional equivalence partitioning to the ID requirement, we need to consider each condition individually: Length of the ID: Valid partitions (5-10 characters), Invalid partitions (less than 5, more than 10) = Type of characters: Valid partitions (alphanumeric), Invalid partitions (non-alphanumeric) = 2 First character: Valid partitions (letter), Invalid partitions (non-letter) = 2 partitions. Adding these partitions, we get a total of 3 (length) + 2 (character type) + 2 (first character) = 7
Topics
Community Discussion
No community discussion yet for this question.