Answer
Constructing a finite-state machine for the log-on procedure
for a computer,
Work Step by Step
Designing A finite-state machine for the log-on procedure
for a computer where the user logs on by entering a user
identification number,
--which is considered to be a single input,
--and then a password,
--which is considered to be a single input.
If the password is incorrect, the user is asked
for the user identification number again.
state diagram will be