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?

Questão 327 illustration 1

Opções de Resposta

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

Resposta Correta

C: Add, Add, Add, Remove, Remove

Mais Questões desta Prova