A storage system can store up to three elements and is modeled by the following state transition diagram. The variable N represents the number of currently stored elements. Which of the following test cases, represented as sequences of events, achieves the highest level of valid transitions coverage?

Frage 327 illustration 1

Antwortmöglichkeiten

A.Add, Remove, Add, Add, Add
B.Add, Add, Add, Add, Remove, Remove
C.Add, Add, Add, Remove, Remove
D.Add, Add, Add, Remove, Add

Richtige Antwort

C: Add, Add, Add, Remove, Remove

Weitere Fragen aus dieser Prüfung