Which test case is needed to complete the test set and achieve minimum class coverage?

Supercar.

Supercar is an online vehicle sales website specializing in a single manufacturer’s Sports Utility Vehicles (SUVs) and saloons A vehicle has two key elements, power unit and body style The manufacturer offers three choices of power unit: petrol, electric and hybrid There are 3 main body styles Saloon, Hatchback and SUV. SUVs are available only as petrol and electric options. Hybrid is available for Hatchback only. The website will allow an order to be processed if the chosen vehicle configuration is in stock, otherwise a message will be displayed asking the user to Cry again later.

Based on the specification, the following classification tree has been developed:

Which test case is needed to complete the test set and achieve minimum class coverage?
A . Power Unit: Hybrid Body Style: Saloon
B . Power Unit: Electric Body Style: Hatchback
C . Power Unit: Petrol Body Style: Saloon
D . Power Unit Hybrid Body Style: Hatchback

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments