ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 229 - CTFL4 discussion

Report
Export

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?

A.
7.
Answers
A.
7.
B.
6.
Answers
B.
6.
C.
5.
Answers
C.
5.
D.
3.
Answers
D.
3.
Suggested answer: A

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) = 3 partitions.

Type of characters: Valid partitions (alphanumeric), Invalid partitions (non-alphanumeric) = 2 partitions.

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 partitions. Thus, the correct answer is A.

asked 18/09/2024
Opeyemi Alabi
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first