Reset mode and unloked state, what is the differece?
A13:Think that you brougnt a new lock which by default is in reset mode. In reset mode, you can’t lock the lock before you set the combination code. When you set combination code, you can lock / unlock the lock if you can provide correct combination. You can reset the lock if it is not in the reset mode, according to the spec. If you want make the lock more realistic, you can only allow reset to be called when the lock is in unlocked state. When you do the design, you need to know what are possible state of the lock. By combining reset mode and locked state you could have 4 states, in which (reset=true, locked=true) is not valid based on the spec. You should draw a picture with three vailid states as nodes, and link them with arrowed lines. On each line write down in which condition the state of a lock can change from one to another and what should be done to make the state change complet. The line can also run back from a state back to the state itself, e.g., error conditions. This is