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?

Câu 327 illustration 1

Các đáp án

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

Đáp án đúng

C: Add, Add, Add, Remove, Remove

Câu hỏi khác trong đề thi này