Labmanual Full
Labmanual Full
Labmanual Full
UML DIAGRAMS
• Use cases. A use case describes a sequence of actions that provide something of
measurable value to an actor and is drawn as a horizontal ellipse.
• Associations. Associations between actors and use cases are indicated in use case
diagrams by solid lines. An association exists whenever an actor is involved with
an interaction described by a use case. Associations are modeled as lines
connecting use cases and actors to one another, with an optional arrowhead on
one end of the line. The arrowhead is often used to indicating the direction of the
initial invocation of the relationship or to indicate the primary actor within the use
case. The arrowheads are typically confused with data flow and as a result I avoid
their use.
• System boundary boxes (optional). You can draw a rectangle around the use
cases, called the system boundary box, to indicate the scope of your system.
Anything within the box represents functionality that is in scope and anything
outside the box is not. System boundary boxes are rarely used, although on
occasion I have used them to identify which use cases will be delivered in each
major release of a system.
• Packages (optional). Packages are UML constructs that enable you to organize
model elements (such as use cases) into groups. Packages are depicted as file
folders and can be used on any of the UML diagrams, including both use case
diagrams and class diagrams. I use packages only when my diagrams become
unwieldy, which generally implies they cannot be printed on a single page, to
organize a large diagram into smaller ones.
List Items
View Item
Edit Item
Actor
Create Item
Delete Item
Three relationships among use cases are supported by the UML standard, which
describes graphical notation for these relationships.
Include
In one form of interaction, a given use case may include another. The first use
case often depends on the outcome of the included use case. This is useful for extracting
truly common behaviors from multiple use cases into a single description. The notation is
a dashed arrow from the including to the included use case, with the label
“<<include>>”. This usage resembles a macro expansion where the included use case
behavior is placed inline in the base use case behavior. There are no parameters or return
values.
Extend
In another form of interaction, a given use case, (the extension) may extend
another. This relationship indicates that the behavior of the extension use case may be
inserted in the extended use case under some conditions. The notation is a dashed arrow
from the extension to the extended use case, with the label <<extend>>. This can be
useful for dealing with special cases, or in accommodating new requirements during
system maintenance and extension.
To make the points at which extension may occur explicit extension points may
be defined in use cases which are listed in a compartment below the use case name.
Generalization
SEQUENCE DIAGRAM:
The well-known Message Sequence Chart technique has been incorporated into
the Unified Modeling Language (UML) diagram under the name of Sequence
Diagram. A sequence diagram shows, as parallel vertical lines, different processes or
objects that live simultaneously, and, as horizontal arrows, the messages exchanged
between them, in the order in which they occur. This allows the specification of simple
runtime scenarios in a graphical manner.
2. The logic of methods. Sequence diagrams can be used to explore the logic of a
complex operation, function, or procedure. One way to think of sequence diagrams,
particularly highly detailed diagrams, is a visual object code.
3. The logic of services. A service is effectively a high-level method, often one that can
be invoked by a wide variety of clients. This includes web-services as well as business
transactions implemented by a variety of technologies such as CICS/COBOL or
CORBA-compliant object request brokers (ORBs).
Fred Patron Bob Waiter Hank Cook Renee
Cashier
order food()
order food()
serve wine()
Pickup()
serve food()
Pay()
ACTIVITY DIAGRAM:
• Initial node. The filled in circle is the starting point of the diagram. An initial
node isn’t required although it does make it significantly easier to read the
diagram.
• Activity final node. The filled circle with a border is the ending point. An activity
diagram can have zero or more activity final nodes.
• Activity. The rounded rectangles represent activities that occur. An activity may
be physical, such as Inspect Forms, or electronic, such as Display Create Student
Screen.
• Fork. A black bar with one flow going into it and several leaving it. This denotes
the beginning of parallel activity.
• Join. A black bar with several flows entering it and one leaving it. All flows
going into the join must reach it before processing may continue. This denotes the
end of parallel processing.
• Decision. A diamond with one flow entering and several leaving. The flows
leaving include conditions although some modelers will not indicate the
conditions if it is obvious.
• Merge. A diamond with several flows entering and one leaving. The implication
is that one or more incoming flows much reach this point until processing
continues, based on any guards on the outgoing flow.
• Partition. Activity Diagram is organized into many partitions, also called swim
lanes, indicating who/what is performing the activities (the Applicant, Registrar,
or System).
• Flow final. The circle with the X through it. This indicates that the process stops
at this point.
Verify
reservation
Get
preferences
[no baggage]
[baggage] Print
boarding Card
Receive baggage
and print receipt
CLASS DIAGRAM:
A relationship is general term covering the specific types of logical connections found
on class and object diagrams. UML shows the following relationships:
• Instance-Level Relationships
o Link
o Association
o Aggregation
o Composition
o Generalization
Class diagram showing generalization between one super class and two subclasses
The generalization relationship indicates that one of the two related classes (the
subtype) is considered to be a specialized form of the other (the supertype) and supertype
is considered as GENERALIZATION of subtype. In practice, this means that any
instance of the subtype is also an instance of the supertype. The relationship is most
easily understood by the phrase ‘A is a B’.
• Generalization-Specialization relationship
A is a type of B
E.g.”an oak is a type of tree”, “a sedan is a type of vehicle”
o Realization
• General Relationship
o Dependency(UML)
• Multiplicity
The association relationship indicates that (at least) one of the two related classes
makes reference to the other. In contrast with the generalization relationship, this is most
easily understood through the phrase ‘A has a B’{a mother cat has kittens, kittens have a
mother cat}.
The UML representation of an association is a line with an optional arrowhead
indicating the role of the object(s) in the relationship, and an optional notation at each end
indicating the multiplicity of instances of that entity ( the number of objects that
participate in the association). Common multiplicities are:
Indicator Meaning
0..1 No instances, or one instance(optional, may)
1 Exactly one instance
0..* or * Zero or more instances
1..* One or more instances(at least one)
n Exactly n instances(n>1)
0..n Zero or n instances(n>1)
1..n One or n instances(n>1)
<<Class Module>>
main window
+1
+1
<<Class Module>>
login window
+1
+1
<<Class Module>> <<Class Module>>
welcome window error message
<<Class Module>>
login control
COMPONENT DIAGRAM:
Component diagrams are particularly useful with larger teams. Your initial
architectural modeling efforts during cycle 0 should focus on identifying the initial
architectural landscape for your system. UML component diagrams are great for doing
this as they enable you to model the high-level software components, and more
importantly the interfaces to those components. Once the interfaces are defined, and
agreed to by your team, it makes it much easier to organize the development effort
between sub teams. You will discover the need to evolve the interfaces to reflect new
requirements or changes to your design as your project progresses, changes that need to
be negotiated between the sub teams and then implemented appropriately.
<<ActiveX DLL>>
view courses
details
Rational rose
Two popular features of Rational Rose are its ability to provide iterative
development and round-trip engineering. Rational Rose allows designers to take
advantage of iterative development(sometimes called evolutionary development) because
the new application can be created in stages with the output of one iteration becoming
the input to the next.(This is in contrast to waterfall development where the whole project
is completed from start to finish before a user gets to try it out.) Then, as the developer
begins to understand how the components interact and makes modifications in the design,
Rational Rose can perform what is called “round-trip engineering” by going back and
updating the rest of the model to ensure the code remains consistent.
There are four views for a model created in Rational Rose, each representing the system
from a different point of view.
The Use Case View
The use case view contains the diagrams used in analysis(use case, sequence, and
collaboration), and all the elements that compromise these diagrams(e.g., actors).More
recent versions of Rational Rose also allow for additional documentation in the form of
word-processed documents and/or URLs to Web-based materials. The purpose of the use
case view is to envisage what the system must do, without dealing with the specifics of
how it will be implemented.
Logical View
The logical view contains the diagrams used in object design(class diagrams and
state transition diagrams). It offers a detailed view of how the system envisaged in the use
case view will be implemented. The basic element in this view is the class, which
includes an outline of its attributes and operations. This directly corresponds to a class
created in your chosen implementation language. From the logical view, skeletal code
can be generated for implementation into a computer language. More recent versions of
Rational Rose not only can generate skeletal code for Visual C++, Visual Java, or Visual
BASIC, but also reverse engineer programs created in these languages into Rational Rose
models. This allows existing components to be included in documented models, if there
is access to the source code. In addition, changes that need to be made during
implementation can be reflected in the documentation of the design model.
Component View
The component view is a step up from the logical view and contains diagrams
used in system design(component diagrams). This includes information about the code
libraries, executable programs, runtime libraries, and other software components that
comprise the completed systems. Components can be pre-existing; for example, a
Windows program in Visual C++ will utilize Microsoft Foundation Class to provide the
framework for the Windows interface. Components that do not exist and need to be
created by the developers will have to be designed in the logical view.
Deployment View
The deployment view illustrates how the completed system will be physically
deployed. This view is necessary for complex applications in which a system will have
different components located on different machines. For example, interface components
may be located on a user machine while other components may be located on a network
server.
LANGUAGE BASICS:
Visual Basic was designed to be easy to learn and use. The language not only
allows programmers to create simple GUI applications, but can also develop fairly
complex applications as well. Programming in VB is a combination of visually arranging
components or controls on a form, specifying attributes and actions of those components,
and writing additional lines of code for more functionality. Since default attributes and
actions are defined for the components, a simple program can be created without the
programmer having to write many lines of code. Performance problems were experienced
by earlier versions, but with faster computers and native code compilation this has
become less of an issue.
Forms are created using drag and drop techniques. A tool is used to place controls
(e.g., text boxes, buttons, etc.) on the form (window). Controls have attributes and event
handlers associated with them. Default values are provided when the control is created,
but may be changed by the programmer. Many attribute values can be modified during
run time based on user actions or changes in the environment, providing a dynamic
application. For example, code can be inserted into the form resize event handler to
reposition a control so that it remains centered on the form, expands to fill up the form,
etc. By inserting code into the event handler for a keypress in a text box, the program can
automatically translate the case of the text being entered, or even prevent certain
characters from being inserted.
Unlike many other programming languages, Visual Basic is generally not case
sensitive, although it will transform keywords into a standard case configuration and
force the case of variable names to conform to the case of the entry within the symbol
table entry. String comparisons are case sensitive by the default, but can be made case
insensitive if so desired.
The Visual Basic compiler is shared with other Visual Studio languages(C, C++),
but restrictions in the IDE do not allow the creation of some targets (Windows model
DLL’s) and threading models.
Result: Thus the UML diagrams and introduction to Visual Basic was studied.
PASSPORT AUTOMATION SYSTEM
Ex. No: 2.a
Date:
Aim:
To Study the software requirements specification for passport automation system.
Problem Statement
Passport Automation System is used in the effective dispatch of passport to all
of the applicants. This system adopts a comprehensive approach to minimize the manual
work and schedule resources, time in a cogent manner. The core of the system is to get
the online registration form (with details such as name, address etc.,) filled by the
applicant whose testament is verified for its genuineness by the Passport Automation
System with respect to the already existing information in the database. This forms the
first and foremost step in the processing of passport application. After the first round of
verification done by the system, the information is in turn forwarded to the regional
administrator's (Ministry of External Affairs) office. The application is then processed
manually based on the report given by the system, and any forfeiting identified can make
the applicant liable to penalty as per the law. The system also provides the applicant the
list of available dates for appointment to 'document verification' in the administrator's
office, from which they can select one. The system forwards the necessary details to the
police for its separate verification whose report is then presented to the administrator. The
administrator will be provided with an option to display the current status of application
to the applicant, which they can view in their online interface. After all the necessary
criteria has been met, the original information is added to the database and the passport is
sent to the applicant.
1.0 Introduction
Passport Automation System is an interface between the Applicant and the Authority
responsible for the Issue of Passport. It aims at improving the efficiency in the Issue of
Passport and reduce the complexities involved in it to the maximum possible extent.
1.1 Purpose
If the entire process of 'Issue of Passport' is done in a manual manner then it
would take several months for the passport to reach the applicant. Considering the fact
that the number of applicants for passport is increasing every year, an Automated System
becomes essential to meet the demand. So this system uses several programming and
database techniques to elucidate the work involved in this process. As this is a matter of
National Security, the system has been carefully verified and validated in order to satisfy
it.
1.2 Scope
• The System provides an online interface to the user where they can fill in their personal
details and submit the necessary documents (may be by scanning).
• The authority concerned with the issue of passport can use this system to reduce his
workload and process the application in a speedy manner.
• Provide a communication platform between the applicant and the administrator.
• Transfer of data between the Passport Issuing Authority and the Local Police for
verification of applicant's information.
• Users/Applicants will come to know their status of application and the date in which
they must subject themselves for manual document verification.
1.4 References
IEEE Software Requirement Specification format.
1.7 Overview
SRS includes two sections overall description and specific requirements - Overall
description will describe major role of the system components and inter-connections.
Specific requirements will describe roles & functions of the actors.
The PAS acts as an interface between the 'applicant' and the 'administrator'. This
system tries to make the interface as simple as possible and at the same time not risking
the security of data stored in. This minimizes the time duration in which the user receives
the passport.
2.6 Constraints
• The applicants require a computer to submit their information.
• Although the security is given high importance, there is always a chance of intrusion in
the web world which requires constant monitoring.
• The user has to be careful while submitting the information. Much care is required.
Result: Thus the software requirements specification for passport automation system was
studied.
Gantt Chart for Passport Automation System
Ex No : 2. b
Date:
Aim:
To develop a risk management and project plan for passport automation system
using Gantt Chart.
Introduction:
A Gantt chart is a type of bar chart that illustrates a project schedule. Gantt charts
illustrate the start and finish dates of the terminal elements and summary elements of a
project. Terminal elements and summary elements comprise the work breakdown
structure of the project. Some Gantt charts also show the dependency (i.e., precedence
network) relationships between activities. Gantt charts can be used to show current
schedule status using percent-complete shadings and a vertical "TODAY" line as shown
here.
Passport Automation System
For the project, the activities considered are:
1. Requirement Analysis
3. Preliminary Design
4. Detailed Design
5. Testing
Result:
Thus the risk management and project plan for passport automation system was
designed using Gantt Chart.
EX.NO:2 c
DATE: PASSPORT AUTOMATION SYSTEM
AIM:
To analyze and design a system for Passport Automation using Rational Rose tool.
1. PROBLEM STATEMENT
To create a software system for the applicant(s), applying for the passport by
verifying the information provided by them.
2. OVERALL DESCRIPTION
The modules are for
1. Applicant
Applicant has to provide the information like Name, Gender, Age,
Qualification, Parents’ Name, Communication address, Phone no,
etc. Also, they need to provide the DD details.
2. Passport Issuing Authority
This system will verify the details provided by the applicant. And
check whether the applicant is provided with passport or not. The
details of the applicant are stored in the Database.
3. Database
This will store the details of the applicant for future reference.
1. Rational Rose
1. 128MB RAM
2. Pentium III Processor
3. DESIGN
3.1 USE CASE DIAGRAM
Passport issue
Issue applicant details authority
Applicant
Cancellation
DB
JAVA CODING:
Database.java
public database()
{ }
public void storeTheDetails()
{ }
public void issueDetailsToAuthortiy()
{ }
}
Applicant.java
}
public APPLICANT()
{ }
PassportIssueAuthority.java
RESULT:
Thus the UML diagrams for Passport Automation System was analyzed and designed
using Rational Rose.
EXNO:3
1.OBJECTIVE:
The book bank system project is a software tool created to help and
access the students gather required information about the various books in the
institution the project is web based interactive application.
Focus is laid solely on the book display,schedule,categories,syllabus and
payment as per required.
3.PROJECT DESCRIPTION:
The target client for our software are students who lively are interested in
rental of books be it either from engineering or medical genre in the institution.They can
log into our website and browse the courses which they have aspiration to study.The
student must register themselves online,which is free.The booking or reservation of the
books is online,the detailed description about their book package and necessary terms and
condition norms would be emailed to the students registered email address which he/she
may provide during the time of registration.
PRODUCT PERSPECTIVE:
4.REQUIREMENTS:
(a).FUNCTIONAL REQUIREMENTS:
A functional requirement defines a function of a software system
on its component. A function is described as a set of inout,the behaviour and output.
(d).SOFTWARE REQUIREMENTS:
1. OS - Windows XP/vista.
2. Front end Tool - Rational Rose Enterprise suite.
3. Back end Tool - MSAccess
5.MODULE DISCRIPTION:
In this project we have defined different modules to enable the Book Bank system
in successful manner.
i. REGISTER:
The register module contains the application form or registration form
which contains following details.
Name, Address, Contact number, E-mail id, Password etc.
iii. LOGIN:
The Login module contains the form which contain membership name and
member password. It includes Username and Password.
vi. LOGOUT:
To sign off from the webpage or your account log off.
6.DOMAIN MODEL:
9. RISK ACTIVITY:
RISK ASSESSMENT:
Figure out what the risks are and what to focus on.
Making a list of all of the potential dangers that will affect
the project.
Assessing the probability of occurrence and potential ross
of each item listed.
RISK CONTROL:
10.GANTT CHART:
MODULE: Registering
PRE-FUNCTION:
Login to the website.
Collection the required documents to be
submitted for
registration.
POST-FUNCTION:
Verification of documents submitted.
Conformation email sent accessing that authentication can
be prevailed for the individual.
PRE-FUNCTION:
Analyze the course of semester of logger.
POST-FUNCTION:
Display the required book details.
i. ADMIN:
The administrator is used to register a new visitor for the website. Admin
can keep those records update. Admin keep sales record i.e., now much book is
downloaded and how much book is buyed newly with copy write etc.
Uml provides use case diagram notation to iilustrate the names of use case
and author relationship between them. Use case diagram and case relationship are
secondary in use case work use case text document.
UML CLASS DIAGRAM:
This Partial layer architecture shows the interface of the sequence diagram, here the
administrator shows the interface by displaying actor symbol
UML COLLABRATION DIAGRAM:
Components are slightly fuzzy concept in this Uml, because both class and
components can be used to model the something.
UML DEPLOYEMENT DIAGRAM:
TESTING:
To perform the testing for the generated code again select the tools option
from menu bar and choose quality architecture option a sub window gets opened. We are
going to perform Unit Test and Scenario testing for our project. So, select these testing
option one by one and testing activity is carried out for all the coding and testing is
carried out.
CONCLUSION:
Thus the project for BOOK BANK SYSTEM has been successfully
executed and codes are generated.
AIM:
To analyze and design a system for Stock Maintenance System using Rational Rose tool.
Problem Statement:
The Dealer is the secondary source of an Item and he purchases Item from
the manufacturer by requesting the required Item with its corresponding Company Name
and the Number of Items required. The Dealer is only responsible for distribution of the
Item to the Retailers in the Town or City.
The Shop Keeper or Retailer is the one who is prime source for selling items in the
market. The customers get Item from the Shop Keeper and not directly from the
Manufacturer or the Dealer. The Stock is the database used in our System which records
all transactions that takes place between the Manufacturer and the Dealer and the Dealer
and the Retailer.
Company name
Company name
Items ordered
Items ordered
ACTIVITY DIAGRAM :
Inv
entory
S ystem
Select from
theM enu
Displaythe
T
ransactionD etails
Company
Nam e
Price/Item
NoofItem s
ordered
T
otalPrice If Av
ailability>Noof
ItemsO rdere d
DisplaysInsufficient Displaysprice
noof ite ms ofItems
SEQUENCE DIAGRAM :
P
R OD
UCER D
EAL
E R SHOPKEEPER
1
.PUR
CHASE
1
.SAL
E S
2
.COMPANYN
AME
2
.COMPANYN
AME
3
.PRIC
E/IT
EM
3
.PRIC
E/IT
EM
4
.NOOFIT
E M
SOR
DERED
4
.NOOFIT
EMSO
RDERED
5
.TOT
ALPRIC
E
5
.CH
ECKIN
G WIT
HAVAIL
A BIL
ITY
6
.IT
EMSIN
SUF
FIC
IENT
/TOT
ALPRIC
E
COLLABORATION DIAGRAM :
5: 3.PRICE/ITEM
9: 5.TOTAL PRICE
PRODUC DEALER
ER
1: 1.PURCHASE
3: 2.COMPANY NAME
7: 4.NOOF ITEMS ORDERED
4: 2.COMPANY NAME
8: 4.NOOF ITEMS ORDERED
10: 5.CHECKINGWITHAVAILABILITY
2: 1.SALES
6: 3.PRICE/ITEM
11: 6.ITEMS INSUFFICIENT/TOTAL PRICE
SHOPKEE
PER
COMPONENT DIAGRAM :
MANUFA DEALER SHOPKE
CTURER EPER
DATABASE
CLASS DIAGRAM :
MANUFACTURER
Manufacturer Name
Company Name
Dateof Manufactured
Address
Contact Number
Price
Purchase()
Sales()
DEELER
Dealer Name
Dateof Items Received
Address
Contact Number
Price
Noof Items Ordered
Noof Items Sold
Purchase()
Sales()
Showstock Details()
SHOPKEEPER
ShopKeeper Name
Address
Contact Number
Price
Noof Items Ordered
Purchase()
Sales()
DEPLOYMENT DIAGRAM :
Process
or
Printer
Mouse
Keyboar
d
Javacoding:
Manufacturer.java
public manufacturer()
{ }
Dealer.java
public class dealer
{
private int dealername;
private int dateofitemsreceived;
private int address;
private int contactnumber;
private int price;
private int noofitemsordered;
private int noofitemssold;
public manufacturer theManufacturer;
public shopkeeper theShopkeeper;
public dealer()
{ }
Shopkeeper.java
public class shopkeeper
{
private int shopkeepername;
private int address;
private int contactnumber;
private int price;
private int numberofitemsordered;
public dealer theDealer;
public shopkeeper()
{ }
RESULT:
Thus the UML diagrams for Stock Maintenance was analyzed and designed using
Rational Rose.
Ex No: 5
Date:
ONLINE COURSE REGISTRATION SYSTEM
AIM:
To create a system through which students can register to the courses desired
by them, using Rational Rose tool.
Problem statement
System requirements
Use-case diagram
1. Student
2. Administrator
After registration to any course, the student may see the details of his current
course.
He may wish to know details about fees and other information. The administrator also
has
the privilege to display details of the the students and the corresponding course for which
they have registered.
Class diagram
The class diagram is a graphical representation of all the classes used in the
system and their operations, attributes and relationships.
1. Stud(student details)
2. Administrator
1) Stud
It consists of the details of all the students present in the database. The
attributes present in this class are student id, password, name, age, sex,
course and attendance. The object of this class is created as soon as the
student registers to a course. The operations available to this class are
login (), logout (), confirmation (), register (), and view course details ().
2) Administrator
It consists of details of all the courses available to the student. The
attributes present in this class are username, password, course fees,
fees due, marks, and attendance. The operations available to this class
are login (), logout (), ma course details (), display course (), and
confirmation ().
Sequence diagram
login
v
iewthe
course
re
gister
display
logout
JAVA CODE:
Thus the Online course registration system was designed and analyzed
using Rational Rose.
Ex No: 6
Date:
ONLINE TICKET RESERVATION SYSTEM
(E – Ticket)
AIM:
To analyze and design a system for Online Ticket Reservation System (E – Ticket)
using Rational Rose tool.
1. PROBLEM STATEMENT
To book a ticket for a user online ticket reservation system software and to
confirm the ticket booking, making the payment, printing the tickets has to designed
using Rational Rose tool.
2. OVERALL DESCRIPTION
1. LOGIN
• Before entering the system, users have to login
• Get the username and password from existing users.
• Give new users the option to sign up.
2. AVAILABILITY
• Get the source and destination.
• Provide a dropdown box for the date.
• Check availability of tickets.
3. RESCHEDULE
USECASE DIAGRAM
Check availability
Booking Server
Enter details
Customer
Request booking
Make payment
Bank System
Confirm booking
ACTIVITY DIAGRAM
Display
payment details
Get user's
payment details
No
If complete
Print ticket
CLASS DIAGRAM
Check availability
Yes
If no, reschedule
Enter information
Reconfirm booking
Payment
Confirm payment
Get ticket
COLLABORATION DIAGRAM
2: Yes
1: Check availability
4: Enter information
Customer Server
3: If no, reschedule
5: Reconfirm booking
8: Get ticket
7: Confirm payment
6: Payment
Bank
Displaying Request
availability booking
Check availability
Displaying
payment details
User's payment
details
Print Ticket
COMPONENT DIAGRAM
Bank
Online
Booking Server
Customer
DEPLOYMENT DIAGRAM
Server Update
Railway
Database
User PC
Javacoding:
Customerdetails.java
public customerdetails()
{
}
}
Booking.java
public booking()
{
}
}
Payment.java
}
}
RESULT:
Thus the Online Ticket Reservation System have been designed and verified
using Rational Rose Tool.
Ex No:7
Date:
SOFTWARE PERSONNEL MANAGEMENT SYSTEM
AIM:
To analyze and design a system for Software Personnel Management System using
Rational Rose tool.
2. PROBLEM STATEMENT
To compute the gross pay of a person using the software personnel
management system software and to add new details to the existing database and
update it, using Rational Rose tool.
2. OVERALL DESCRIPTION
The three modules are
1. Login
The employee details has to be entered and if needed the details
can be edited.
2. Pay slip
It contains details such as employee id, employee name,
department, experience, and basic pay.
3.View
1. Rational Rose
4. 128MB RAM
5. Pentium III Processor
3. DESIGN
USECASE DIAGRAM
CLASS DIAGRAM
SEQUENCE DIAGRAM
COLLABORATION DIAGRAM
SEQUENCE DIAGRAM
COLLABORATION DIAGRAM
ACTIVITY DIAGRAM
JAVA CODING:
PAYROLLLOGIN.JAVA
VIEWDETAILS.JAVA
public viewdetails()
{
}
PAYSLIP.JAVA
public class payslip
{
private int name;
private int eid;
private int department;
private int experience;
private int basicPay;
private int har;
private int da;
private int bpf;
private int gpay;
public payslip()
{
}
}
}
RESULT:
Thus the Software personnel management system was designed and analyzed
using Rational Rose.
Ex. NO.:8
Date:
CREDIT CARD PROCESSING
Aim:
To analyze and design the credit card processing system on rational rose software
tool.
Data modeling:
Use case diagram
Class diagram
Sequence diagram
Collaboration diagram
Package diagram
Interaction diagram
State chart diagram
PROBLEM STATEMENT:
Credit card is used by customers for the transactions and processing money
between customers.
When the customer uses credit card,the administrator enquires about the pin
number and the authentication details. If all the details given by the customer is valid then
the transaction of money takes place.
When it is used for processing money for institutions transactions and
retransactions takes place between the customer and the agent for sponsoring finance and
manage customer account.
USECASE DIAGRAM
Customer
Retail Institution
Reconcile Transaction
Individual Corporate
Customer Customer Sponsoring financial
Institution
Manage Customer Account
SEQUENCE DIAGRAM
ACTIVITY DIAGRAM
CLASS DIAGRAM:
bank FinancialAccount
balance report
+theFinancialAccount
accountNo
getavaliableReport()
getBalance() FinancialAccount()
buyersAccount()
bank()
+theReportingSystem
ReportingSystem
systemSecurity
report
key +theSystemSecurity
key
getsystemClerance()
avaliableReport()
systemSecurity()
ReportingSystem()
COMPONENT DIAGRAM:
Component diagrams describe software components and their relationships within the
implementation environment; they indicate the choices made at implementation time.
JAVA CODE :
Bank.java
public bank()
{ }
ReportingSystem.java
public ReportingSystem()
{ }
public systemSecurity()
{ }
RESULT:
Thus the credit card system was designed and analyzed using Rational Rose.
Ex.no: 9
Date:
E-BOOK MANAGEMENT SYSTEM
AIM:
To analyze and design a system for E - Book Management System using Rational
Rose tool.
1. PROBLEM STATEMENT
To maintain and find the required e – book(s). The e-book should contain index of
the topics. When the main page is visited index of the topics is displayed. Select the
required topic and double click on it. Then the page with the contents of the selected
topic will be displayed. A certain option is also present in that page to go back to main
page and search for other topics.
2. OVERALL DESCRIPTION
The four modules are
1. Login
The user has to be enter his/her login details and if needed the details
can be edited.
2. Select E - book
It contains the list of e-book(s) available along with the search
option.
3. Search Topic:
Choose the required topic and double click on it. Then the page
with the contents of the selected topic will be displayed
4. Update
The database can be updated with new arrived e - book in the
future.
USE-CASE DIAGRAM:
SELECT TOPIC
USER SYSTEM
EXIT
ACTIVITY DIAGRAM:
START
SELCET
E-BOOK
CHOOSE
MAIN TOPIC
SELECT SUB-TOPIC
(1 TO n)
STOP
SEQUENCE DIAGRAM:
USER SYSTEM
SELECT TOPIC
DISPLAY INFORMATION
EXIT
COLLABORATION DIAGRAM:
1: S E LE CT TOP IC
3: S E A RCH FO R TOP IC
5: E XIT
US E R
S Y S TE M
DEPLOYMENT DIAGRAM:
CPU
KEY
BOARD PRINTER
MOUSE
Javacoding:
System.java
}
public void display()
{
}
}
User.java
public class user
{
private int name;
private int topic;
public system theSystem;
public user()
{
}
public void search()
{
}
public void exit()
{
}
}
RESULT:
Thus the E – Book management system was designed and analyzed using
Rational Rose.
EX.NO:10
Date: RECRUITMENT SYSTEM
AIM:
To analyze and design a system for Recruitment using Rational Rose tool.
1. PROBLEM STATEMENT
To create a software system this can test the skills of the candidate by generating
random question and answer.
2. OVERALL DESCRIPTION
The three modules are
2. Login
User can login using the username and password and they can start
attend the test for the specified vacancy
3. Recruitment test
This system will generate random question to test the skills of the
Candidate and check whether the candidate is suitable for the
position offered by the company.
4. Result
This will show whether the candidate is selected or not selected for
the position by displaying the message.
1. Rational Rose
1. 128MB RAM
2. Pentium III Processor
3. DESIGN
3.1 USE CASE DIAGRAM
login
(from usecase m odel)
candidate
database
(from usecase model)
view the questions (from usecase m odel)
(from usecase model)
display result
(from usecase model)
login
invalid user
answer the
question
recruitment test
question
display question()
submit the answer()
display msg()
candidate
recritment Database
system
display questions
display result
display message
2: verify login
3: request for questions for the test
7: verify the answer
4: send question8:fordisplay
test result
Databas
e
candidat
e
recruitment database
system
DATAB
SE
CANDID
RECRUI ATE
TME...
JAVA CODING:
Candiate.java
public candiate()
{
}
}
DataBase.java
public dataBase()
{
}
public void display()
{
RecruitmentTest.java
public recruitmentTest()
{
}
}
RESULT:
Thus the UML diagrams for Recruitment System was analyzed and designed using
Rational Rose.
Ex. NO: 11
DATE :
EXAM REGISTRATION SYSTEM
AIM:
To analyze and design a system for Exam registration using Rational Rose tool.
1. PROBLEM STATEMENT
To create an Exam registration software that will meet the needs of the
applicant and help them in registering for the exam ,enquiry about the registered
subject ,modification in database and cancellation for the registered project.
2. OVERALL DESCRIPTION
The Exam Registration System is an integrated system that has four modules
as part of it.the four modules are
1. Registration for the exam
In this module, the user can select the subject to register for
the exam, Enquiry about the registered subject, Modification in
the student database, canceling the registered subject
2. Form for Registration
In this module the user can apply for the exam by giving
the details about the candidate and selecting the subject for the
registration.
3. Modification in the Database
In this module the user can change the data’s like the phone
number, address can be done.
4. Cancellation for the registered subject
In this module the user can cancel their name which is
registered for the exam.
SOFTWARE REQUIRMENTS
1. Rational Rose
HARDWARE REQUIRMENTS
1.128MB RAM
2. Pentium III Processor
ACTIVITY DIAGRAM:
enter into
system
cancel
regisrtation
modify databse
DEPLOYMENT DIAGRAM
exam
student registration
Databse
CLASS DIAGRAM:
database
if
name
phone no
subject
display registartion()
display subject()
update()
SEQUENCE DIAGRAM:
student examregistratio database
n
5: generation fo registration id
6: note id
7: modify databse
COLLABRATION DIAGRAM:
examregist
6: note id ration
7: modify databse
8: cancel the subject registration
5: generation fo registration id
databas
e
COMPONENT DIAGRAM
student exam
registration
Databse
JAVA CODING:
Student.java
public class student
{
private int name;
private int id;
private int address;
private int phoneNumber;
private int subjectName;
public examdatabase theExamdatabase;
public student()
{ }
public void selectthesubject()
{ }
public void apply()
{ }
public void cancel()
{ }
public void modify()
{ }
}
Examdatabase.java
public class examdatabase
{
private int id;
private int name;
private int address;
private int phhonenumber;
private int subject;
public database2 theDatabase;
public examdatabase()
{ }
public void update()
{ }
public void modify()
{ }
public void select()
{ }
public void display()
{ }
}
Database.java:
public class database
{
private int id;
private int name;
private int phoneno;
private int subject;
public studentex theStudent;
public database()
{ }
public void displayregistration()
{ }
RESULT:
Thus the UML diagrams for Exam Registration was analyzed and designed using
Rational Rose.
Ex No: 12
Date:
CONFERENCE MANAGEMENT SYSTEM
AIM:
To analyze and design a system for Conference Management System using
Rational Rose tool.
1. PROBLEM STATEMENT:
This project deals with the conference management system. As a students or staff
members are required to view the details of conference is going to conduct in various
colleges or institutions and to attend the conference to gain knowledge from the
conferences. Administrator will add the details about the various conferences available
to attend for various department students and staff members.
2. OVERALL DESCRIPTION:
1. Login:
Authenticate the user and administrator.
2. Department Selection:
This form will give the options for selecting the department to get
knowledge about the conference.
3.Conference view:
This form contains the details about the conferences is conducting by
various institutions and we can see the date and time for the conference.
4. Database:
The details about the conferences going to conduct by various institutions.
Administrator can add the details about the conference for the students and also for the
staff members.
2. Rational Rose
2.2 HARDWARE REQURIMENTS:
6. 128MB RAM
7. Pentium III Processor
login
(fro m u se ca se )
user admin
(fro m a cto r)
(fro m a cto r)
enquriy
(fro m u se ca se )
view details
(fro m u se ca se )
add details
(fro m u se ca se )
4. ACTIVITY DIAGRAM:
enter the id
select
department
exit
5. CLASS DIAGRAM:
administrator
user
admin_pass : variant
pass : variant
depat : variant
validate_pass()
add details()
view the details()
view detals()
6. SEQUENCE DIAGRAM:
USER DEPARTMENT ADMINISTRAT DATABASE
OR
Verify password
Ok
ok ok
7. COLLABORATION DIAGRAM:
5: select the department
USER DEPART
MENT
3: Ok
8: ok
DATABA ADMINIST
SE RATOR
2: Verify password
7: verify
8. COMPONENT DIAGRAM:
Student
9. DEPLOYMENT DIAGRAM:
databas
e
admin user
display
Javacodings:
Administrator.java
public administrator()
{
}
}
}
User.java
public user()
{
}
}
Result:
Thus the Conference management system was designed and analyzed using
Rational Rose.