exam questions

Exam CTFL v4.0 All Questions

View all questions & answers for the CTFL v4.0 exam

Exam CTFL v4.0 topic 1 question 102 discussion

Actual exam question from ISTQB's CTFL v4.0
Question #: 102
Topic #: 1
[All CTFL v4.0 Questions]

Consider a program that computes the factorial of a number (n). From the specifications you know that:

• If n < 0, a message "Value out of range" must be issued
• If 0 ≤ n ≤ 100, the program calculates the factorial and returns the number
• If 100 ≤ n ≤ 200 message "Value out of range" must be issued

Which of the following statements about the equivalence partitions is CORRECT?

  • A. There are 3 partitions - one for negative numbers, one for numbers up to 100 and the last one for numbers up to 200
  • B. The requirements are not correct because the partitions are overlapping
  • C. The equivalence partitions cannot be determined for this question because the error message for two partitions is exactly same
  • D. The equivalence partitions cannot be determined for this question because factorial of numbers close to 200 will be very large
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
8114d04
6 days, 17 hours ago
Selected Answer: B
The requirements overlap at n = 100
upvoted 1 times
...
keith_09
2 months, 4 weeks ago
Selected Answer: B
The partition overlap for condition 2 and 3 shouldn’t the answer be The partitions overlap
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago