very company having customers maintains customer accounts and supports a complete life cycle of the account from its creation until it is closed. There are differences in what are the stages (states) in the account's life cycle, and what are conditions or events causing account to change its state. For the user account to be created, it has to meet some initial requirements. For example, user id (used as a login name) must be unique, at least for the existing accounts. After account was created, it might need to be verified. Verification depends on the company and could include e-mail, phone, and/or address verification. If account was not verified during some predefined period of time, that account could be moved to the suspended accounts. New, active, or suspended accounts could be cancelled at any time by client's request. Note, the precondition for this usually includes payment of any outstanding balances, and might require some separate account state or substate to handle this case. User account might be suspended for security reasons, manually or automatically. For example, website intrusion detection system locks user account for predefined period of time, if there were several unsuccessful login attempts using incorrect account password. After account lock times out, account is activated back automatically. Please Draw a state machine diagram based on the above information.

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter7: File Handling And Applications
Section: Chapter Questions
Problem 6PE
icon
Related questions
Question

Every company having customers maintains customer accounts and supports a complete life
cycle of the account from its creation until it is closed. There are differences in what are the
stages (states) in the account's life cycle, and what are conditions or events causing account to
change its state.
For the user account to be created, it has to meet some initial requirements. For example, user
id (used as a login name) must be unique, at least for the existing accounts. After account was
created, it might need to be verified. Verification depends on the company and could include
e-mail, phone, and/or address verification. If account was not verified during some predefined
period of time, that account could be moved to the suspended accounts. New, active, or
suspended accounts could be cancelled at any time by client's request. Note, the precondition
for this usually includes payment of any outstanding balances, and might require some
separate account state or substate to handle this case.
User account might be suspended for security reasons, manually or automatically. For
example, website intrusion detection system locks user account for predefined period of time,
if there were several unsuccessful login attempts using incorrect account password. After
account lock times out, account is activated back automatically.


Please Draw a state machine diagram based on the above information.

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Requirement Analysis
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage