ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 28 - STQB-Agile-Public discussion

Report
Export

Consider an online application that allows registered users to pay the annual car tax based on the vehicle's engine power in kW. Given the following user story:

''As a customer I need the online application to calculate the annual car tax amount that I need to pay for my car':

- If the power of the vehicle is less than 20 kW, then the annual car tax is free

- If the power of the vehicle is more or equal than 20 kW but less or equal than 150 kW, then the annual car tax is 250 Euros

- If the power of the vehicle is more than 150 kW, then the annual car tax is 750 Euros'

What is the MOST suitable use of a black-box test design technique for this user story?

SELECT ONE OPTION

A.
State transition testing. Test the transitions between the following states: logging In. inserting the power of the vehicle, making payment, logging out
Answers
A.
State transition testing. Test the transitions between the following states: logging In. inserting the power of the vehicle, making payment, logging out
B.
Use case testing. Test the following use case (Actor=registered user): Pre-condition=registered user logged in Scenario=registered user inserts the power of the vehicle, making payment and logs out Post-condition=car tax paid and registered user logged out
Answers
B.
Use case testing. Test the following use case (Actor=registered user): Pre-condition=registered user logged in Scenario=registered user inserts the power of the vehicle, making payment and logs out Post-condition=car tax paid and registered user logged out
C.
Decision table testing. Test the following conditions: Condltions=reglstered user logged In; inserted power of the vehlcle=20kW; Action=Car tax paid
Answers
C.
Decision table testing. Test the following conditions: Condltions=reglstered user logged In; inserted power of the vehlcle=20kW; Action=Car tax paid
D.
Equivalence partitioning. Test the annual car tax value for the following partitions: [power of the vehicle<20 kW; 20 kW ?power of the vehicle?! 50 kW; power of the vehicle>150 kW]
Answers
D.
Equivalence partitioning. Test the annual car tax value for the following partitions: [power of the vehicle<20 kW; 20 kW ?power of the vehicle?! 50 kW; power of the vehicle>150 kW]
Suggested answer: C
asked 18/09/2024
Sari Bukhari
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first