nerdexam
ISTQB

ISTQB-CTFL · Question #46

A software calculates the annual car tax using three inputs: - E; the emission level of the vehicle - P: the power of the vehicle - T the type of the vehicle The input value for P can be integer…

The correct answer is B. 14,15,350,351. A correct list of boundary values for the P input should include the minimum and maximum values of the valid range (15 and 350), as well as the values just below and above the boundaries (14 and 351). Boundary value analysis is a test design technique that involves testing the…

Test Techniques

Question

A software calculates the annual car tax using three inputs:

  • E; the emission level of the vehicle
  • P: the power of the vehicle
  • T the type of the vehicle

The input value for P can be integer positive values between 15 and 350. Which of the following answers contains a correct list of a boundary values for the P input?

Options

  • A14,351
  • B14,15,350,351
  • C15,350
  • D5.175.500

How the community answered

(25 responses)
  • A
    4% (1)
  • B
    76% (19)
  • C
    8% (2)
  • D
    12% (3)

Explanation

A correct list of boundary values for the P input should include the minimum and maximum values of the valid range (15 and 350), as well as the values just below and above the boundaries (14 and 351). Boundary value analysis is a test design technique that involves testing the values at or near the boundaries of an input domain or output range, as these values are more likely to cause errors than values in the middle. Option B satisfies this condition, as it has all four boundary values (14, 15, 350, 351). Option A has only two boundary values (14 and 351), option C has only two boundary values (15 and 350), and option D has no boundary values at all.

Topics

#boundary value analysis#input partitioning#test data selection

Community Discussion

No community discussion yet for this question.

Full ISTQB-CTFL Practice