Ccs356 - Oose Lab
Ccs356 - Oose Lab
Ccs356 - Oose Lab
AIM:
To study the problem statement, SRS document and draw all the UML diagrams of a passport
automation system
PROBLEM STATEMENT:
To create PASSPORT AUTOMATION software that will meet the needs of the applicant and help
them to register and buy the passport. Modification in database and cancellation for the registered
project can be done in the software.
1. INTRODUCTION:
1.1 Purpose:
This project is about developing a passport automation system within budget and should be
delivered on time. The system should be able to provide the applicants to login and enter the details.
The applicants should enter the required details which must be verified by the Passport Issue
Officer. The acknowledgement, verification and counseling must be done by the Verification
officer. The applicant should be acknowledged about the process going on.
1.2 Document Conventions:
The headings have been written using “normal” style with “Times New Roman” font and font size
of”12” with bold type. The contents under each heading uses “normal” style with “times” font and
font size of “12”. The subheadings under each heading also use “normal” style with “times” font
and size “12”.
1.3 Intended Audience and Reading Suggestions:
The different types of reader that the document is intended for are developers, project managers,
users, testers, and documentation writers. This SRS contains keenly analyzed and well organized
requirements specification which the system is supposed to contain when being delivered to its
customer. The Suggested way of reading the document for all the readers is in the sequence as it
has been given in the document.
1.4 Project Scope:
The Passport automation system allows a user to file their application to the passport office for
verification and get the passport. The applicant makes payment after the application is accepted.
The passport officer scrutinizes the applications received and verifies the applicant details. The
verification officer acknowledges the applicant about the progress in verification process and
counsels him. After cross checking all the details the passport is issued upon all the details found
to be true.
1
1.5 References : None
2. OVERALL DESCRIPTION:
2.1 Product Perspective:
The system is a new, self-contained product with its own requirements and functionalities.
2.2 Product Features:
The significant functions that this product performs as well as lets the user to perform are as
follows:
1. Submitting an application form.
2. Making the payment as required.
3. Applying for a particular course.
4. Acknowledgement about the counseling dates.
5. Verification of applicant details.
6. Issuance of the passport.
2.3 User Classes and Characteristics:
The various user classes that are being anticipated will this product is administrator and students.
APPLICANT:
The applicant browses the homepage and submits the form. The applicant can keep track of the
verification process and be informed about the tentative dates for the counseling.
VERIFICATION OFFICER:
The verification officer verifies the applicant details and reports it to the passport issuing officer.
He charts out the dates for counseling and gives the information to applicant.
PASSPORT ISSUING OFFICER:
He checks the applications and verifies them to be passed over to the verification officer. He does
the verification and issues the passport after the report of the verification officer.
2.4 Operating Environment:
Hardware: 64 MB RAM, DB Server 128 MB RAM
Operating system: windows 98 and upwards
2.5 Design and Implementation Constraints:
A server with high end processor is required. The website must be registered in a domain to post
to on the internet. Time and funding are the major constraints. Delivering on time with all the
specification implied to the software is a major factor.
3. SYSTEM FEATURES:
3.1 System Feature1:
LOGIN
2
3.1.1 Description and Priority:
This use case allows the applicant to access the website and fill their application form.
3.1.2 Stimulus/Response Sequences:
BASIC FLOW
• The applicant views the homepage and enters the required details in the application form.
• The application fees are to be paid online.
• The application can check out the progress of the verification of his application.
• The applicant is given the tentative schedule for the counseling.
• The applicant gets the passport after verification.
3.1.3 Functional Requirements:
ALTERNATIVE FLOW: None.
SPECIAL REQUIREMENTS:
A website should be registered in a domain to be accessed all over the world through internet.
PRE-CONDITIONS:
The entered details must be saved in the database.
POST-CONDITIONS:
If the application is not submitted successfully it should generate an error message.
3.2 System Feature 2:
ENTER DETAILS:
3.1.1 Description and Priority:
This use case allows the verification officer to verify the forms and passport officer to issue
passport.
3.1.2 Stimulus/Response Sequences:
BASIC FLOW:
The verification officer verifies the applications.
The issuing officer issues the passport after t6hye report by the verification officer.
3.1.4 Functional Requirements:
ALTERNATIVE FLOW:
If any of the required data is left or invalid the user should have to enter the proper details.
SPECIAL REQUIREMENTS: None.
PRE-CONDITIONS: None.
POST-CONDITIONS:
After entering the details, system should start processing it and store it into the Database.
4. EXTERNAL INTERFACE REQUIREMENTS:
3
4.1 User Interfaces:
The interface allows the applicant to enter the form and submit the form. TheApplicant receives
the schedule for counseling. The verification officer is able to view the application and verify the
details. He sends the report to issuing officer. The issuing officer can also view the form and after
complete verification issues the passport
4.2 Hardware Interfaces:
Disk is used for data storage. Keyboard is used for getting the input details and the monitor displays
the output generated for the given input. Printer is used for printing the generated reports if
necessary.
4.3 Software Interfaces:
Software: Java and Oracle10g
Windows XP, 7
Tools: Eclipse IDE, AgroUML 0.34/ Rational Rose 3
5. OTHER NONFUNCTIONAL REQUIREMENTS:
5.1 Performance Requirements:
The database should store and maintain the applicant details.
5.2 Security Requirements:
The applicant details are made secure.
5.3 Software Quality Attributes:
The expected key attributes out of this product are adaptability, availability, correctness, flexibility,
interoperability, maintainability, portability, reliability, reusability, robustness, testability, and
usability.
USE CASE DIAGRAM:
Dispatch Password
4
CLASS DIAGRAM:
ACTIVITY DIAGRAM:
New Registration
Check Status
5
Admin Panel
SEQUENCE DIAGRAM:
New Registration
Applicant System
Database
6
Check Status
Admin Panel
7
COLLABORATION DIAGRAMS:
New Registration
Check Status
AdminPanel
8
COMPONENT DIAGRAM:
Admin
Authentication
Admin
Application Panel
Status
9
PACKAGE DIAGRAM:
Passport
Admin
Automat...
Authentication
Application
status New Admin
Registration
DEPLOYMENT DIAGRAM:
CODING:
RESULT:
Thus the passport automation system project was executed and the output is verified.
10
EX.NO: 2 BOOK BANK SYSTEM
DATE:
AIM:
To study the problem statement, SRS document and draw all the UML diagrams of a book bank.
PROBLEM STATEMENT:
To create BOOK BANK software that will meet the needs of the applicant and help them to
registering and buy the book for the book bank, modification in database and cancellation for the
registered project.
OVERALL DESCRIPTION:
The Book Bank System is an integrated system that has four modules as part of it. The four
modules are
Registration for the Book:
In this module, the user can select the books to register for the book bank, Modification in the
book database, canceling the books.
Book details
In this module the user can search for the books by giving book_id in the project and selecting
the semester for the book.
Book Bank Details
In this module the administrator can change the data’s like the semester, address, books can be
done.
Cancellation for the Book
In this module the user can cancel their name which is registered for the Book.
SOFTWARE REQUIRMENTS:
1. Microsoft Visual Basic 6.0
2. Rational Rose /Agro UML
3. SQL 8.0
HARDWARE REQUIRMENTS:
1.512MB RAM2. Pentium III Processor
11
USE CASE DIAGRAM:
student details
register
computer
verify student id
student
book bank admin
return previous books
request of books
CLASS DIAGRAM:
12
SEQUENCE
DIAGRAM:
student
student intranet
intranet library
library
3: available or not
4: available
COLLABORATION DIAGRAM:
3: available or not
13
COMPONENT DIAGRAM:
14
ACTIVITY DIAGRAM:
PACKAGE DIAGRAM:
student1 professor
15
DEPLOYMENT DIAGRAM:
CODING:
//Source file: D:\\jdk1.6.0\\bin\\computer.java
Public class computer
{
private int student Record;
private int booklist;
/**
* @roseuid 55EFFBB4004E
*/
public computer ()
{
}
/**
* @roseuid 55EFF21B0203
*/
public void maintainStudentRecords ()
{
}
/**
* @roseuid 55EFF2290242
*/
public void enter Issue ()
{
}
/**
* @roseuid 55EFF22C037A
*/
public void orderNewAuthors ()
{
}
/**
16
* @roseuid 55EFF233029F
*/
public void check Availability ()
{
}
}
//Source file: D:\\jdk1.6.0\\bin\\student.java
public class student
{
private int student Details;
public computer the Computer;
/**
* @roseuid 55EFFBD60232
*/
public student ()
{
}
/**
* @roseuid 55EFF25F030D
*/
public void requestForBooks ()
{
}
/**
* @roseuid 55EFF2660119
*/
public void returnPreviousBooks ()
{
}
/**
* @roseuid 55EFF26D0213
*/
public void register ()
{
}
}
/**
* Student. Student ()
* Student.Loginout () {
*
}
* Student. Login () {
*}
* void student. apply () {
*
*}
* student. student ()
* void student.selectTheSubect () {
*
*}
*///Source file: D:\\jdk1.6.0\\bin\\admn.java
17
public class admn
{
private int student Details;
private int booklist;
public computer the Computer;
/**
* @roseuid 55EFFBD70138
*/
public admn ()
{
}
/**
* @roseuid 55EFF29800AB
*/
public void verifyStudentId ()
{
}
/**
* @roseuid 55EFF29F009C
*/
public void checkForBookAvailability ()
{
}
/**
* @roseuid 55EFF2AF0261
*/
public void orderForNewAuthors ()
{
}
/**
* @roseuid 55EFF2AA0242
*/
public void issue Books ()
{
}
/**
* @roseuid 55EFF2C50000
*/
public void maintainStudentDetails ()
{
}
}
RESULT:
Thus the book bank project was executed and the output was verified.
18
EX.NO: 3 EXAM REGISTRATION
DATE:
AIM:
To study the problem statement, SRS document and draw all the UML diagrams of a exam
registration system.
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.
1. INTRODUCTION:
1.1 Purpose:
This project is about developing an exam registration system for a Francis Xavier Engineering
college within budget and should be delivered on time. The system should be able to facilitate the
student to login and submit the required details. The student can do online payment, take up the
online exam. The administrator should do the verification and validation of the student entered
details, issues the registration number and hall ticket. Evaluation will be done by the administrator
after the exam is over and the result should be displayed. The students should be able to view the
results and get the marks sheet.
19
1.4 Project Scope:
An online exam registration software that allows the students to login using their own username
and password. Students can enter the required details and submit it online. The student can make
the fee payment and take up the exam. The administrator will provide the validation upon the
verification. The result will be displayed and students can view their marks sheet.
1.5 References: None
2. OVERALL DESCRIPTION:
20
2.5 Design and Implementation Constraints:
A server with high end processor is required. The website must be registered in a domain to post
to on the internet. Time and funding are the major constraints. Delivering on time with all the
specification implied to the software is a major factor. To use and apply new technology to the
software in order to cope with time, funds play a vital role.
3. SYSTEM FEATURES:
This use case allows the administrator and students to access the system.
BASIC FLOW:
21
4. EXTERNAL INTERFACE REQUIREMENTS:
Disk is used for data storage. Keyboard is used for getting the input details and the monitor displays
the output generated for the given input. Printer is used for printing the generated reports if
necessary.
22
USECASE DIAGRAM:
CLASS DIAGRAM
23
ACTIVITY DIAGRAM:
24
STATE CHART DIAGRAM:
Enter into
system
select
subject
apply for
exam
modify data
base
SEQUENCE DIAGRAM:
25
COLLABRATION DIAGRAM:
6: note id
exam
registration
7: modify databse
8: cancel the subject registration
5: generation of registration id
4:
databse
COMPONENT DIAGRAM:
DEPLOYMENT DIAGRAM:
26
CODING:
//Source file: C:\\Program Files\\Rational\\Rose\\student.java
public class student
{
private int name;
private int id;
private int address;
private int phone Number;
private int subject Name;
public exam Database theExamDatabase;
/**
* @roseuid 55FE5FD40016
*/
public student()
{
}
/**
* @roseuid 55FE5F300151
*/
public void selectTheSubject()
{
}
/**
* @roseuid 55FE5F37006C
*/
public void apply()
{
}
/**
* @roseuid 55FE5F39027B
*/
public void cancel()
{
}
/**
* @roseuid 55FE5F3D03DC
*/
public void modify()
{
}
}
//Source file: C:\\Program Files\\Rational\\Rose\\examDatabase.java
public class exam Database
{
private int id;
private int name;
27
private int address;
private int phone Number;
private int subject;
public database the Database;
/**
* @roseuid 55FE5FD302E5
*/
public exam Database()
{
}
/**
* @roseuid 55FE5F5201F6
*/
public void update()
{
}
/**
* @roseuid 55FE5F55025E
*/
public void modify()
{
}
/**
* @roseuid 55FE5F5703E1
*/
public void select()
{
}
/**
* @roseuid 55FE5F5A0237
*/
public void displayId()
{
}
}
//Source file: C:\\Program Files\\Rational\\Rose\\database.java
public class database
{
private int id;
private int name;
private int phone No;
private int subject;
public student the Student;
/**
* @roseuid 55FE5FD30371
*/
28
public database()
{
}
/**
* @roseuid 55FE5FA90345
*/
public void display Registration()
{
}
/**
* @roseuid 55FE5FB10329
*/
public void display Subject()
{
}
/**
* @roseuid 55FE5FB601E9
*/
public void update()
{
}
}
RESULT:
Thus the exam registration system project was executed and the output was verified.
29
EX.NO: 4 STOCK MAINTENANCE SYSTEM
DATE:
AIM:
To study the problem statement,SRS document and draw all the UML diagrams of a stock
maintenance system.
PROBLEM DOMAIN:
Inventory system is a real time application used in the merchant’s day to day system. This is a
database to store the transaction that takes places between the Manufacturer, Dealer and the Shop
Keeper that includes stock inward and stock outward with reference to the dealer.
Here we assume our self as the Dealer and proceed with the transaction as follows:
1. The Manufacturer is the producer of the items and it contains the necessary information of
the item such as price per item, Date of manufacture, best before use, Number of Item available
and their Company Address.
2. 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.
3. 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.
4.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.
1. INTRODUCTION:
1.1 Purpose :
This project is about developing a stock maintenance system within budget and should be
delivered on time. The system should be able to provide the customers to search the required items
and receive the bill upon buying the item. The administrator should update the item details, add or
delete the required items. All the customer and administrator performed activities should be
updated in the database.
1.2 Document Conventions:
The headings have been written using “normal” style with “Times New Roman” font and font size
of “12”. with bold type. The contents under each heading uses “normal” style with “times” font
and font size of “12”. The subheadings under each headings also use “normal” style with
30
“times” font and size “12”. Every requirement statement has its own priority and each requirement
is to be had a detailed study.
1.3 Intended Audience and Reading Suggestions:
The different types of reader that the document is intended for are developers, project managers,
users, testers, and documentation writers. This SRS contains keenly analyzed and well organized
requirements specification which the system is supposed to contain when being delivered to its
customer.
1.4 Project Scope:
An online course reservation system is a software that allows the students to view the list of courses
available and make reservations. The system allows the students to enter their personal details
needed for applying to a course. The administrator verifies the details and maintains course details
as well as the student information.
1.5 References: None
2. OVERALL DESCRIPTION:
2.1Product Perspective:
The system is a new, self-contained product with its own requirements and functionalities
2.2 Product Features:
The significant functions that this product performs as well as lets the user to perform are as
follows:
1. Entering details of new items added to stock.
2. Deleting the items which are not in stock.
3. Update the item details.
4. Database updates all the details.
5. Search the items by customer.
6. Confirmation of purchase.
7. Bill receipt generation.
8. Purchase details to be stored in database.
2.3 User Classes and Characteristics:
The various user classes that are being anticipated will this product is administrator and students.
ADMINISTRATOR:The administrator has the privilege to maintain the stock details, entering
the available item details, deleting records of unavailable items, updating any purchase.
CUSTOMERS:
The customer can browse through the available items in stock and make purchases. The customer
receives a bill receipt after the purchase details are updated in database.
31
2.4 Operating Environment:
Hardware: 64 MB RAM, DB Server 128 MB RAM
Operating system: windows 98 and upwards
2.5 Design and Implementation Constraints:
A server with high end processor is required. The website must be registered in a domain to post to
on the internet. Time and funding are the major constraints. Delivering on time with all the
specification implied to the software is a major factor. To use and apply new technology to the
software in order to cope with time, funds play a vital role.
3. SYSTEM FEATURES:
LOGIN:
This use case allows the administrator and customer to access the website and perform required
activities.
BASIC FLOW:
32
4.2 Hardware Interfaces:
Disk is used for data storage. Keyboard is used for getting the input details and the monitor displays
the output generated for the given input. Printer is used for printing the generated reports if
necessary.
4.3 Software Interfaces:
Software: Java and Oracle10g
Windows XP,7
Tools: Eclipse IDE, Rational Rose-2 /Agro UML
5. OTHER NONFUNCTIONAL REQUIREMENTS:
5.1 Performance Requirements:
The updations in database should be persistent.
5.2 Security Requirements
The database access privilege is only provided to the authorized administrator. Purchase
transactions and all item details to be updated without error.
5.3 Software Quality Attributes
The expected key attributes out of this product are adaptability, availability, correctness, flexibility,
interoperability, maintainability, portability, reliability, reusability, robustness, testability, and
usability.
USE CASE DIAGRAM :
33
CLASS DIAGRAM :
Exit
no of items/price/name/total
price
34
ACTIVITY DIAGRAM :
35
SEQUENCE DIAGRAM :
3.PRICE/ITEM
3.PRICE/ITEM
36
COLLABORATION DIAGRAM :
5: 3.PRICE/ITEM
9: 5.TOTAL PRICE
COMPONENT DIAGRAM :
DEPLOYMENT DIAGRAM :
37
CODING:
//Source file: C:\\Program Files\\Rational\\Rose\\manufacturer.java
public class manufacturer
{
private int manufacturer Name;
private int company Name;
private int dateOfManufactured;
private int address;
private int contact Number;
private int price;
public dealer the Dealer;
/**
* @roseuid 55FE64580345
*/
public manufacturer()
{
}
/**
* @roseuid 55FE639303E7
*/
public void purchase()
{
}
/**
* @roseuid 55FE639702D8
*/
public void sales()
{
}
}
//Source file: C:\\Program Files\\Rational\\Rose\\dealer.java
public class dealer
{
private int dealer Name;
private int dateOfItemsReceived;
private int address;
private int contact Number;
private int price;
private int noOfItemsOrdered;
private int noOfItemsSold;
public manufacturer theManufacturer;
public shopkeeper theShopkeeper;
/**
* @roseuid 55FE6458029A
*/
public dealer()
38
{
}
/**
* @roseuid 55FE63F50154
*/
public void purchase()
{
}
/**
* @roseuid 55FE63FC01E5
*/
public void sales()
{
}
/**
* @roseuid 55FE63FF00E7
*/
public void showStockDetails()
{
}
}
public class shopkeeper
{
private int shopkeeperName;
private int address;
private int contact Number;
private int price;
private int noOfItemsOrdered;
public dealer the Dealer;
/**
* @roseuid 55FE64590047
*/
public shopkeeper()
{}/**
* @roseuid 55FE642E02FC
*/
public void purchase()
{}
public void sales()
{}
RESULT:
Thus the stock maintenance system project was executed and the output was verified
39
EX.NO:5 ONLINE COURSE RESERVATION SYSTEM
DATE:
AIM:
To design an object oriented model for course reservation system.
PROBLEM STATEMENT:
A Course Reservation Project is software which is used to manage the seats allocation of the
various colleges of various departments for the eligible students. It also gives full access to the
students to check the availability of the seats in the colleges according to the category of the
community which the students belong to. The student can check for the information of the
college, such that the year which the college is started, where the college is situated and the
chairman of the college. This software allows the administrator to allot the seat for the eligible
candidates to the group which they wish and the group and college which are available at that
time.
1. INTRODUCTION:
1.1 Purpose:
This project is about developing an online course reservation system within budget and should be
delivered on time. The system should be able to provide the available course list and all course
related details to the student. Students can login, update their personal information and make online
reservations for a particular course. The administrator will be able to maintain the course details,
student details, verify details and provide reservations
1.2 Document Conventions:
The headings have been written using “normal” style with “Arial” font and font size of”12” with
bold type. The contents under each heading uses “normal” style with “times” font and font size of
“12”. The subheadings under each headings also use “normal” style with “times” font and size
“12”. Every requirement statement has its own priority and each requirement is to be had a detailed
study.
1.3 Intended Audience and Reading Suggestions:
The different types of reader that the document is intended for are developers, project managers,
users, testers, and documentation writers. This SRS contains keenly analyzed and well organized
requirements specification which the system is supposed to contain when being delivered to its
customer. The Suggested way of reading the document for all the readers is in the sequence as it
has been given in the document.
40
1.4 Project Scope:
An online course reservation system is a software that allows the students to view the list of courses
available and make reservations. The system allows the students to enter their personal details
needed for applying to a course. The administrator verifies the details and maintains course details
as well as the student information.
1.5 References: None
2. OVERALL DESCRIPTION:
2.1 Product Perspective:
The system is a new, self-contained product with its own requirements and functionalities
2.2 Product Features:
The significant functions that this product performs as well as lets the user to perform are as
follows:
1. Verifying the student login.
2. Displaying the courses and each course details.
3. Applying for a particular course.
4. Entering personal details required.
5. Verification of student details.
6. Confirmation of reservation.
2.3 User Classes and Characteristics:
The various user classes that are being anticipated will this product is administrator and
students.
ADMINISTRATOR:
The administrator can provide access privilege to the student through a Student login, maintain
the student details, course details and curriculum. The administrator also verifies the information
entered by the student.
STUDENTS:
The students can login, enter their personal details. They can also view the courses available,
course details and can apply for any of the courses.
2.4 Operating Environment:
Hardware: 64 MB RAM, DB Server 128 MB RAM
Operating system: windows 98 and upwards
2.5 Design and Implementation Constraints:
A server with high end processor is required. The website must be registered in a domain to post
to on the internet. Time and funding are the major constraints. Delivering on time with all the
41
specification implied to the software is a major factor. To use and apply new technology to the
software in order to cope with time, funds play a vital role. If the customer fails to provide the
proper size of the product that is to be developed it will cause major problems for the completion
of the project.
3. SYSTEM FEATURES:
3.1 System Feature 1:
LOGIN:
This use case allows the administrator and students to access the website.
BASIC FLOW:
ALTERNATIVE FLOW:
If the student doesn’t give the right password, an error message will be displayed.
SPECIAL REQUIREMENTS:
A website of the college which should be registered in a domain to be accessed
all over the world through internet.
PRE-CONDITIONS:
The username and the corresponding passwords and the userid should already be available in
the legacy database. The student should provide required personal information.
POST-CONDITIONS:
If the login succeeds the student can view the course list and also make the reservations.
3.2 System Feature 2:
ENTER DETAILS:
3.1.1 Description and Priority:This use case allows the students to enter the username and
password for login, their details name, dob, age, address, qualification along with marks.
42
3.1.2 Stimulus/Response Sequences:
BASIC FLOW:
1. The student should enter the name, address, age, dob, qualification with marks.
2. The administrator verifies the entered details and provides the confirmation for reservation.
3.1.4 Functional Requirements:
ALTERNATIVE FLOW:
If any of the required data is left or invalid the user should have to enter the proper details.
SPECIAL REQUIREMENTS: None.
PRE-CONDITIONS:
The student should have been login properly.
POST-CONDITIONS:
After entering the details, system should start processing it and store it into the Database.
4. EXTERNAL INTERFACE REQUIREMENTS:
4.1 User Interfaces:
The interface allows the student to login, browse through the course details as well as select
the preferred course. The student can enter the required personal details for verification. The
administrator provides validation to the student using login and password. The administrator
maintains the course details, verifies the student details and confirms or rejects the reservation.
4.2 Hardware Interfaces:
Disk is used for data storage. Keyboard is used for getting the input details and the monitor
displays the output generated for the given input. Printer is used for printing the generated reports
if necessary.
4.3 Software Interfaces:
Software: Java and Oracle10g
Windows XP,7
Tools: Eclipse IDE, AgroUML 0.34/ Rational Rose 3
5. OTHER NONFUNCTIONAL REQUIREMENTS:
5.1 Performance Requirements:The student should be able to login. The course list must be
displayed correctly with course curriculum.
5.2 Security Requirements :
The student can login and access the system only using the username and password to make
reservations. If any user without proper username, password or register number try to login they
should be blocked or stopped from doing so. The personal information is also to be made secure.
43
5.3 Software Quality Attributes
The expected key attributes out of this product are adaptability, availability, correctness,
flexibility, interoperability, maintainability, portability, reliability, reusability, robustness,
testability, and usability.
CLASS DIAGRAM:
44
ACTIVITY DIAGRAM:
45
COMPONENT DIAGARAM:
SEQUENCE DIAGRAM:
COLLABORATION DIAGRAM:
46
DEPLOYMENT DIAGRAM:
CODING:
//Source file: C:\\Program Files\\Rational\\Rose\\professor1.java
public class professor1
{
private int name;
private int department;
private int staffid;
public student1 theStudent1;
/**
* @roseuid 55FE69DB0325
*/
public professor1()
{
}
public void generateSyllabus()
{
}
/**
* @roseuid 55FE69D40091
*/
public void staff1()
{
}
47
/**
* @roseuid 55FE69D7033B
*/
public void staff2()
{
}
}
//Source file: C:\\Program Files\\Rational\\Rose\\student1.java
public class student1
{
private int name;
private int age;
private int gender;
private int address;
private int department;
public administrator1 theAdministrator1;
/**
* @roseuid 55FE6A100135
*/
public student1()
{
}
public void stud1()
{
} /**
* @roseuid 55FE6A070366
*/
public void stud2()
{
}
}
//Source file: C:\\Program Files\\Rational\\Rose\\administrator1.java
48
public class administrator1
{
private int name;
private int age;
public database1 theDatabase1;
/**
* @roseuid 55FE6A5E0398
*/
public administrator1()
{
}
/**
* @roseuid 55FE6A3B02E4
*/
public void maintainstudentdetails()
{
}
/**
* @roseuid 55FE6A5302CF
*/
public void maintainstaffdetails()
{
}
/**
* @roseuid 55FE6A5A015D
*/
public void administrator()
{
}
}
//Source file: C:\\Program Files\\Rational\\Rose\\database1.java
public class database1
49
{
private int ID;
/**
* @roseuid 55FE6AB201EB
*/
public database1()
{
}
/**
* @roseuid 55FE6A7502BA
*/
public void courseAvailable()
{
}
/**
* @roseuid 55FE6A7C00DB
*/
public void updatenoofseatsavailable()
{
}
/**
* @roseuid 55FE6A87025F
*/
public void storethestudentdetails()
{
}
}
RESULT:
Thus the online course reservation system project was executed and the output was
verified.
50
EX.NO: 6 E-TICKETING SYSTEM
DATE:
AIM:
To develop the E-Ticketing System using Rational Rose Software
PROBLEM STATEMENT:
To create an E-Ticketing software that will meet the needs of the applicant and help them to
registering the tickets in the project, modification in database and cancellation for the registered
project.
OBJECTIVES:
To analyze the problem gather the requirements and implementation online ticket at reservation
system and to model the data using UML diagram.
PHASE 1:
PROBLEM ANALYSIS:
The System will allow passenger,
1. To register their tickets
2. To cancel their tickets
3. To new the reservation charts.
The system will maintain a ticket database for ticket availability and for the reservation chart so
when then user wants to reserve the ticket. She/he must check availability. If the tickets are not
available then the system has to provide an alternative.
Try for another train or an another date, waitinglist, cancel name,source,destination,time,date and
finally the credit and detail for payment as well as reference. User enter details, if the details are
valid then the system reaches the seat availability for specification, if the ticket is available then
the system has to provide a way for reservation otherwise the system has provide way for
alternative.
Based on choice by the user, the system recycled the process if a passenger wants to cancel his
ticket with rules after confirmation of tickets the system allows cancelling his ticket with rules. If
a ticket is cancelled then seat is allotted for another user who is waiting for the same.
PHASE 2:
Functional Requirement Analysis:
User:
51
External entity to the system and this entity initiate the reservation process of this
reservation.
Schedule:
This is the system and if it is responsible for each event caused by the user.
Ticket availability:
This is the continuation of the ticket enquiry it was based on train details displaying alternative
choices if seats are not available is the part of the state displayed in available phases.
Cancellation:
This is independent process from the reservation this is the phase to cancel a confirmed ticket.
Identifying actors and use cases:
1. Passenger:
• Login
• Reservation
• Cancellation
• View chart
2. System
• Login processing
• Checking
PHASE 3:
Data Modeling:
The various data modeling techniques which are implemented in the online ticket
reservation system are,
1. Use case Diagram
2. Class Diagram
3. State chart
4. Sequence Diagram
5. Activity Diagram
6. Collaboration Diagram
7. Component Diagram
PHASE 4:
Software Requirements:
The software is now designed in rational rose and skeleton code in java.
52
USECASE DIAGRAM:
CLASS DIAGRAM:
53
ACTIVITY DIAGRAM:
54
SEQUENCE DIAGRAM:
Passenger Station
Reservation Database
form controller
COLLABARATION DIAGRAM:
COMPONENT DIAGRAM:
55
DEPLOYMENT DIAGRAM:
CODING:
//Source file: C:\\Program Files\\Rational\\Rose\\ticketSystem.java
public class ticket System
{
private int username;
private int password;
public flight Details theNewClass2;
public ticket theNewClass3;
/**
* @roseuid 55FE5B4301A7
*/
public ticket System()
{
}
/**
* @roseuid 55FE576D02F9
*/
public void login()
{
}
/**
* @roseuid 55FE583A00AE
*/
public void logout()
{}}
public class flight Details
{
private int train number;
private int train capacity;
private int train cost;
/**
* @roseuid 55FE5B4300CC
*/
public flight Details()
{}
/**
* @roseuid 55FE57780113
*/
public void add()
{
}
/**
* @roseuid 55FE5884035B
56
*/
public void delete()
{
}
/**
* @roseuid 55FE57AB03D1
*/
public void view()
{
}
}
//Source file: C:\\Program Files\\Rational\\Rose\\ticket.java
public class ticket
{
private int ticket no;
private int passenger name;
private int from;
private int to;
private int amount;
/**
* @roseuid 55FE5B430139
*/
public ticket()
{
}
/**
* @roseuid 55FE577C0300
*/
public void add()
{
}
/**
* @roseuid 55FE57AC00E3
*/
public void delete()
{
}
/**
* @roseuid 55FE58EA01AF
*/
public void view()
{
}
* @roseuid 55FE58EE02A2
*/
public void print()
{}
}
RESULT:
Thus the E ticketing project was executed and the output was verified.
57
EX.NO: 7 SOFTWARE PERSONNEL MANAGEMENT SYSTEM
DATE:
AIM:
To develop a project software personnel management system using the Rational Rose
Software
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 visual basic 6.0 and
MS Access
1. INTRODUCTION
1.1 Purpose
This project is about developing an software persona management system for a software
company within budget and should be delivered on time. The system should be able to provide the
available to maintain the employee details and help the HR to monitor the employee activities.
This system also allows provides the facility to maintain the recruitment details, training and
performance details of the employees. The HR can also facilitate the salary increment. The
employees can use it for time management.
The headings have been written using “normal” style with “Arial” font and font size of”12” with
bold type. The contents under each heading uses “normal” style with “times” font and font size of
“12”. The subheadings under each headings also use “normal” style with “times” font and size
“12”. Every requirement statement has its own priority and each requirement is to be had a detailed
study.
58
motivation. The employees will also be able to check their training and salary details. Employees
can keep track of their performance and do time management for improvement.
2. OVERALL DESCRIPTION
The significant functions that this product performs as well as lets the user to perform are
as follows:
1. Access to the HR and employees.
2. Displaying the recruitment details to HR.
3.Training and salary details to be accessed by HR and employees.
4. Monitoring the employee’s performance by HR.
5. Keeping track of employee performance and time management.
6. Motivation provided by HR.
59
3. SYSTEM FEATURES
This use case allows the HR and employees to access the system and maintain the records.
BASIC FLOW
1. The employee can check out his training and salary details.
2. The HR keeps record of recruitment and training details of an employee.
3. The employee can check out his performance and time management ability.
4.The HR manages the salary and monitors the employee performance.
5. The HR also updates the increment in employee salary and gives motivation.
3.3. Functional Requirements
SPECIAL REQUIREMENTS
A website of the company which should be registered in a domain to be accessed all over the world
through internet. Only the employees and HR working under the company can access the system.
The updating of details is not allowed by the employees.
PRE-CONDITIONS
The username and the corresponding passwords and the userid should already be available in the
legacy database. The employees and HR should provide required information according to
provided privileges.
POST-CONDITIONS
The HR monitors all the employees’ details and updates it. Employees keep track of their
performance and improve their performance by time management.
60
4.3 Software Interfaces
Software: Java and Oracle10g
Windows XP,7
Tools: Eclipse IDE, AgroUML 0.34/ Rational Rose 3
USECASE DIAGRAM:
CLASS DIAGRAM:
61
ACTIVITY DIAGRAM:
62
SEQUENCE DIAGRAM:
COLLABORATION DIAGRAM:
63
COMPONENT DIAGRAM:
details
DEPLOYMENT DIAGRAM:
CODING:
//Source file: C:\\Program Files\\Rational\\Rose\\payrollLogin.java
public class payroll Login
{
private string enters Details;
private string edits Details;
public pay thePayslip;
public view Details theViewDetails;
/**
* @roseuid 55FE7212032F
*/
public payroll Login()
{
}
/**
* @roseuid 55FE6DBD00B9
64
*/
public void exit()
{
}
}
//Source file: C:\\Program Files\\Rational\\Rose\\payslip.java
public class payslip
{
private int name;
private int eid;
private int department;
private int experience;
private int basicPay;
private int hra;
private int da;
private int bpf;
private int gpay;
/**
* @roseuid 55FE72A503B9
*/
public payslip()
{
}
/**
* @return String
* @roseuid 55FE6DFC03DD
*/
public String delete()
{
return null;
}
/**
* @roseuid 55FE6E0302C9
*/
public void save()
{
}
/**
* @roseuid 55FE6E08012B
*/
public void claculate()
{
}
/**
* @roseuid 55FE6E0B003C
*/
public void exit()
{
}
}
65
public class view Details
{
private int eid;
private int name;
private int dept;
private int exp;
private int basicPay;
private int hra;
private int da;
private int bpf;
private int gpay;
/**
* @roseuid 55FE6E4900A4
*/
public view Details()
{}/**
* @roseuid 55FE6E310388
*/
public void View()
{}/**
* @roseuid 55FE6E3401DE
*/
public void Exit()
{}
RESULT:
Thus the software personnel management system was executed and the output was verified.
66
EX.NO: 8 CREDIT CARD PROCESSING
DATE:
AIM:
To draw the diagrams [use case, activity, sequence, collaboration, class] for Credit Card
Processing
HARDWARE REQUIREMENTS:
Intel Pentium Processor 3
SOFTWARE REQUIREMENTS:
Rational rose
PROJECT DESCRIPTION:
This software is designed for supporting the computerized credit card processing System .In this
system, the cardholder purchases items and pays bill with the aid of the credit card. The cashier
accepts the card and proceeds for transaction using the central system. The bill is verified and the
items are delivered to the cardholder.
USE CASE DIAGRAM:
This diagram will contain the actors, use cases which are given below
Actors: Cardholder, Cashier, Central system.
Use case: Receive bill, Give card, Enter card number, Enter amount, Transaction,Receive
Receipt
ACTIVITY DIAGRAM:
This diagram will have the activities as Start point ,End point, Decision boxes as given below:
Activities: Receive Bill, Give card, Enter the card number, Enter the amount,Transaction,
Receive Receipt
Decision box: Verification of card
SEQUENCE DIAGRAM:
This diagram consists of the objects, messages and return messages.
Object: Card Holder, Cashier , Central system
67
CLASS DIAGRAM:
This diagram consists of the following classes, attributes and their operations.
COLLABORATION DIAGRAM:
This diagram contains the objects and actors. This will be obtained by the completion of the
sequence diagram and pressing the F5 key.
MERITS:
Provides convenience.
Easily understandable.
User friendliness.
DEMERITS:
Need computer knowledge.
It is complex for large scale products.
USECASE DIAGRAM:
Purchase Product
Central System
Give card
Enter amount
card holder
Deliver Product
68
CLASS DIAGRAM:
ACTIVITY DIAGRAM
69
STATE CHART DIAGRAM
COLLABORATION DIAGRAM
1: Purchase Product
2: Give card
7: Sign the receipt
Card Cashier
Holder
6: Deliver bill
9: Deliver Product
5: Print bill
3: Swipe Card
4: Enter the
amount
8: Accept Receipt
Centr
al
System
70
SEQUENCE DIAGRAM:
Give card
Swipe Card
Print bill
Deliver bill
Accept Receipt
Deliver Product
71
COMPONENT DIAGRAM:
DEPLOYMENT DIAGRAM:
central system
cashier
card holder
CODING:
//Source file: C:\\Program Files\\Rational\\Rose\\centralSystem.java
public class central System
{
private int product Name;
private int product Details;
/**
* @roseuid 55FE919C00BD
*/
public central System()
{
}
/**
* @roseuid 55FE912C024B
*/
public void print Bill()
{
}
72
/**
* @roseuid 55FE9130039C
*/
public void validate Card()
{
}
}
//Source file: C:\\Program Files\\Rational\\Rose\\cardholder.java
public class cardholder
{
private int items Purchased;
private int credit card;
public central System theCentralSystem;
/**
* @roseuid 55FE919C0002
*/
public cardholder()
{
}
/**
* @roseuid 55FE915F000E
*/
public void sign bill()
{
}
/**
* @roseuid 55FE91620110
*/
public void give card()
{
}
}
//Source file: C:\\Program Files\\Rational\\Rose\\cashier.java
public class cashier
{
public central System theCentralSystem;
/**
* @roseuid 55FE919C0060
*/
public cashier()
{
}
/**
* @roseuid 55FE916E01D7
*/
public void enter amount()
{
}
/**
* @roseuid 55FE917C01ED
73
*/
public void print bill()
{
}
/**
* @roseuid 55FE91810159
*/
public void deliver Product()
{
}
/**
* @roseuid 55FE91720125
*/
public void swipe card()
{
}
}
RESULT:
Thus the diagrams [Use case, class, activity, sequence, collaboration] for the Stock
maintenance system has been designed ,executed and output was verified.
74
EX.NO: 9 E-BOOK MANAGEMENT SYSTEM
DATE:
AIM:
To study the problem statement, SRS document and draw all the UML diagrams of a
E-book management system
PROBLEM DOMAIN:
This 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.
1. INTRODUCTION:
1.1 Purpose
This project is about developing an e-book management system .The system should be
able to provide user login and display the available book list. The user should be able to search,
download and make payment for the desired books online. The administrator provides the
registered user to access the download books and make payment. The administrator also
updates and maintains the sales record.
1.2 Document Conventions:
The headings have been written using “normal” style with “Times New Roman” font
and font size of”12” with bold type. The contents under each heading uses “normal” style with
“times” font and font size of “12”. The subheadings under each headings also use “normal”
style with “times” font and size “12”.
1.3 Intended Audience and Reading Suggestions:
The different types of reader that the document is intended for are developers, project
managers, users, testers, and documentation writers. This SRS contains keenly analyzed and
well organized requirements specification which the system is supposed to contain when being
delivered to its customer. The required UML diagrams are there for simpler view.
1.4 Project Scope:
An e-book management system allows the users to search through the available books.
The registered users can only download the book upon payment. The administrator updates the
book details, availability and records the sales.
2. OVERALL DESCRIPTION:
2.1 Product Perspective:
75
The system is a new, self-contained product with its own requirements and functionalities.
2.2 Product Features:
The significant functions that this product performs as well as lets the user to perform is
as follows:
1. Verifying the user login.
2. Displaying the book details.
3. Downloading the required book.
4. Making payment.
5. Updating the availability of books.
6. Record the sales made and the transactions.
2.3 User Classes and Characteristics:
The various user classes that are being anticipated will this product is administrator and
students.
ADMINISTRATOR:
The administrator can provide access privilege to the users, maintain the books list and
allow only registered users to download. The sales made and books download details are
updated in database.
USERS AND REGISTERED USERS:
The user can browse the books list and only registered users are able to download the
desired book. The payment transaction is made online.
2.4 Operating Environment:
Hardware: 64 MB RAM, DB Server 128 MB RAM
Operating system: windows 98 and upwards
2.5 Design and Implementation Constraints:
A server with high end processor is required. The website must be registered in a domain to
post to on the internet. Time and funding are the major constraints. Delivering on time with
all the specification implied to the software is a major factor.
3. SYSTEM FEATURES:
3.1 System Feature 1:
LOGIN:
3.1.1 Description and Priority:
This use case allows the administrator and users to access the website.
3.1.2 Stimulus/Response Sequences:
BASIC FLOW:
76
1. The users can browse the books but registered users can login and download the book.
2. The user makes payment and downloads the book.
3. The user is provided with a login and password.
4. The administrator validates the user login, manages the transaction details and provides the
download privilege to the user.
3.1.3 Functional Requirements:
ALTERNATIVE FLOW:
If the user doesn’t give the right password, an error message will be displayed. If the user is
new he can register and then login.
SPECIAL REQUIREMENTS: None.
PRE-CONDITIONS:
The username and the corresponding passwords and the userid should already be available in
the legacy database.
POST-CONDITIONS:
If the login succeeds the user can view the book availabity list and download required books.
3.2 System Feature 2:
BOOK LIST AND AVAILABILTY:
3.2.1 Description and Priority
This use case allows the administrator to maintain the book availability and update the sale
details.
3.2.2 Stimulus/Response Sequences
BASIC FLOW
• The administrator provides access to registered user to download the book and
maintain the availability list.
• The payment details are stored in database
3.2.3 Functional Requirements
ALTERNATIVE FLOW
If the user is not registered, the book cannot be accessed.
SPECIAL REQUIREMENTS: None.
PRE-CONDITIONS:
The user should have been already registered.
POST-CONDITIONS:
After entering the details, system should start processing it and store it into the Database.
77
4. EXTERNAL INTERFACE REQUIREMENTS:
4.1 User Interfaces:
The interface allows the user to browse the available books and registered users can download
the book. The payment transaction is made successfully and the administrator keeps track of
all the payments and books downloaded. The sales made are updated in the database.
4.2 Hardware Interfaces:
Disk is used for data storage. Keyboard is used for getting the input details and the monitor
displays the output generated for the given input. Printer is used for printing the generated
reports if necessary.
4.3 Software Interfaces:
Software: Java and Oracle10g
Windows XP, 7
Tools: Eclipse IDE, AgroUML 0.34/ Rational Rose 3
5. OTHER NONFUNCTIONAL REQUIREMENTS:
5.1 Performance Requirements:
The user should be able to login and download the books. The sale record as well as payment
should be updated. The book availability should be maintained.
5.2 Security Requirements:
The payment transactions should be secured so that there is no misuse. Only registered users
should have access to book download.
5.3 Software Quality Attributes
The expected key attributes out of this product are adaptability, availability, correctness,
flexibility, interoperability, maintainability, portability, reliability, reusability, robustness,
testability, and usability.
USE-CASE DIAGRAM:
78
CLASS DIAGRAM:
ACTIVITY DIAGRAM:
COLLABORATION DIAGRAM:
1: SELECT TOPIC
3: SEARCH FOR TOPIC
5: EXIT
USER
79
STATE CHART DIAGRAM:
Select
book
Select
topic
Display table
contents
Select
80
SEQUENCE
DIAGRAM:
USER SYSTEM
COMPONENT DIAGRAM:
student Professor
Register
81
PACKAGE DIAGRAM:
DEPLOYMENT DIAGRAM:
BOARD
82
CODING:
//Source file: C:\\PROGRAM FILES\\JAVA\\JDK1.8.0_31\\bin\\Register.java
public class Register
{
private int Student Info;
private int Staff Info;
/**
* @roseuid 55FE5968013F
*/
public Register ()
{
/**
* @roseuid 55FE58A20352
*/
public void course Registration ()
{
}
}
RESULT:
Thus the E-Book management system project was executed and the output was verified.
83
EX.NO: 10 RECRUITMENT SYSTEM
DATE:
AIM:
To study the problem statement, SRS document and draw all the UML diagrams of a
Recruitment system
.PROBLEM STATEMENT:
To create a software system this can test the skills of the candidate by generating random
question and answer and implementing using Visual basic 6.0 and MS Access.
1. Introduction:
1.1 Purpose:
This project is about developing a recruitment system for a company within budget and should
be delivered on time. The system should be able to allow the candidate to register, login, appear
for the exam and view results. The administrator should do verification and provide the login
access to candidate for test. The result is stored in database and selected candidates receive the
interview notice. Database is updated if the candidate is selected.
1.2 Document Conventions:
The headings have been written using “normal” style with “Times New Roman” font and font
size of”12” with bold type. The contents under each heading uses “normal” style with “times”
font and font size of “12”. The subheadings under each headings also use “normal” style with
“times” font and size “12”. Every requirement statement has its own priority and each
requirement is to be had a detailed study.
1.3 Intended Audience and Reading Suggestions:
The different types of reader that the document is intended for are developers, project
managers, users, testers, and documentation writers. This SRS contains keenly analyzed and
well organized requirements specification which the system is supposed to contain when being
delivered to its customer.
84
2. Overall Description:
2.5 Design and Implementation Constraints:A server with high end processor is
required. The website must be registered in a domain to post to on the internet. Time and
funding are the major constraints. Delivering on time with all the specification implied to
the software is a major factor. To use and apply new technology to the software in order to
cope with time, funds play a vital role.
3. System Features:
85
3.1. System feature 1:
CANDIDATE LOGIN:
This use case allows the administrator and candidates to access the system.
1. The candidate can login and appear for the aptitude test.
2. The candidate can view the result and is informed if selected or not.
3. The candidate can view the company details.
ALTERNATIVE FLOW:
If the candidate doesn’t give the right password, an error message will be displayed and
cannot appear for the test.
PRE-CONDITIONS:
The candidate should provide the login details to take the test. The administrator should
verify the userid.
POST-CONDITIONS:
If the login succeeds the student can take up the test.
3.2 System Feature 2:
SELECTION PROCESS:
This use case allows the students to appear for the aptitude test and informed about the result
The administrator updates the database for result and selected candidates.
BASIC FLOW:
1. The candidate should attend the test and administrator updates result in the database .
2. The administrator selects the candidate based on the company selection criteria.
86
If any of the required data is left or invalid the user should have to enter the proper
details.
SPECIAL REQUIREMENTS: None.
PRE-CONDITIONS:
The student should have been login properly and submitted the answers. The candidates are
informed about selection .
POST-CONDITIONS:
The result to be displayed after submission of answers and also display the short-listed names
for interview. The selected list is updated in the database.
4. External Interface Requirements:
4.1 User Interfaces:
The interface allows the candidate to login, attend the test and view results. The administrator
provides validation to the candidate using login and process result upon the submission of
answers. The administrator maintains the candidate details, test details and selection criteria as
well as result display.
4.2 Hardware Interfaces:
Disk is used for data storage. Keyboard is used for getting the input details and the monitor
displays the output generated for the given input. Printer is used for printing the generated
reports if necessary.
4.3 Software Interfaces:
Software: Java and Oracle10g
Windows XP, 7
Tools: Eclipse IDE, AgroUML 0.34/ Rational Rose 3
5. Other Nonfunctional Requirements:
5.1 Performance Requirements:
The candidate should be able to login. The test questions, result and selection criteria to be
maintained. The administrator updates the result and short-listed names.
5.2 Security Requirements:
The student can login and access the system to attend the test. The test interface does not appear
if the login is not correct. The result updating privilege is only provided by the administrator
87
USE CASE DIAGRAM:
displaydata
CLASS DIAGRAM:
88
ACTIVITY DIAGRAM:
89
SEQUENCE
DIAGRAM:
COLLABORATION DIAGRAM:
2: verify login
3: request for questions for the test
7: verify the answer
4: send questi8
o:ndfo
isrptle
asyt result
Databas
e
90
COMPONENET DAIGRAM:
PACKAGE DIAGRAM:
91
DEPLOYMENT DIAGRAM:
CODING:
//Source file: C:\\PROGRAM FILES\\JAVA\\JDK1.8.0_31\\bin\\recruitmentTest.java
public class recruitment Test
{
private int question;
public Database the Database;
/**
* @roseuid 55FE71DF03B8
*/
public recruitment Test ()
{
}
/**
* @roseuid 55FE71900139
*/
public void display Question ()
{
}
/**
* @roseuid 55FE719C0184
*/
public void submitTheAnswer ()
{
}
/**
* @roseuid 55FE71A90095
*/
public void displayMsg ()
{
}
}
RESULT:
Thus the recruitment system project was executed and the output was verified.
92
EX.NO: 11 FOREIGN TRADING SYSTEM
DATE:
AIM:
To design a project Foreign Trading System using Rational Rose Software.
PROJECT ANALYSIS AND PROJECT PLANNING:
The initial requirements to develop the project about the mechanism of the Foreign Trading
System are bought from the trader. The requirements are analyzed and refined which enables
the analyst (administrator) to efficiently use the Foreign Trading System. The complete project
analysis is developed after the whole project analysis explaining about the scope and the project
statement is prepared.
PROBLEM STATEMENT:
The steps involved in Foreign Trading System are:
• The foreign trading system begins its process by getting the username and password from
the trader.
• After the authorization permitted by the administrator, the trader is allowed to perform the
sourcing to know about the commodity details.
• After the required commodities are chosen, the trader places the order.
• The administrator checks for the availability for the required commodities and updates it in
the database.
• After the commodities are ready for the trade, the trader pays the amount to the
administrator.
• The administrator in turn provides the bill by receiving the amount and updates it in the
database.
• The trader logouts after the confirmation message has been received.
INTRODUCTION:
International trade is exchange of capital, goods, and services across international borders
or territories. In most countries, it represents a significant share of gross domestic product
(GDP). While international trade has been present throughout much of history (see Silk Road,
Amber Road), it’s economic, social, and political importance has been on the rise in recent
centuries. Industrialization, advanced transportation, globalization, multinational corporations,
and outsourcing are all having a major impact on the international trade system. Increasing
international trade is crucial to the continuance of globalization. Without
93
international trade, nations would be limited to the goods and services produced within their
own borders.
SCOPE:
They are a lot of advantages in Forex Trading as compared to many other financial
trading, like futures or stock trading. The Forex market is open 24 hour a day. Being the market
available 24 hours a day, this gives the trader to choose which time they would like to trade. It
requires only minimum beginning capital to start the Forex trade. Forex Trading has
outstanding liquidity as it never closes.
USECASE DIAGRAM:
A use case diagram purpose is to present a graphical overview of the functionality
provided by the system in terms of actors, their goals, and any dependencies between those use
cases. A use case is an interaction between users and a system in a particular environment. It
captures the goal of the users and the responsibility of the system to the user. It is represented
using ellipse. Actor is a user playing a role with respect to the system. Asingle actor may
perform many use cases. It is represented using a stick figure along with a
Logout
label.
CLASS DIAGRAM:
A class diagram is a type of static structure diagram that describes the structure of a system.
The classes in the class diagram represent both the main objects and or interactions in the
application. The class diagram is represented using rectangular boxes each of which contains
three parts:
• The upper part holds the name of the class.
• The middle part contains the attributes of the class.
• The bottom part gives the operations or methods the class undertakes
94
SEQUENCE DIAGRAM:
95
COLLABORATION DIAGRAM:
1: 1.login
2: 2.Sourcing
3: 3.place order
6: 6.pay
Trader 8: 8.logout
Administrator
5: 5.bill
4: 4.update order
7: 7.update account details
Database
The state chart is used to model dynamic nature of a system. They define different states
of an object during its lifetime. And these states are changed by events. So these diagrams are
useful for reactive systems i.e.., a system that responds to external or internal events. It
describes the flow of control from one state to other state. The initial state is represented using
the small dot. The final state is represented using a circle surrounded by a small dot.
96
ACTIVITY DIAGRAM:
This diagram represents the graphical representation of workflows of stepwise activities and
actions with support for choice, iteration and concurrency. It shows the overall flow of control.
COMPONENT DIAGRAM:
DEPLOYMENT DIAGRAM:
A deployment diagram in the unified modeling language serves to model the
physical deployment of artifacts on deployment targets. Deployment diagrams show "the
allocation of artifacts to nodes according to the Deployments defined between them. It is
97
represented by 3- dimensional box. Dependencies are represented by communication
association.
PACKAGE DIAGRAM:
Adminstrator
CODING:
//Source file: C:\\PROGRAM FILES\\JAVA\\JDK1.8.0_31\\bin\\Administor.java
public class Administor
{
private String Name;
private String Id;
public Item the Item;
/**
98
* @roseuid 55FE986801E0
*/
public Administor ()
{
}
/**
* @roseuid 55FE91F301CD
*/
public void Bill1 ()
{
}
/**
* @roseuid 55FE91FB01C7
*/
public void Bill2 ()
{
}
/**
* @roseuid 55FE92020324
*/
public void Trace Order ()
{
}
/**
* @roseuid 55FE920E0296
*/
public void payBill1 ()
{
}
/**
* @roseuid 55FE92180238
*/
public void payBill2 ()
{
}
}
//Source file: C:\\PROGRAM FILES\\JAVA\\JDK1.8.0_31\\bin\\Item.java
public class Item
{
private String Name;
private integer Id;
private integer Rate;
private integer Available;
/**
* @roseuid 55FE98680220
*/
public Item ()
{
99
}
/**
* @roseuid 55FE926A027D
*/
public void Get Perfume ()
{
}
/**
* @roseuid 55FE927600C9
*/
public void Get Dolls ()
{
}
}
//Source file: C:\\PROGRAM FILES\\JAVA\\JDK1.8.0_31\\bin\\AccountNo.java
public class Account No
{
private int Acne;
private int balance;
private int due;
/**
* @roseuid 55FE92A1000D
*/
public Account No ()
{
}
/**
* @roseuid 55FE92A8017D
*/
public void Account Pay ()
{
}
}
RESULT:
Thus the project to develop foreign trading system using Rational Rose software was
done successfully.
100
EX.NO: 12 CONFERENCE MANAGEMENT SYSTEM
DATE:
AIM:
To draw the diagrams for conference management system.
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. User will enter into the system by giving the username and password and
selection form will be displayed for the user from that department should be selected and
depending up on the department the conference management system will show the details of
the conferences
1. INTRODUCTION:
1.1 Purpose:
This project is about developing a conference management system for various colleges within
budget and should be delivered on time. The system should be able to provide the details
regarding the various conferences available to attend for users and also allow the user to make
enquiries about the details. Users can login by submitting the required information and make
enquiries online for any particular conference and also view the details. The administrator will
be able to maintain the conference details, student details, add or update the details.
101
well organized requirements specification which the system is supposed to contain when being
delivered to its customer. The Suggested way of reading the document for all the readers is in
the sequence as it has been given in the document.
1.4 Project Scope:
A conference management system is a software that allows the users to view the details of
conferences and make enquiries. The system allows the user to enter their personal details
needed for logging in. The administrator verifies the details and maintains the conference
details as well as the user information.
1.5 References:None
2. OVERALL DESCRIPTION:
102
2.4 Operating Environment:
Hardware: 64 MB RAM, DB Server 128 MB RAM
Operating system: windows 98 and upwards
A server with high end processor is required. The website must be registered in a domain to
post to on the internet. Time and funding are the major constraints Delivering on time withal
the specification implied to the software is a major factor. To use and apply new technology to
the software in order to cope with time, funds play a vital role. If the customer fails to provide
the proper size of the product that is to be developed it will cause major problems for the
completion of the project.
3. SYSTEM FEATURES:
103
POST-CONDITIONS:
If the login succeeds the user can view the conference list and also make the enquiries.
VIEW DETAILS:
3.2.1 Description and Priority:
This use case allows the users to view details of the conferences along with their departments,
date and timings of the conference, venue of the college, the college website with domain to
register for the conferences.
3.2.2 Stimulus/Response Sequences:
BASIC FLOW:
1. The user should enter the name, address, age, DOB, qualification with departments of
interest.
2. The administrator verifies the entered details and provides them with access to view the
conference details.
3.2.3 Functional Requirements:
ALTERNATIVE FLOW:
If any of the required data is left or invalid the user should have to enter the proper details.
SPECIAL REQUIREMENTS: None.
PRE-CONDITIONS:
The student should have been login properly.
POST-CONDITIONS:
After entering the details, system should start processing it and store it into the
Database.
4. EXTERNAL INTERFACE REQUIREMENTS:
104
4.2 Hardware Interfaces:
Disk is used for data storage. Keyboard is used for getting the input details and the monitor
displays the output generated for the given input. Printer is used for printing the generated
reports if necessary.
105
CLASS DIAGRAM:
ACTIVITY DIAGRAM:
SEQUENCE DIAGRAM:
106
STATE CHART DIAGRAM:
Enter id
Select
View
COLLABRATION DIAGRAM:
3: Ok
8: ok
DATABA ADMINIST
SE RATOR
2: Verify password
7: verify
107
COMPONENT DIAGRAM:
Student
PACKAGE DIAGRAM:
display
DEPLOYMENT DIAGRAM:
admin
CODING:
//Source file: C:\\PROGRAM FILES\\JAVA\\JDK1.8.0_31\\bin\\administrator.java
public class administrator
{
private variant admin_pass;
/**
108
* @roseuid 55FE709303E2
*/
public administrator()
{
}
public void validate pass ()
{
}
public void add Details ()
{
}
public void view Details ()
{
}
}
//Source file: C:\\PROGRAM FILES\\JAVA\\JDK1.8.0_31\\bin\\user.java
public class user
{
private variant pass;
private variant depart;
public administrator the Administrator;
public user ()
{
}
public void viewTheDetails ()
{
}
}
RESULT:
Thus the conference management system project was executed and the output was verified.
109
EX.NO:13 BPO MANAGEMENT SYSTEM
DATE:
AIM:
To draw the diagrams [use case, activity, sequence, collaboration, class] for BPO
management system
HARDWARE REQUIREMENTS:
Intel Pentium Processor 3
SOFTWARE REQUIREMENTS:
Rational rose
PROJECT DESCRIPTION:
This software is designed to know about the process that was taking place in the BPO
office. This system holds the details of the customer who and all approaches to it. It is managed
by the central system...
USE CASE DIAGRAM:
This diagram will contain the actors, use cases which are given below
Actors: Customer, Server, Central system
Use case: Product, Voice, NonVoice, Indian office, Employee, and Feedback.
ACTIVITY DIAGRAM:
This diagram will have the activities as Start point, End point, Decision boxes as given
below:
Activities: Purchase product, on call, on chat
Decision box: Option to check
CLASS DIAGRAM:
This diagram consists of the following classes, attributes and their operations.
SEQUENCE DIAGRAM:
This diagram consists of the objects, messages and return messages.
Object: Customer, Dealer, Central system
COLLABORATION DIAGRAM:
110
This diagram contains the objects and actors. This will be obtained by the
completion of the sequence diagram and pressing the F5 key.
MERITS:
Provides convenience.
Easily understandable.
User friendliness.
DEMERITS:
Need computer knowledge.
It is complex for large scale products.
USECASE DIAGRAM
Feedback
CLASS DIAGRAM:
111
STATECHARTDIAGRAM:
ACTIVITY DIAGRAM:
112
SEQUENCE DIAGRAM:
113
COLLABORATION DIAGRAM:
COMPONENT DIAGRAM:
Customer Dealer
Central
system
114
PACKAGEDIAGRAM:
DEPLOYMENTDIAGRAM:
CODING:
//Source file: C:\\PROGRAM FILES\\JAVA\\JDK1.8.0_31\\bin\\customer.java
public class customer
{
private int Name;
private int Call details;
private int purchase Product;
public Dealer the Dealer;
/**
* @roseuid 55FEB10202FB
*/
public customer ()
{
}
/**
* @roseuid 55FEB0F50082
*/
public void Payment ()
{
115
}
}
//Source file: C:\\PROGRAM FILES\\JAVA\\JDK1.8.0_31\\bin\\centralsystem.java
public class central system
{
private int Store;
private int Update;
public Dealer the Dealer;
public central system ()
{
}
public void Storing ()
{
}
public void Updating ()
{
}
public void Processing ()
{
}
public void Central system ()
{
}
}
//Source file: C:\\PROGRAM FILES\\JAVA\\JDK1.8.0_31\\bin\\Dealer.java
public class Dealer
{
private int Employee Name;
private int Product Details;
private int Availability;
public Dealer ()
{
}
public void Payment ()
{
}
public void Delivery ()
{
}
}
RESULT:
Thus the diagrams [Use case, class, activity, sequence, collaboration] for the BPO
management system has been designed, executed and output was verified.
116
EX.NO: 14 LIBRARY MANAGEMENT SYSTEM
DATE:
AIM:
To study the problem statement, SRS document and draw all the UML diagrams of a
Library Management System
PROBLEM STATEMENT:
To create Library Management System software that will meet the needs of the applicant
and help them to registering and buy the book for the Library, modification in database and
cancellation for the registered project.
OVERALL DESCRIPTION:
The Library Management System is an integrated system that has four modules as part
of it. The four modules are
Registration for Membership:
In this module, the user can select the books to register for the library,Modification in the
book database, cancelling the books.
Book details:
In this module the user can search for the books by giving bookie in the project and selecting
the semester for the book.
Maintaining Book Details:
In this module the administrator can change the data’s like the semester, address, books can
be done.
Cancellation for the Book:
In this module the user can cancel their name which is registered for the Book.
SOFTWARE REQUIRMENTS:
Rational Rose
SQL 8.0
HARDWARE REQUIRMENTS:
1. 512MB RAM2. Pentium III Processor
117
USE CASE
DIAGRAM:
118
ACTIVITY DIAGRAM FOR ISSUE BOOK IN
LIBRARY:
119
ACTIVITY DIAGRAM FOR RETURN BOOK IN LIBRARY:-
120
CLASS DIAGRAM:
121
COLLABORATION DIAGRAM FOR ISSUING
BOOK:
122
SEQUENCE DIAGRAM FOR ISSUING
BOOK:
123
SEQUENCE DIAGRAM FOR RETURNING
BOOK:
COMPONENT DIAGRAM:
124
DEPLOYMENT DIAGRAM:
PACKAGE DIAGRAM:
CODING:
//Source file: C:\\PROGRAM FILES\\JAVA\\JDK1.8.0_31\\bin\\MemberRecord.java
public class Member Record
{
public int memberID;
125
public int type;
public int dateOfMembership;
public int noBookIssued;
public int maxBookLimit;
public int name;
public int address;
public int phone No;
/**
@roseuid 55F827C30138
*/
public Member Record ()
{
}
/**
@roseuid 55F821120121
*/
public void retriveMember ()
{
}
/**
@roseuid 55F8211D0250
*/
public void increaseBookIssued ()
{
}
/**
@roseuid 55F8212702D6
*/
public void decreaseBookIssued ()
{
}
/**
@roseuid 55F821360320
*/
public void payBill ()
{
}
}
RESULT:
Thus the Library management system project was executed and the output was verified.
126
EX. NO:15 STUDENT INFORMATION SYSTEM
DATE:
AIM:
To develop a project Student Information System using Rational Rose Software and to
implement the software in Java.
PROBLEM ANALYSIS AND PROJECT PLANNING:
A Student information system (SIS) is a software application for educational
establishments to manage student data. Student information systems provide capabilities for
entering student test and other assessment scores, building student schedules, tracking student
attendance, and managing many other student-related data needs in a school, college or
university.
PROBLEM STATEMENT:
a. Effective for Administration Purpose
b. Cheap
c. Better Service
UML DIAGRAMS:
The following UML diagrams describe the process involved in the online recruitment
system
a. Use case diagram
b. Class diagram
c. Sequence diagram
d. Collaboration diagram
e. Activity diagram
f. Component diagram
USE CASE DIAGRAM:
A use case is a methodology used in system analysis to identify, clarify, and organize system
requirements. The use case is made up of a set of possible sequences of interactions between
systems and users in a particular environment and related to a particular goal. It is represented
using ellipse. Actor is any external entity that makes use of the system being modeled. It’s
represented using stick figure the actors in this use case diagram are Admin, Student, and
Database. The use cases are the activities performed by actors.
a. Admin register login, and store the student records details in database.
b. Student Register from the Student Login process.
127
c. Then the database is searched for details and verified.
d. Database stores the details and returns acknowledgement
For Administrator:
Admin
Database
For Student:
Student Login
Message
Attendance
Student
Databases
Profile
Result
Time Table
Fee
Library
Log Out
CLASS DIAGRAM:
A class diagram in the unified modeling language (UML) is a type of static structure
128
diagram that describes the structure of a system by showing the system's classes, their
129
attributes, and the relationships between the classes. It s represented using a rectangle with
three compartments. Top compartment have the class name, middle compartment the attributes
and the bottom compartment with operations. This class diagram has three classes Login,
Student details and Update details in database.
a. Students – is the class name. Its attributes are name, Address, DOB, Gender, College,
Subjects, Semester, Year, Degree, and Branch. The operations Preformed in the students class,
Store database and Update.
b. Administration– is the class name. Its attributes are Login, Password and database. The
operations performed are Student Details store in database and send acknowledgement.
c. Database – is the class name. The operations performed are storing Search and storing
the values.
Update details
+Student details
+Result details
+Updae_info()
+get_detail()
+Display()
SEQUENCE DIAGRAM:
130
2. Horizontal dimension-represent different objects.
The sequence diagram describes the sequence of steps to show
a. The Admin login and registering for Add Student Details.
b. The verification done by the interface and sending acknowledgement for registration.
c. Searching the database with login and displaying it for maintenance.
For Validity:
For Administrator:
Login
s for login()
130
For Student:
3 : Valid()
4 : Valid login()
5 : Request for v iew profile()
6 : Request()
7 : Set Details()
10 : Request()
11 : Set Details()
COLLABORATION DIAGRAM:
131
For Validity:
Database
3 : Validate()
1 :
Admin/Student
For Administrator:
Database
3 : Valid user()
6 : Add()
10 : Update()
ReqAdd Student
ReqUpdate Student
8 : Successfully added()
4 : Successful login()
12 : Successfully Updated()
Admin
132
For Student:
Database
6 : Request()
7 : Set Details1(0
) : Request()
11 : Set Details()
ReqView Profile
4 : Valid login()
1 : Enter credentials for login()
Object1
5 : Request for view profile()
9 : Request for view Details()
Student
ACTIVITY DIAGRAM:
Activity diagrams are graphical representations of workflows of stepwise activities and actions
with support for choice, iteration and concurrency. In the Unified Modeling Language, activity
diagrams can be used to describe the business and operational step-by-step workflows of
components in a system. An activity diagram shows the overall flow of control. An activity is
shown as a rounded box containing the name of the operation.
This activity diagram flow of stepwise activities performed in recruitment system.
a. The student details are Add and stored in database.
b. Select the course from the given Course by student.
c. Search Profile and Result with login and if data present in the database.
d. The searched data is displayed if available and then Log Out.
133
COMPONENT DIAGRAM:
The component diagram's main purpose is to show the structural relationships between the
components of a system. It is represented by boxed figure. Dependencies are represented by
communication association.
134
DEPLOYMENT DIAGRAM:
A deployment diagram in the unified modeling language serves to model the
physical deployment of artifacts on deployment targets. Deployment diagrams show "the
allocation of artifacts to nodes according to the Deployments defined between them. It is
represented by 3-dimentional box. Dependencies are represented by communication
association. The processor in this deployment diagram is the Student Information System
which is the main part and the Student are the Admin, verify and search which are the some of
the main activities performed in the system.
135
CODING:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.sql.*;
public class jdbcframe1 extends JFrame implements Action Listener
{
public JLabel l1, l2, l3, l4, l5;
public JTextField t1,t2,t3,t4,t5;
public JButton b1;
Container c;
public jdbcframe1()
{
setSize(180,400);
setTitle("STUDENT DETAILS");
setVisible(true);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
c=getContentPane();
c.setLayout(new FlowLayout());
l1=new JLabel("Regno");
c.add(l1);
t1=new JTextField(10);
c.add(t1);
l2=new JLabel("Name");
c.add(l2);
t2=new JTextField(10);
c.add(t2);
l3=new JLabel("Dept");
c.add(l3);
t3=new JTextField(10);
c.add(t3);
l4=new JLabel("Course");
c.add(l4);
t4=new JTextField(10);
c.add(t4);
l5=new JLabel("Contact");
c.add(l5);
t5=new JTextField(12);
c.add(t5);
b1=new JButton("SAVE");
c.add(b1);
b1.addActionListener(this);
}
public void actionPerformed(ActionEvent ae)
{
if(ae.getSource()==b1)
{
try
{
136
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:student");
Statement st=con.createStatement();
PreparedStatement ps,ps1;
ps1=con.prepaeStatement("select * from student where regno="+t1.getText());
ps=con.prepareStatement("insert into
student(regno,name,dept,course,contact)values(?,?,?,?,?)");
ps.setString(1,t1.getText());
ps.setString(2,t2.getText());
ps.setString(3,t3.getText());
ps.setString(4,t4.getText());
ps.setString(5,t5.getText());
ps.executeUpdate();
JOptionPane.showMessageDialog(null,"RECORD SAVED");
}
catch(SQLException sq)
{
System.out.println(sq);
System.out.println("\nHai this place is error occur");
}
catch(Exception e)
{
System.out.println(e);
}
}
}
public static void main(String args[])
{
jdbcframe1 f=new jdbcframe1();
}
}
RESULT:
Thus the Student information system project was executed and the output was
verified.
137