The first usecase login performs the following operation
a)We first enter the user name and password.
b)If the given username matches with the password then we login
c)Else we re-enter the username and password.
The second usecase is customer name,that performs the following operation
a)We enter the name
b)If the name is found,we display the name
c)else we display as that name not found.
The third usecase is search details,that performs the following operation
a)We first give the known details
b)Search the result in the data base.If it is found, we display the name along with the number.
c)Else we re-enter the details again.
The fourth usecase is telephone directory,it performs the following operations
a)Enter the telephone number
b)If the given number is mobile then display the name with address.
c)If the given number is a landline then name and address is displayed along the code.
d)The number is displayed along with address and code.
The next use case is customer address,it performs the following operation.
a)Enter the place of residence
b)If the place is found,then type the number.
c)If the number is found,then type the number.
d)Or otherwise re-enter the place.
The final use case is yellow pages,it performs the following operation.
a)The details available are important numbers.
b)It includes emergency, hospital and schools.
c)The emergency might be a police station or fire service.
CONCLUSION: Thus, an activity diagram for a telephone directory was drawn and the output was verified successfully.