0% found this document useful (0 votes)
98 views

Lab Tasks: Task # 1

Task 1 is to draw a state diagram for a landline telephone. Task 2 is to draw a state diagram for a battery charger that has two states: plugged in (with three substates of idle, charging, and fully charged) and unplugged. Task 3 is to draw a state diagram for a customer account for a customer service application, which can be in states of open, closed, suspended, or delinquent and has service requests of purchase, payment, or status change that depend on the current state.

Uploaded by

mexiwe
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
98 views

Lab Tasks: Task # 1

Task 1 is to draw a state diagram for a landline telephone. Task 2 is to draw a state diagram for a battery charger that has two states: plugged in (with three substates of idle, charging, and fully charged) and unplugged. Task 3 is to draw a state diagram for a customer account for a customer service application, which can be in states of open, closed, suspended, or delinquent and has service requests of purchase, payment, or status change that depend on the current state.

Uploaded by

mexiwe
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

LAB TASKS

TASK # 1
Draw the state diagram for landline telephone.

TASK # 2
Draw the state diagram for Battery Charger. The Battery Charger can either be in two states:

 Plugged In (Super state that includes three sub states -> IDLE, CHARGING and
FULLYCHARGED).
 Unplugged

TASK # 3
Draw the state diagram for Customer Account. The requirements are given below:

A “customer care” application is used by Customer Service Representatives (CSRs) who talk to
customers over the telephone. A given call consists of a conversation between a CSR and a contact
person representing a customer account, creating “service requests”, such as: purchase goods on
credit, receive payment, and “change account status” requests to open, close, suspend, or resume
an account.

Purchases may only be made on open accounts. An account cannot be closed if there is money
owed. A suspended account may have service resumed only if there is no money owed. The only
valid service request for a closed account is resumed.

An account will automatically get suspended if money is owed and none has been received for 3
months, in which case a collection letter will also be sent. More collection letters will be sent if no
money has been received after 4 & 5 months; after 6 months, the account becomes delinquent, and
may never be reopened, but of course the customer can pay his or her debt to close the account;
furthermore, the primary contact for a delinquent account may never again open an account.

You might also like