State transition testing · Question 54 of 60

A smart bike lock has the states Locked, Unlocked and Alarm. Valid are: correct code (Locked→Unlocked), close (Unlocked→Locked), shake (Locked→Alarm) and correct code (Alarm→Unlocked). How many invalid transitions does the state table show?

1 answer is correct. Hard Created with AI

Show answer

Answer

  • B 5

Explanation

Three states times three events (correct code, close, shake) give 9 cells; 4 are valid, leaving 5 invalid ones.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications