The answer will be C.) 3, 10, 22. Equivalence partitioning is used to derive test cases which are identified so that each class’ members will cause the same processing and have the same output. Boundary values are the values at the start and the end that will be analyzed also known as Boundary Value Analysis.
For this question, you should choose values in the equivalence class that are valid and invalid. For the first class, 3 is invalid as it is lower than 10. Then 10 is in the second class where the values 10 to 21 is valid. Lastly, 22 is in the third class where it is higher than 21 and invalid. They fall on the equivalence thus this is the answer.
3 is less than 10, so it falls into the first partition.
10 is between 10 and 21, so it falls into the second partition.
22 is greater than or equal to 22 so it falls into the third partition.