A vehicle-hire service accepts a request exactly when its integer driver age is from 21 through 75 years and its integer rental duration is from 3 through 18 days, with both ranges inclusive. No other inputs or restrictions apply.
For each field, select the integer immediately below, at, and immediately above each limit. Use 40 years and 10 days as the valid reference values.
Suite A contains the reference request, every selected age paired with the reference duration, and every selected duration paired with the reference age. Suite B contains every combination formed from the selected ages plus the reference age and the selected durations plus the reference duration. Remove duplicate requests within each suite.
Find the number of requests in Suite A, the number in Suite B, and the number in Suite B for which both fields are invalid. Give each answer as a whole-number count, to zero decimal places.
Unlock full course notes by signing up
Counting overlapping boundary selections
A configuration service accepts an integer timeout from 30 through 32 seconds, inclusive. You select the integer immediately below, at, and immediately above each of the two limits. Each test submits one timeout value. How many distinct test cases remain after duplicate inputs are removed? Answer as a whole-number count, to zero decimal places.
Interpreting passing representative tests
A rewards service accepts integer point transfers from 0 through 500, inclusive, and rejects every other integer. A tester submits -7, 100, and 700 points. All three responses match the specification. Select every conclusion supported by these test results.
Expected results from a fee decision table
A food-delivery app's specification sets the delivery fee as follows. For an order total of $30.00 or more, loyalty members pay $0 and non-members pay $2. For an order total under $30.00, members pay $3 and non-members pay $5. Choosing express delivery adds $4 to the fee that would otherwise apply. Using only this specification, enter the expected delivery fee, in whole dollars, for each black-box test case in the table.
Counting state transition tests for a door lock
A keypad door controller has three states: Locked, Unlocked and Alarmed. It reacts to five events: correct PIN, wrong PIN, lock button, timeout and reset. The specification defines exactly these transitions:
Locked + correct PIN goes to Unlocked.
Locked + wrong PIN goes to Alarmed.