COM
EXNO:1
DATE:
AIM:
ALGORITHM:
MODULE 1:
MODULE 2:
MODULE 3:
USECASE DIAGRAM:
1
WWW.VIDYARTHIPLUS.COM
ACTIVITY DIAGRAM:
Check Status
Admin Panel
2
WWW.VIDYARTHIPLUS.COM
CLASS DIAGRAM:
CODE GENERATION:
Public passportautomatonsystem
3
WWW.VIDYARTHIPLUS.COM
Public Applicationstatus
Public getstatus
Public applicationstatus
4
WWW.VIDYARTHIPLUS.COM
Public Newregistrationsystem {
Public register{
Public cancel{
SEQUENCE DIAGRAM:
Check Status
Admin panel
5
WWW.VIDYARTHIPLUS.COM
COLLABORATION DIAGRAM:
Check Status
Admin Panel
6
WWW.VIDYARTHIPLUS.COM
Enter
applicant id
COMPONENT DIAGRAM:
Manager
DEPLOYEMENT DIAGRAM:
passport verification
system
applicant <<TCP/IP>>
RESULT:
The UML diagram for Online passport verification system was generated successfully.
7
WWW.VIDYARTHIPLUS.COM
EX NO :2
DATE :
BOOK BANK
AIM:
To generate the UML diagram for online passport verification system.
ALGORITHM:
MODULE 1
Provide a user interface for getting the user’s login details.
Verify login ID and if correct, provide access to the library database.
MODULE 2
Provide a search mechanism to search for a particular book.
Input the book name and the author’s name.
MODULE 3
Get the book details from the database.
Display the book details on the screen.
MODULE 4
Allow the user to select the book for checking out.
Issue the book.
8
WWW.VIDYARTHIPLUS.COM
CLASS DIAGRAM:
Software Entry
Issue() DOI.
Return()
Return ()
paymentl()
Issue()
9
WWW.VIDYARTHIPLUS.COM
CODE GENERATION:
Public class softwareentry
{
Public softwareentry()
{
}*
Public class dataentry{
Public dataentry{
}
Public string name;
Public string idno;
Public string bookname;
Public string author;
Public string doi;
Public string dor;
Public string cardno;
Public issue(){
}
Public return(){
}
Public class querying{
}
Public class issue querying{
Public string dol;
}
Public payment(){
}
Public issue(){}
Public class return querying{
Public return(){
}
10
WWW.VIDYARTHIPLUS.COM
SEQUENCE DIAGRAM:
Student bookbank
manager Administrator
Verify Authentication
Verify Authentication
Grant Permission/Deny
Display results
11
WWW.VIDYARTHIPLUS.COM
COLLABORATION DIAGRAM:
manager
Student
2: Verify Authentication
5: Verify Authentication
8: Search the book
System Administrator
STATECHART DIAGRAM:
Enter the
book name
12
WWW.VIDYARTHIPLUS.COM
ACTIVITY DIAGRAM:
Enter login
name
Verify
Grant
permission
Enter book
name
COMPONENT DIAGRAM:
13
WWW.VIDYARTHIPLUS.COM
DEPLOYMENT DIAGRAM:
RESULT:
The above modules for the Book Bank System have been designed and verified.
14
WWW.VIDYARTHIPLUS.COM
EX NO: 3
DATE
AIM:
ALGORITHM:
MODULE 1:
MODULE 2:
If the form is valid then the system checks for correction of data with respect to
the respective colleges database.
The form checks for eligibility criteria.
MODULE 3:
If the form is valid and eligible and there is no reduction in the given data then the
unique registration id, and hall ticket is issued to the applicant.
If the form entries are invalid then the application form is rejected.
15
WWW.VIDYARTHIPLUS.COM
16
WWW.VIDYARTHIPLUS.COM
ACTIVITY DIAGRAM:
17
WWW.VIDYARTHIPLUS.COM
CLASS DIAGRAM:
CODE GENERATION:
18
WWW.VIDYARTHIPLUS.COM
}
}
19
WWW.VIDYARTHIPLUS.COM
SEQUENCE DIAGRAM:
20
WWW.VIDYARTHIPLUS.COM
COLLABORATION DIAGRAM:
21
WWW.VIDYARTHIPLUS.COM
COMPONENT DIAGRAM:
Admin
DEPLOYMENT DIAGRAM:
Exam Registration
Applicant System
TCP/IP
RESULT:
22
WWW.VIDYARTHIPLUS.COM
EX NO: 4
DATE:
STOCK MAINTANENCE
AIM:
consists of three modules namely product supply, product storage and product order.
ALGORITHM:
MODULE 1:
The supplier gets the list of products required from the warehouses.
MODULE 2:
The warehouse manager is responsible for the mangement of the products in the
warehouses.
MODULE 3:
If the products are available, then the products are delivered to the supermarket.
23
WWW.VIDYARTHIPLUS.COM
USECASE DIAGRAM:
Provide Products
Supplier
Store Products
WareHouse
Manager
Super Market
Specify necessary information
Process order
Generate Invoice
Deliver Products
24
WWW.VIDYARTHIPLUS.COM
ACTIVITY DIAGRAM:
Store Product
Details
Select
Products
Edible Non-Edible
Process
Order
Check
Availability
Update
Inventory
Generate
Invoice
Deliver
Items
25
WWW.VIDYARTHIPLUS.COM
CLASS DIAGRAM:
CODE:
26
WWW.VIDYARTHIPLUS.COM
{
}
}
//Source file: C:\\Program Files\\Rational\\RUPBuilder\\WarehouseManager.java
public class WarehouseManager
{
private int name;
public Supplier theSupplier[];
public SuperMarket theSuperMarket;
/**
* @roseuid 4D6F21FC031C
*/
public WarehouseManager() {
}
/**
* @roseuid 4D6F1FFF0128
*/
public void storeProducts() {
}
/**
* @roseuid 4D6F20240261
*/
public void saveProductDetails() {
}
/**
* @roseuid 4D6F200A004E
*/
public void processOrder() {
}
/**
* @roseuid 4D6F204C02DE
*/
public void Deliver() {
}
}
//Source file: C:\\Program Files\\Rational\\RUPBuilder\\SuperMarket.java
public class SuperMarket
{
private int ID;
private int Name;
27
WWW.VIDYARTHIPLUS.COM
28
WWW.VIDYARTHIPLUS.COM
SEQUENCE DIAGRAM:
Provide Products
Process Order
Update Inventory
Deliver Products
COLLABORATION DIAGRAM:
1: Provide Products
Supplier WareHouse
Manager
Super Database
Market
29
WWW.VIDYARTHIPLUS.COM
COMPONENT DIAGRAM:
Super
Market
Warehouse
Manager
Supplier
DEPLOYMENT DIAGRAM:
Supplier
Ware house
Manager
Super market
STATECHART DIAGRAM:
Product
Order
Selnonedi()
seledi()
Edible Non-Edible
Items Items
Checkavail()
Checkavail()
Process
Order
Update()
Update
Inventory
RESULT: The stock management system was successfully described using UML
diagrams.
30
WWW.VIDYARTHIPLUS.COM
EXNO:5
DATE:
AIM:
ALGORITHM:
MODULE 1:
MODULE 2:
It is decided whether the student is eligible to take up the course based on certain
criteria.
MODULE 3:
USECASE DIAGRAM:
31
WWW.VIDYARTHIPLUS.COM
ACTIVITY DIAGRAM:
CLASS DIAGRAM:
32
WWW.VIDYARTHIPLUS.COM
CODE GENERATION:
Public Student()
Public Reservation ()
Public Payment()
33
WWW.VIDYARTHIPLUS.COM
Public CreditPayment ()
Public CashPayment()
34
WWW.VIDYARTHIPLUS.COM
SEQUENCE DIAGRAM:
35
WWW.VIDYARTHIPLUS.COM
COLLABORATION DIAGRAM:
Get
Register no
Compare
cuttoff
Add to available
college list
Enter
course
Register
Student
36
WWW.VIDYARTHIPLUS.COM
COMPONENT DIAGRAM:
DEPLOYEMENT DIAGRAM:
RESULT:
The UML diagram for Course reservation system was generated successfully.
37
WWW.VIDYARTHIPLUS.COM
EX NO: 6
DATE:
E-TICKETING
AIM:
ALGORITHM:
MODULE 1:
The user logs into the website using their id and password.
If the user is a new user, create an id and password by filling the sign up form.
MODULE 2:
After logging the system displays the form in which the user is allowed to select
the destination and source place.
The user can also select the date.
The system displays available trains.
MODULE 3:
The user can select the required one and give the number of tickets, class.
The system check for the availability.
If it is available then book the ticket by filing the details about individuals such as
name, age, gender etc.
MODULE 4:
38
WWW.VIDYARTHIPLUS.COM
Login
Book Ticket
Customer Admin
Make Payment
Bank
Print Ticket
39
WWW.VIDYARTHIPLUS.COM
ACTIVITY DIAGRAM:
40
WWW.VIDYARTHIPLUS.COM
CLASS DIAGRAM:
CODE GENERATION
public class customer
{
private string name;
private sring ID;
private int age;
public Authenticate theAuthenticate;
/**
@roseuid 3F0927D0031C
*/
public customer()
{
41
WWW.VIDYARTHIPLUS.COM
/**
@roseuid 3F09272A01A5
*/
public customer()
{
/**
@roseuid 3F0924600213
*/
public void bookticket()
{
/**
@roseuid 3F09246D0222
*/
public void makepayment()
{
/**
@roseuid 3F09247700EA
*/
public void printticket()
{
}
}
public class Authenticate
{
private string username;
private string password;
public admin theAdmin;
/**
@roseuid 3F0927E10196
*/
public Authenticate()
{
42
WWW.VIDYARTHIPLUS.COM
/**
@roseuid 3F0924A9009C
*/
public void validate()
{
}
}
public class Bank
{
private string name;
private string cardno;
public account theAccount[];
/**
@roseuid 3F0927E8004E
*/
public Bank()
{
/**
@roseuid 3F0924D7031C
*/
public void validateno()
{
/**
@roseuid 3F0924E400CB
*/
public void opname2()
{
}
}
public class account
{
private string cust_id;
private string cust_name;
/**
@roseuid 3F092808036B
*/
public account()
43
WWW.VIDYARTHIPLUS.COM
/**
@roseuid 3F09251100AB
*/
public void withdraw()
{
}
}
public class ticket
{
private string dest;
private string source;
private string time;
private string date;
private string trainname;
public Authenticate theAuthenticate;
public Bank theBank[];
/**
@roseuid 3F09281000EA
*/
public ticket()
{
/**
@roseuid 3F09259C000F
*/
public void book()
{
/**
@roseuid 3F09259F00BB
*/
public void cancel()
{
}
}
public class admin
{
44
WWW.VIDYARTHIPLUS.COM
/**
@roseuid 3F092835003E
*/
public admin()
{
/**
@roseuid 3F0928150109
*/
public admin()
{
/**
@roseuid 3F09253C0271
*/
public void maintaindatabase()
{
/**
@roseuid 3F092550007D
*/
public void updatedatabase()
{
}
}
/**
void Admin.getdetails(){
*/
45
WWW.VIDYARTHIPLUS.COM
SEQUENCE DIAGRAM:
LOGIN:
BOOK TICKET:
46
WWW.VIDYARTHIPLUS.COM
MAKE PAYMENT:
PRINT TICKET:
47
WWW.VIDYARTHIPLUS.COM
COLLABORATION DIAGRAM:
4: invalid
2: authenticate
3: valid
admin
48
WWW.VIDYARTHIPLUS.COM
COMPONENT DIAGRAM:
Customer E-ticketing
Bank
DEPLOYMENT DIAGRAM:
TCP/IP E- ticketing
Customer
RESULT:
49
WWW.VIDYARTHIPLUS.COM
EXNO:7
DATE:
SOFTWARE PERSONNEL MANAGEMENT SYSTEM
AIM:-
To represent the software personnel management system using UML Diagrams.
The system consists of modules that manage users such as HR and employee to
manipulate various types of details like Personal, Monetary, Leave, etc.
ALGORITHM:
MODULE 1:
Provide user interface in order to allow the user to enter login details.
Authenticate the user based on the login details.
In case the user is not authorized, ask the user to relogin.
MODULE 2:
Select the type of detail to be viewed or edited.
The HR can perform actions like add,delete,view and edit details.
The Employee can only view details.
MODULE 3:
The changes made by the HR are updated and stored in the database.
The user logouts.
50
WWW.VIDYARTHIPLUS.COM
USECASE DIAGRAM:
Login
Authentication
employee
Insert details
HR
View datails
Modify details
Delete details
Update db
Logout
51
WWW.VIDYARTHIPLUS.COM
ACTIVITY DIAGRAM:
Login
Authenticate
Yes
Select type of
detail
Actions
Update
Database
Logout
52
WWW.VIDYARTHIPLUS.COM
CLASS DIAGRAM:
CODING:
/**
* @roseuid 4D6F0B0F0167
*/
public RecordType()
{
53
WWW.VIDYARTHIPLUS.COM
/**
* @roseuid 4D6E83EC011E
*/
public void insert()
{
/**
* @roseuid 4D6E83F8003E
*/
public void view()
{
/**
* @roseuid 4D6E83FA03A5
*/
public void modify()
{
/**
* @roseuid 4D6E83FD018D
*/
public void delete()
{
}
}
54
WWW.VIDYARTHIPLUS.COM
/**
* @roseuid 4D6F0B0F0148
*/
public CompanySystem()
{
/**
* @roseuid 4D6E83C5039D
*/
public void authenticate()
{
/**
* @roseuid 4D6E83CB0172
*/
public void update()
{
}
}
public class HR
{
private int name;
private int id;
/**
* @roseuid 4D6F0B0F0138
*/
public HR()
{
/**
* @roseuid 4D6E838F00F7
*/
55
WWW.VIDYARTHIPLUS.COM
/**
* @roseuid 4D6E83910104
*/
public void view()
{
/**
* @roseuid 4D6E83970280
*/
public void add()
{
/**
* @roseuid 4D6E83990193
*/
public void delete()
{
}
}
/**
* @roseuid 4D6F0B0F0119
*/
public Employee()
{
56
WWW.VIDYARTHIPLUS.COM
/**
* @roseuid 4D6E835E02C5
*/
public void view()
{
}
}
/**
* @roseuid 4D6F0B0F00FA
*/
public DeptDetails()
{
}
}
/**
* @roseuid 4D6F0B0F00EA
*/
public LeaveDetails()
{
57
WWW.VIDYARTHIPLUS.COM
}
}
/**
* @roseuid 4D6F0B0F00BB
*/
public ProjectDetails()
{
}
}
/**
* @roseuid 4D6F0B0F00AB
*/
public MonetaryDetails()
{
}
}
58
WWW.VIDYARTHIPLUS.COM
/**
* @roseuid 4D6F0B0F008C
*/
public PersonalDetails()
{
}
}
SEQUENCE DIAGRAM:
Employee System HR
Login
Login
Authenticate Authenticate
Save Task
Update
Logout Logout
59
WWW.VIDYARTHIPLUS.COM
COLLABRATION DIAGRAM:
HR
Employee 2: Login
5: Select record type
8: View Record 10: Update 4: Authenticate
12: Logout
1: Login
3: Authenticate 6: Select record type
7: Perform task
System 9: Save Task
11: Logout
STATECHART DIAGRAM:
Login
Select Type of
Detail
Select
Action
Update db
Logout
60
WWW.VIDYARTHIPLUS.COM
COMPONENT DIAGRAM:
HR Employee
System System
LAN LAN
Company
Server
DEPLOYMENT DIAGRAM:
HR Employee
LAN LAN
Server
RESULT:
61
WWW.VIDYARTHIPLUS.COM
EX NO:8
DATE:
AIM:
ALGORITHM:
MODULE 1:
MODULE 2:
MODULE 3:
62
WWW.VIDYARTHIPLUS.COM
Place Order
Receive Cart
Update Details
CASHIER
Compute Total
CUSTOMER
Swipe Card
Enter ID
BANK
Validate Card
Get Items
63
WWW.VIDYARTHIPLUS.COM
ACTIVITY DIAGRAM:
Place Order
Receive Cart
Cart
Get Product
Details
Update Details
Calculate Total
Swipe Card
Enter ID
VALIDATE
Bill
64
WWW.VIDYARTHIPLUS.COM
CLASS DIAGRAM:
CODE:
65
WWW.VIDYARTHIPLUS.COM
/**
* @roseuid 4D6F24920128
*/
public Cashier()
{
}
/**
* @roseuid 4D6F1DAA0242
*/
public void getItems()
{
}
/**
* @roseuid 4D6F1DB9002E
*/
public void enterItems()
{
}
}
SEQUENCE DIAGRAM:
GiveBill
GiveCard
Validate
Getvalid_id
DeliverItems
66
WWW.VIDYARTHIPLUS.COM
COLLABORATION DIAGRAM:
1: GiveItems
4: GiveCard
:Customer :Cashier
3: GiveBill
7: DeliverItems
6: Getvalid_id 2: EnterDetails
5: Validate
:Bank
:System
PlaceOrder Updatedeta
ils
SwipeCard
DeliverItem Validate
s
67
WWW.VIDYARTHIPLUS.COM
COMPONENT DIAGRAM:
DEPLOYMENT DIAGRAM:
paysTo
Custom Cashier
er
validatesFrom
Bank
Server
RESULT:
68
WWW.VIDYARTHIPLUS.COM
EX NO: 9
DATE:
AIM:
ALGORITHM:
MODULE 1:
MODULE 2:
MODULE 3:
69
WWW.VIDYARTHIPLUS.COM
USECASE DIAGRAM:
enter
user login
manager
browse
select book
confirmation
book display
sign out
70
WWW.VIDYARTHIPLUS.COM
ACTIVITY DIAGRAM:
select the
book
check
availability
display
book
71
WWW.VIDYARTHIPLUS.COM
CLASS DIAGRAM:
CODE GENERATION:
Public customer(){
Void customer.detail(){
Void customer.customer()
72
WWW.VIDYARTHIPLUS.COM
Public login ()
Void login.execute()
Void login.login()
Public check()
Void check.availability()
Public book()
73
WWW.VIDYARTHIPLUS.COM
Void book.getbookname()
Void book.search()
Void book.book()
Public manager()
Void manager.displaybook()
Void manager.manager()
74
WWW.VIDYARTHIPLUS.COM
SEQUENCE DIAGRAM:
COLABORATION DIAGRAM:
server : e
75
WWW.VIDYARTHIPLUS.COM
STATECHART DIAGRAM:
display
book
COMPONENT DIAGRAM:
custome web
r server
dbms
server
76
WWW.VIDYARTHIPLUS.COM
DEPLOYMENT DIAGRAM:
<<ethernet>>
<<ethernet>>
dbms
server
RESULT:
The UML diagram for e-book management system was generated successfully.
77
WWW.VIDYARTHIPLUS.COM
EX NO: 10
DATE:
RECRUITMENT SYSTEM
AIM:
ALGORITHM:
MODULE 1:
Invigilator collects the CV from all candidates and distributes the self
assessment form.
He also conducts the aptitude test for all candidates and evaluates
the paper to short-list the candidates for the next level.
MODULE 2:
Candidates fill the self assessment form and attend the aptitude test.
The short-listed candidate hops to next level of interview.
MODULE 3:
Department manager conducts the technical round for the short-listed candidate
and filter some candidate.
HR manager conducts the HR round and document verification will be done.
The final candidate gets the offer letter from the HR manager.
78
WWW.VIDYARTHIPLUS.COM
USECASE DIAGRAM;
Collects the CV
(from Use Case View)
invigilator
(from Use Case View)
candidate
(from Use Case View)
Fill Self Assesment form
(from Use Case View)
DM
(from Use Case View) Conducts Aptitude Test
(from Use Case View)
HR
(from Use Case View)
HR Interview & Document
Verification
(from Use Case View)
Offer Letter
(from Use Case View)
79
WWW.VIDYARTHIPLUS.COM
ACTIVITY DIAGRAM:
collect cv
distribute self
assessment form
conduct aptitute
test
short listing
pass
conduct technical
round
pass
short list
elligible
pass
fail
offer letter
80
WWW.VIDYARTHIPLUS.COM
CLASS DIAGRAM:
CODE GENERATION:
Public invigilator ()
Void invigilator.collectscv()
Void invigilator.distributeform()
81
WWW.VIDYARTHIPLUS.COM
Void invigilator.conductsaptitute()
Public candidate ()
Void candidate.fillform()
Void candidate.update()
Public Hrmanager(){
82
WWW.VIDYARTHIPLUS.COM
Public departmentmanager(){
Void departmentmanager.conductstechnicalround(){
Public offerletter()
Void offerletter.issue()
Void offerletter.offerletter()
83
WWW.VIDYARTHIPLUS.COM
SEQUENCE DIAGRAM:
short list
short list
84
WWW.VIDYARTHIPLUS.COM
COLLABORATION DIAGRAM:
5: short list
1: submit CV
3: fill self assessment form
invigilator
: candidate 2: distribute self assessment form
4: conducts aptitude test
HR Manager
Department
Manager
85
WWW.VIDYARTHIPLUS.COM
COMPONENT DIAGRAM:
candidate invigilator
HR department
manager manager
DEPLOYMENT DIAGRAM:
<<TCP/IP>>
<<ethernet>> <<ethernet>>
HR <<ethernet>> Department
Manager Manager
RESULT:
86
WWW.VIDYARTHIPLUS.COM
EX NO: 11
DATE:
AIM:
ALGORITHM:
Log-in is required in order to exchange money transfer from the bank and update
portfolio information. The old customer enters the exchange system site by entering
the username and password. If the password or username is invalid ,then an error
message is displayed.
MODULE 2: (selection)
After signing in the customer can select particular country and a detailed description
of the equivalent money information is displayed.The customer can also select the
option compare to see the features of different countries money rate.
MODULE 3: (exchange)
The customer inputs the money rate for which equivalent money of the selected country
is transacted to his/her bank account and this is done by providing the credit card number.
MODULE 4: (delivery)
Once the customer enters the necessary details and when the SUBMIT button is
clicked, the acknowledgement is sent and the money is transacted to the respective
bank.
87
WWW.VIDYARTHIPLUS.COM
CLASS DIAGRAM:
CODE GENERATION:
88
WWW.VIDYARTHIPLUS.COM
89
WWW.VIDYARTHIPLUS.COM
90
WWW.VIDYARTHIPLUS.COM
91
WWW.VIDYARTHIPLUS.COM
{}
92
WWW.VIDYARTHIPLUS.COM
login/logout
account reactivation
place order
terminate account
system recovery
update portfolio
analyst
exchange service
retrieve info.
WWW.VIDYARTHIPLUS.COM
SEQUENCE DIAGRAM:
getclient()
getid()
isvalidtransaction()
add client()
delete()
update()
system recovery
changepassword
change address
credit card info
get request()
send response()
COLLABORATION DIAGRAM:
8: changepassword
9: change address
database 10: credit card info
bankadmin
4: add client()
: client 5: delete()
6: update()
11: get request() 7: system recovery
: exchangeservice
transactio
n
WWW.VIDYARTHIPLUS.COM
ACTIVITY DIAGRAM:
Check user
login
no
yes
STATECHART DIAGRAM:
login to
enter
update info to
the admin
COMPONENT DIAGRAM:
WWW.VIDYARTHIPLUS.COM
DEPLOYMENT DIAGRAM:
RESULT:
The above modules for the foreign trading system have been designed and verified.
WWW.VIDYARTHIPLUS.COM
EX NO: 12
DATE:
AIM:
ALGORITHM:
MODULE 1:
Participant sends the soft copy of the paper to the given email.
The paper is analyzed by the coordinator and if the paper is selected then the
participant gets intimated.
MODULE 2:
He registers for the event at front desk and pays the required amount.
MODULE 3:
USECASE DIAGRAM:
Coordinator
Chief Guest
Audience
Ask the queries
ACTIVITY DIAGRAM:
Send Paper
Selection No Reject
Yes
Send Intimation
Valid No
Yes
Present the
paper
Answer queries
CLASS DIAGRAM:
WWW.VIDYARTHIPLUS.COM
CODE GENERATION:
/**
* @roseuid 4D58FE8F0399
*/
public Coordinator()
/**
* @return Void
* @roseuid 4D58F8890251
*/
return null;
/**
* @return Void
* @roseuid 4D58F88C03B9
*/
return null;
WWW.VIDYARTHIPLUS.COM
/**
* @roseuid 4D58FE8F03B9
*/
public Registration()
/**
* @return Void
* @roseuid 4D58F8A1004E
*/
return null;
/**
* @roseuid 4D58FE8F03D8
*/
public Paper()
/**
* @return Void
* @roseuid 4D58F8B400DA
*/
return null;
/**
* @roseuid 4D58FE90001F
*/
public Result()
{
WWW.VIDYARTHIPLUS.COM
/**
* @return string
* @roseuid 4D58F8DD004E
*/
return null;
SEQUENCE DIAGRAM:
register()
Send paper()
select()
present()
questionQueries()
answerQueries()
announce()
WWW.VIDYARTHIPLUS.COM
COLLABORATION DIAGRAM:
Regstrtion : ChiefGuest
4: present() 5: questionQueries()
6: answerQueries() 7: announce()
1: register()
Paper
2: Send paper()
3: select()
: Participant
COMPONENT DIAGRAM:
Partici
pant
Registrati
onDB
PaperDB
DEPLOYMENT DIAGRAM:
Particip Coordin
ant TCP/IP
ator
RESULT:
The UML diagram for Conference Management System were generated successfully.
WWW.VIDYARTHIPLUS.COM
EX NO: 13
DATE:
AIM:
ALGORITHM:
MODULE 1:
MODULE 2:
MODULE 3:
Make a Call
Attend Call
Submit Queries
Customer
Customer Care
Update Database
Server
end call
WWW.VIDYARTHIPLUS.COM
ACTIVITY DIAGRAM:
Make A
Call
Attend
Call
Submit
Queries
No If Submit
Queries
Yes
No Divert to Hardware
verify is Software
Technician
problem
Yes
Response to Response to
Software Queries Hardware Queries
Get Details
Enter Enter
Name number
Update
Database
End Call
WWW.VIDYARTHIPLUS.COM
CLASS DIAGRAM:
}
public void Get_Hquery()
{
}
public void Response_Query()
{
}
}
public class customer
{
private String name;
private String address;
WWW.VIDYARTHIPLUS.COM
}
public Void detail()
{
return null;
}
}
void Customer.Order()
{
}
void Customer.ViewStocks()
{
}
public class Server
{
private int Query;
private int Name;
private int Number;
private int Response;
public CustomerCare theCustomerCare;
public Server()
{
}
public void Update_Database()
{
}
}
WWW.VIDYARTHIPLUS.COM
SEQUENCE DIAGRAM:
Attend Call
Submit Querries
Get Details
Update Details
COLLABORATION DIAGRAM:
1: Make a Call
3: Submit Querries
:Customer :Customer
Care
2: Attend Call
4: Get Details
5: Response for Software Queries
8: Update Details
:Server :Hardware
Technician
WWW.VIDYARTHIPLUS.COM
Make call
Submit
Queries
Response
Queries
Response to Response to
Hardware queries Software Queries
Get Details
Update
Database
COMPONENT DIAGRAM:
Customer Customer
Care
Server Hardware
Technician
WWW.VIDYARTHIPLUS.COM
DEPLOYMENT DIAGRAM:
Details Divert
Hardware
Server Technician
RESULT:
EX NO:14
DATE:
AIM:
To generate the UML diagram for library management system
ALGORITHM:
MODULE 1:
Provide a user interface for getting the user’s login details.
Verify login ID and if correct, provide access to the library database.
MODULE 2:
Provide a search mechanism to search for a particular book.
Input the book name and the author’s name.
MODULE 3:
Get the book details from the database.
Display the book details on the screen.
MODULE 4:
Allow the user to select the book for checking out.
Issue the book.
SEQUENCE DIAGRAM:
WWW.VIDYARTHIPLUS.COM
CLASS DIAGRAM:
PROGRAM:
Librarian.java
importjava.util.Vector;
}
Database.java
public class database {
COLLABORATION DIAGRAM:
WWW.VIDYARTHIPLUS.COM
ACTIVITY DIAGRAM:
STATECHART DIAGRAM:
WWW.VIDYARTHIPLUS.COM
COMPONENT DIAGRAM:
DEPLOYMENT DIAGRAM:
RESULT:
The UML diagram for library management system was generated successfully.
WWW.VIDYARTHIPLUS.COM
EX NO: 15
DATE:
STUDENT INFORMATION SYSTEM
AIM
To draw the UML diagrams for the given student information system.
ALGORITHM:
MODULE 1:
This module enables the authenticated users to record the marks and thereby their
respective grades in a database.
This is the most important module as it maintains the details of the marks scored by
the students in the database and it is the first and the foremost step in this system.
MODULE 2:
This module permits the respective users to view their grades as and when necessary
after their identification through their login name and password.
This module proves to be the simplest as it does not allow the user to modify or
update any information except viewing them.
MODULE 3:
This module enables the authenticated users to update the marks of the students after
each and every test in order to update the data to the present existing grades of the
students.
This module just allows the user to modify or update the grades of the students alone
but not their personal details.
This module does not allow any user just like that only authenticated users are
allowed to update the necessary data after their identification through their login name
and password
WWW.VIDYARTHIPLUS.COM
CLASS DIAGRAM:
PROGRAM:
Admin.java
importjava.util.Vector;
WWW.VIDYARTHIPLUS.COM
/**
*
* @element-type Staff
*/
public Vector myStaff;
public Database myDatabase;
}
Database.java
importjava.util.Vector;
}
Staff.java
importjava.util.Vector;
/**
*
* @element-type Student
*/
public Vector myStudent;
public Database myDatabase;
public Admin myAdmin;
}
Student.java
importjava.util.Vector;
}
WWW.VIDYARTHIPLUS.COM
ACTIVITY DIAGRAM:
STATE DIAGRAM:
SEQUENCE DIAGRAM
WWW.VIDYARTHIPLUS.COM
COLLABORATION DIAGRAM:
COMPONENT DIAGRAM:
WWW.VIDYARTHIPLUS.COM
DEPLOYMENT DIAGRAM:
RESULT:
Thus the UML diagrams for student information system is drawn successfully .
WWW.VIDYARTHIPLUS.COM
EX NO:16
DATE:
PAYROLL SYSTEM
AIM:
ALGORITHM:
MODULE 1:
MODULE 2:
MODULE 3:
net salary
SEQUENCE DIAGRAM:
obtain hra,da,ta
calculate salary
store
COLLABORATION DIAGRAM:
5: calculate salary
6: store
salary
calculation
employee
CLASS DIAGRAM:
WWW.VIDYARTHIPLUS.COM
ACTIVITY DIAGRAM:
provide employee
details
netpay=basic netpay=basic
pay-deductions pay+ (hra,da,pf)
provide salary
COMPONENT DIAGRAM:
WWW.VIDYARTHIPLUS.COM
DEPLOYMENT DIAGRAM:
Node 1:Registrar
Update
Node 2:PC
Get employee
details
Get basic
pay
Basic Salary
pay-deductions
RESULT:
The above modules for the Payroll System have been designed and verified.
WWW.VIDYARTHIPLUS.COM
EXNO:17
DATE:
DOMAIN MODEL
AIM:
ALGORITHM:
MODULE 1:
MODULE 2:
It is decided whether the student is eligible to take up the course based on certain
criteria.
MODULE 3:
CLASS DIAGRAM:
reservation course
Student
+regno:Integer +regno:integer +vacany:integer
+name:String +vacany:integer +coursed:integer
+address:String +check_vacancy() +fee:integer
+phone:String +check_validuser()
+emailID:String
+dateofbirth:Date
+Fathersname:string payment
subject
+fee:integer
+sname:string
+total:integer
+generatebill() +display_contents()
CODE GENERATION:
Public Student()
{ }
Public Reservation ()
{ }
Public Payment()
{ }
Public CreditPayment ()
{ }
Public CashPayment()
{ }
WWW.VIDYARTHIPLUS.COM
{ }
{ }
DOMAIN MODEL:
Student
Name Reservation Course
RegisterNo RegisterNo CourseId
Dob
EmailId
Phone
Address
Father’s name Payment Subject
Amount Name
CONCEPTUAL CLASSES
1. student
Student
+regno:Integer
+name:String
+address:String
+phone:String
+emailID:String
+dateofbirth:Date
+Fathersname:string
2.reservation
reservation
+regno:integer
+vacany:integer
+check_vacancy()
+check_validuser()
3. course
Course
+vacany:integer
+coursed:integer
+fee:integer
4. payment
Payment
+fee:integer
+total:integer
+generatebill()
5. subject
Subject
+sname:string
+display_contents()
RESULT:
EX NO: 18
DATE:
LOGICAL ARCHITECTURE
AIM
ALGORITHM:
MODULE 1:
Provide user interface in order to allow the user to upload their paper and reference
details.
In case the user is not authorized, ask the user to re-submit the paper with all
credentials.
MODULE 2:
MODULE 3:
The selected papers are updated and stored in the database for presentation.
The selected user attends the conference.
WWW.VIDYARTHIPLUS.COM
LOGICAL ARCHITECTURE:
WWW.VIDYARTHIPLUS.COM
USER INTERFACE:
WWW.VIDYARTHIPLUS.COM
DOMAIN LAYER:
RESULT: