Lab Manual

Only available on StudyMode
  • Topic: Unified Modeling Language, Use case diagram, Use case
  • Pages : 12 (2195 words )
  • Download(s) : 132
  • Published : March 4, 2013
Open Document
Text Preview
INDEX

S.NO

LIST OF EXPERIMENT

1

PAYROLL PROCESSING

2

ONLINE SHOPPING

3

ONLINE VOTING SYSTEM

4

BANKING SYSTEM

CONTENT BEYOND SYLLABUS

5

AIRLINE RESERVATION SYSTEM

6

LIBRARY MANAGEMENT SYSTEM

7

HOTEL MANAGEMENT SYSTEM

THEORY OF CASE TOOLS DEFINITIONS: UML (UNIFIED MODELING LANGUAGE):

Unified Modeling Language is a standard language which is used to develop the object oriented software and software development process. UML DIAGRAMS ARE: USE CASE DIAGRAM SEQUENCE DIAGRAM CLASS DIAGRAM USE CASE DIAGRAM: A Use case is a set of scenario that describes an interaction between user and a system. A Use case diagram displays the relationship among Actors and Use cases. The two main components of Use case diagrams are: 1. Use cases Functions 2. Actors-User

SEQUENCE DIAGRAM: It describes the behavior of a system by viewing the interaction between the system and its environment. Sequence diagram has two dimensions: 1. Vertical dimension represents the life time. 2. Horizontal dimension represents the object. CLASS DIAGRAM: It represents the class name, attributes and list of methods which are going to use the software development process.

1. PAYROLL PROCESSING AIM: To implement the Payroll Processing using Rational Software.

1. ALGORITHM FOR USECASE DIAGRAM: Step 1: Identify the Actors and Use cases. In this system, the actors and use case are: Actors : Employee, Administrator, System and Database. Use cases : Employee details, Validity check, Payroll processing, View and Print the salary details. Step 2: Build the relationship between actors and use cases. The Use case diagram for the payroll processing is given in Fig (1).

Employee Details

Validity Check

Administrator System

Payroll Processing

Employee View and Print the Salary Details

Database

Fig (1). Use case Diagram for payroll Processing

2. ALGORITHM FOR SEQUENCE DIAGRAM:

Step 1: Identify the objects. In this system, the objects are: Employee, administrator, Systems and Database. Step 2: Identify the sequence of events. Step 3: Enter the employee ID. Step 4: Perform the computations. Step 6: Save the details in database. Step 7: Send the details to the system. Step 8: View and print the salary details. The sequence diagram for the payroll processing is given in Fig (2).

Employee

Administrato r

System

Database

Payroll Processing

1: Provide ID 2: Enter ID

3: Validation check

4: Provide deatils

5: Procssing

6: Send details 7: Give details 8: View details

Fig 2. Sequence Diagram for Payroll Processing

3. ALGORITHM FOR CLASS DIAGRAM: Step 1: Create class diagram for each identified objects under sequence diagram. Identified objects are: User, System and Database. Step 2: Class diagram for each object is divided into three parts. Top Portion represents the Class Name. Middle Portion represents the Attributes. Bottom Portion represents the Methods. The Class diagram for the Payroll Processing is shown in Fig (3).

Fig (3) Class diagram for Payroll Processing

Procedure to write the software for the Payroll Processing using Rational Software tool

Selecting the software: 1. Click start  Rational Software Rational Administrator. Create the project: 2. Click SelectFileNew ProjectGive name to the fileBrowseNextPassword Name and Conformation PasswordNext.

Selecting the database: 3. CreateMS-AccessFinish. Open the Rational Rose Tools: 4. Click toolsRational Rose. To draw the diagram: 5. Click Untitled (Give name to the file)Right clickUse case diagramSequence diagramClass diagram. 6. Click Use case diagramThe symbols Are displayed then we can build the use case diagram. 7. Click Sequence diagram The symbols Are displayed then we can build the sequence diagram. 8. Click Class diagram The symbols Are displayed then we can build the classs diagram.

Generate the coding form: 9. Click ComponentRight ClickSave the FileRight ClickOpen...
tracking img