Software Engineering

Answer & solution
Official answer: C
The specification defines four input equivalence classes: a=0 regardless of discriminant, and, for a≠0, discriminant positive, zero or negative. T1 and T2 cover the first class. T3 and T4 both have zero discriminant. T5 has discriminant 16>0, and T6 has discriminant −15<0. A nonredundant representative set must choose one of {T1, T2}, one of {T3, T4}, and both T5 and T6. Among the supplied choices, only {T2, T4, T5, T6} does so, option C.
Compute discriminants b²-4ac only after recognizing the special a=0 class. T3 gives 4-4=0 and T4 gives 144-144=0, so they are redundant for this partition despite different numerical roots. T5 gives 4+12=16; T6 gives 1-16=-15. A repeats the a=0 class and omits positive discriminant. B and D repeat the zero-discriminant class and omit negative discriminant. C contains exactly one representative of each stated category.