Using the state diagram (based on the ''Route Calculation''), how many test cases are needed to achieve 1-switch coverage?
[K3] 3 credits
For an ATM banking project introduced earlier, ''When the user first inserts a valid credit card type, the system considers the user to be in an unauthenticated state. When requesting a cash advance, the user must be in an authenticated state. The user authenticates by entering the proper PIN code. When authenticating the user, the system shall allow the user to enter their PIN code up to three times before failing the authentication and rejecting the card. On the first and second try, the system shall prompt the user to re-enter the PIN code.''
Suppose you are concerned that, depending on the exact number of invalid PIN codes entered, the system might behave improperly. Which of the following test design techniques is specifically targeted at such failures?
[K4] 3 credits
For a tax system the earnings 4.000 are tax free, the following 1.500 are charged at 10%, the following 28.000 at 20% and the remainder above 40%. All values are rounded to 1.
What test case could result from a boundary value analysis?
[K3] 2 credits
A temperature unit holds the temperature between 10 degrees Celcius and --10 degrees Celcius. If the temperature drops below --10 or rises above 10 then an alarm rings. Boundary Value Analysis tests are drawn up using the approach of two test cases per boundary. The temperatures to be tested are:
[K3] 2 credits
Consider the following decision table,
How many cases are left when this decision table is collapsed?
[K3] 3 credits