Boundary value analysis · Question 41 of 60

The requirement is "free shipping if the order value is at least €50" (whole euros). The code wrongly checks "order value = 50". Which values reveal the defect?

1 answer is correct. Hard Created with AI

Show answer

Answer

  • A 51

Explanation

At 49 and 50 the faulty code behaves correctly (no free shipping and free shipping respectively). Only 51, the inner neighbour from the 3-value variant, shows that free shipping is missing.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications