172k views
3 votes
A speed control and reporting system has the following characteristics:

- If you drive 50 km/h or less, nothing will happen.
- If you drive faster than 50 km/h, but no more than 55 km/h, you will be warned
- If you drive faster than 55 km/h but not more than 60 km/h, you will be fined
- If you drive faster than 60 km/h, your driving license will be suspended.• The speed in km/h is available to the system as an integer value.
Which would be the most likely set of values (km/h) identified by applying the boundary value analysis, where only the values on the boundaries of the equivalence classes are selected?
A. 0, 49, 50, 54, 59, 60
B. 50, 55, 60
C. 49, 50, 54, 55, 60, 62
D. 50, 51, 55, 56, 60, 61

User Yoric
by
7.2k points

1 Answer

5 votes

Final answer:

The correct set of boundary values for a speed control system would be 49, 50, 54, 55, 60, 61 km/h, which are the values just before, at, and just after each of the equivalence class boundaries.

Step-by-step explanation:

The most likely set of values identified by applying the boundary value analysis to a speed control and reporting system would be on the boundaries of the equivalence classes defined by the system. In this case, the rules are:

  • No action if driving at 50 km/h or less.
  • Warning if driving faster than 50 km/h but no more than 55 km/h.
  • Fine if driving faster than 55 km/h but not more than 60 km/h.
  • License suspension if driving faster than 60 km/h.

Therefore, applying boundary value analysis, the chosen values would be the ones right before, at, and right after each boundary. The correct set of boundary values is:

  • 49 km/h (just before the first boundary)
  • 50 km/h (at the first boundary)
  • 54 km/h (just before the second boundary)
  • 55 km/h (at the second boundary)
  • 60 km/h (at the third boundary)
  • 61 km/h (just after the third boundary)

The correct answer is C. 49, 50, 54, 55, 60, 61 km/h.

User Shondeslitch
by
7.6k points