Beruflich Dokumente
Kultur Dokumente
CYCLE - I
EX. NO.
DATE
PAGE NO.
SIGN.
1.
Study of UML
2.
3.
4.
E Ticketing System
5.
Quiz System
6.
7.
8.
9.
10.
Ex. No. : 1
STUDY OF UML
AIM:
UML NOTATION:
Unified Modeling Language. Set of notations and conventions used to describe and model an application. Universal language for modeling systems. Standard notation for OO modeling systems. Does not specify methodology to develop an application.
UML DIAGRAMS:
Class Diagram Use Case Diagram Behavioral Diagram
Interaction Diagram Sequence Diagram Collaboration Diagram State Chart Diagram Activity Diagram Implementation Diagram
CLASS DIAGRAM:
Shows the static structure of the model. Collection of static modeling elements such as classes and their relationships connected as a graph. Provides visual representation of objects, relationships and their structures.
Class: A class is a set of objects that share a common structure and common behavior. It is represented as, <Class Name> <Attributes> <Operations>
Association: Model properties of associations. The properties are stored in a class and linked to the association relationship. Example, Bank Account Person
Generalization: A generalize relationship is a relationship between a more general class or use case and a more specific class or use case. Example,
Vehicle
Bus
Truck
Car
External factors that interacts with the system from the user's perspective.
Use Cases: Set of scenarios that describe how actor uses the system. Represented as,
Relationship: Communication communications with the use case normally. Uses Shown by generalization arrow from the use cases. Extends Used when one case does more than another that is similar to it.
BEHAVIOR DIAGRAM:
INTERACTION DIAGRAM: Diagrams that describes how group of objects are collaborated.
SEQUENCE DIAGRAM: Describes the behavior of the system through interaction between the system and the environment in time sequence. Two dimensions: Vertical dimension represents time. Horizontal dimension represents objects.
Object 1
Object 2
<Event>
COLLABORATION DIAGRAM: An interaction diagram that shows the order of messages that implement an operation or a transaction. Collaboration diagrams show objects, their links, and their messages. Object 1 1. <Event> Object 2
Object: Link: A link is an instance of an association, analogous to an object. A message is the communication carried between two objects that trigger an event. STATECHART DIAGRAM: State: Represents a condition or situation during the life of an object during which it satisfies some condition or waits for some event. Models the dynamic behavior of individual classes or any other kind of object. Shows the sequences of states, events, and actions. Message:An object has state, behavior, and identity. Objects interact through their links to other objects.
<State>
ACTIVITY DIAGRAM: Used for modeling the sequence of activities in a process Special case of a state machine in which most of the states are activities and most of the transitions are implicitly triggered by completion of the actions in the source activities. Activity: Represents the performance of task or duty in a workflow. <Activity> Swim lanes: Represents organizational units or roles within a business model.
IMPLEMENTATION DIAGRAM:
Shows the implementation phase of system development. Two types of implementation diagrams: Component diagram Deployment diagram COMPONENT DIAGRAM: Models the physical components in the design. A graph of the designs components connected by dependency relationships. Includes concept of packages. Package is used to show how classes are grouped together.
DEPLOYMENT DIAGRAM:
Shows the configuration of runtime processing elements and software components. It is a graph of nodes connected by communication association. Nodes are the components that are connected to other components through dependencies. Used in conjunction with component diagrams to show the distribution of physical modules.
RESULT:Thus the different conceptual models under UML have been studied.
Ex. No. : 2
AIM: To create a UML model for On-Line Purchase System. 1. ANALYSIS: 1.1 Identifying the Actors Customer Software Banking Dealer Browse Catalog Select Item Request Item Payment Details Issue Details Authentication Check for validity Deliver Goods
2. REQUIREMENTS: 2.1 Hardware Requirements Processor: Pentium IV 1.7 RAM: 256 MB Hard Disk: 40 GB 2.2 Software Requirements CASE Tool: Rational Rose Enterprise Edition Programming Languages: Visual Basic 6.0 or Java Database: MS-Access
3. DESIGN
Online Purchase
Browse catlog
customer
Select item
Request item
software
Issue Details
Shopping Cart subtotal : Double salesm oney : D ouble totalmoney : D ouble shopping cart() getsubtotal() getsubtotal() getsales() getsalesmoney() gettotalm oney() settotalm oney() placeorder() remov eorder() customer[0..*]getcustom er() setcustomer() creditcard[0..*]() customer[0..*]getcustom er() setcustomer() setcreditcard() +1 C ustomer addtoship : String nam : String e addtobill : String em ailadd : String creditrating : Integer customer() getaddtoship() setaddtoship() getname() setname() getaddtobill() setbill() getemailadd() setemailadd() getcreditrating() setcreditrating() displaycatlog() selectitem() deliv eritem() remov eorder() C redit card creditcard() getnumber() setnumber() getexpirydate() setexpirydate() getissue() setissue() authorisechange() preffered() getitemofpurchase() setitemofpurchase() [0..*]getprefferedcustomer() setprefferedcustomer() [0..*]getprefferedcustomer() setprefferedcustomer()
+1 m creditcard +1
+* Item of purchase quantity : Integer priceperitem : D s ouble Item of purchase() getquantity() setquantity() getpriceperitem () set priceperitem () get custom er() setcustomer() product[0..*]getproduct() setproduct() getproduct() setproduct()
m Custom er
Product product() Preffered customer discountrate prefferedcustomer() getdiscountrate() setdiscountrate() getcustomer() setcustomer() getcustomer() setcustomer() getcustomer() setcustomer()
customer
shopping card
credit card
public void display catalog() public void selectitem() public void getcreditrating() public void getaddtoship() public void setcreditcard() publ;ic void shipmentdetails() public void authorizedcharge() public void getexpirydate() validation
public void authorize() public void setcrediting(int val) public void setadddtoship() public void delieveritem() public void rejected()
1: public void brow secatalog() 3: public void selectitem() 6: public void setcreditcard() 7: publ;ic void shipmentdetails() customer 2: public void display catalog() 4: public void getcreditrating() 5: public void getaddtoship() 12: public void setcrediting(int val) 13: public void setadddtoship() 14: public void delieveritem() 16: public void removeorder() shopping card
credit card
Customer
Shopping Card
Credit card
Browse Catalog
Displaying Catalog
Selecting Catalog
Display
Selecting
Requesting
Validating credit
Issuing payment
Accepting delivery
Delivery item
Authorized
Rejected
CHECKING
WAITING
PROCESS
CANCELLING CANCELLING
EXIT
RESULT: Thus the UML models for the Online Purchase System have been developed and verified.
Ex. No. : 3
AIM: To create a UML model for Library management System. 1. ANALYSIS: 1.1 Identifying the Actors Student Computer Publisher Librarian Login Request Book Book Details Collect Books Order Books Issue Books Database
2. REQUIREMENTS: 2.1 Hardware Requirements Processor: Pentium IV 1.7 RAM: 256 MB Hard Disk: 40 GB 2.2 Software Requirements CASE Tool: Rational Rose Enterprise Edition Programming Languages: Visual Basic 6.0 or Java Database: MS-Access
Login
Request Book
Student
Book details
Collect books
Order books
Publisher
Issue books
Computer
Database
Librarian
student scode : Integer sname : String student() getscode() getsname() view bookstatus() requestbooks() returnbook() setscode() setsname() +1..*
database bookid : Integer bookname : String authorname : String accessno : Integer database() getbookid() setbookid() getbookname() setbookname() getauthorname() setauthorname() getaccessno() setaccessno()
Librarian:
Publisher:
validation issue books public void receive book() public void returnbook()
update
Student:
5: public void update new arrivals() 9: issue books 12: update 11: public void returnbook()
8: validation
student
librarian
computer
Login
ViewBook Status
Database
Return books
Book updation
Book issue
Enter Id number
SID
Correct
ID Accepted
Re enter id
ID accepted
RESULT: Thus the UML models for the Library Management System have been developed and verified.
Ex. No. : 4
E TICKETING SYSTEM
AIM: To create a UML model for E Ticketing System. 1. ANALYSIS: 1.1 Identifying the Actors Passenger Clerk Update Customer DB Validation Service ATM Cash to Customer Bill to Customer Credit Cards Payment Reservation Form Reservation Chart Cash Mode Ticket Confirm
2. REQUIREMENTS: 2.1 Hardware Requirements Processor: Pentium IV 1.7 RAM: 256 MB Hard Disk: 40 GB 2.2 Software Requirements CASE Tool: Rational Rose Enterprise Edition Programming Languages: Visual Basic 6.0 or Java Database: MS-Access
Update Customer DB
Passenger Validation pname : String Age : Long sex : String DOJ : Date Bill to Customer Cash to Customer Service ATM passenger() getPname() setPname() getAge() setAge() getSex() setSex() getDOJ() setDOJ()
Credit Card
Payments
Reservation Form
Cash mode
Reservation chart
+1..* Passenger
(from Use Case Vi ew)
pname : String Age : Long sex : String +1..* DOJ : Date passenger() getPname() setPname() getAge() setAge() getSex() setSex() getDOJ() setDOJ()
Train Details no : Long destination : String tname : String source : String departureTime : Long arrivalTime : Long train_details() getNo() setNo() getDestination() setDestination() getTname() setTname() getSource() setSource() getDeparture() setDeparture() getArrival() setArrival()
+1..* Train_SeatDetails tno : Long DOJ : Date seats : Long coaches : Integer train_SeatDetails() getTno() setTno() getDOJ() setDOJ() getSeats() setSeats() getCoaches() setCoaches()
Reservation tno : Long DOJ : Date seatno : Long +1..* nop : Integer coaches : Integer reservation() getTno() setTno() getSeatno() setSeatno() getNop() setNop() getCoaches() setCoaches() reservation()
:Passenger
:Reservation
:Train Details
:Payments
:Passenge r
1: Public void reservation() 5: Public void getPayment() 6: Public void IssueTicket() 3: Public void CheckAvailability() 7: Public void update train_details() :Payment s 4: Public void payment() :Reservati on :Train Seat Details
:Train Details
Check Train Details(From E-Ticket Activity) Check Seat Availabilty(From E-Ticket Activity)
Reserve Tickets(From E-Ticket Activity) Request Payment(From E-Ticket Activity) Make Payments(From E-Ticket Activity)
Transaction Over
RESULT: Thus the UML models for E - Ticketing System have been developed and verified.
Ex. No. : 5
QUIZ SYSTEM
AIM: To create a UML model for Quiz System. 1. ANALYSIS: 1.1 Identifying the Actors Quiz participant Coordinator
1.2 Identifying the Use Cases Login Select Option Score Board Participant Information Winner List
2. REQUIREMENTS: 2.1 Hardware Requirements Processor: Pentium IV 1.7 RAM: 256 MB Hard Disk: 40 GB 2.2 Software Requirements CASE Tool: Rational Rose Enterprise Edition Programming Languages: Visual Basic 6.0 or Java Database: MS-Access
login
Quiz Participant
Select Option
Score Board
User name userid course of study Timing Constraints answer the question timer used()
User
Database
Topic
Timining Constrains
Question Format
Allot Time
Display score
User
7: Display score
Topic
Enter Details
Store in Db
Choose Topic
Store info
Answer Question
Display Score
RESULT: Thus the UML models for Quiz System have been developed and verified.
Ex. No. : 6
AIM: To create a UML model for Student Mark Analysis System. 1. ANALYSIS: 1.1 Identifying the Actors Student Analyzer
1.2 Identifying the Use Cases Enter Marks Validate Marks Allot Grades Validate Grades Save Status
2. REQUIREMENTS: 2.1 Hardware Requirements Processor: Pentium IV 1.7 RAM: 256 MB Hard Disk: 40 GB 2.2 Software Requirements CASE Tool: Rational Rose Enterprise Edition Programming Languages: Visual Basic 6.0 or Java Database: MS-Access
Enter marks
Student name : String Regno : String Enter marks() retrive results() students()
Allot grades
Validate grades
Save status
Marks Register regno : String maxmarks : Integer minmarks : Integer marks obtained : Integer checkregno() checksuubjectcode() setresults() marksregister()
: Student
: Analyzer
Enter details
Validate
Check result
Allot grades
Retrieve results
6: 1: Enter details 2: Validate 5: Retrive results :Student 3: Check result 4: Allot grades :Analyzer
allot grades
max/min marks
marks obtained
show results
Student Details
Verify entries
Generate Results
Validate results
Print result
RESULT: Thus the UML models for the Student Mark Analysis System have been developed and verified.
Ex. No. : 7
AIM: To create a UML model for E-mail Client System. 1. ANALYSIS: 1.1 Identifying the Actors Client User Server
1.2 Identifying the Use Cases Login Read in Registration form Compose
2. REQUIREMENTS: 2.1 Hardware Requirements Processor: Pentium IV 1.7 RAM: 256 MB Hard Disk: 40 GB 2.2 Software Requirements CASE Tool: Rational Rose Enterprise Edition Programming Languages: Visual Basic 6.0 or Java Database: MS-Access
Lo gin
C om p os e
WebServer
the website
the compose
the check mail Check Mail readreply check() delete() save() checkmail() checkmail()
user
webserver
database
new user
create id id created
enter password
display inbox
check mail
compose mail
send mail
check valid id
valid id
message sent
logout
user
6: enter password 7: existing user 9: display inbox reg 13: send mail 17: logout 1: enter web address 3: new user
2: display web pages 16: message sent 4: create id 11: check mail 12: compose mail 5: id created 10: display inbox webserver
database
Read e-mail
Logout of site
Webpage display
Display work
Logout
RESULT: Thus the UML models for the E-mail Client System have been developed and verified.
Ex. No. : 8
AIM: To create a UML model for Course Registration System. 1. ANALYSIS: 1.2 Identifying the Actors User Administrator
1.2 Identifying the Use Cases Course Selection Information Timing Selection Pay fees Checks Eligibility Process student Details Confirmation of Course
2. REQUIREMENTS: 2.1 Hardware Requirements Processor: Pentium IV 1.7 RAM: 256 MB Hard Disk: 40 GB 2.2 Software Requirements CASE Tool: Rational Rose Enterprise Edition Programming Languages: Visual Basic 6.0 or Java Database: MS-Access
pay fees
checks eligibility
administrator
confirmation of course
ELIGIBILITY CONDITION mark in HSC : Integer mark in SSLC : Integer Eligibility() TIMING CONFIRM timing : Integer T confirm()
DATABASE course detail() ADMINISTR ATOR maintain database() process payment infon()
require user details enter details check eligibility eligibility is confirmed or not display information
1: view course details 4: enter details USER 2: display course details 7: display information SYSTEM
5: check eligibility
ADMINISTR ATOR
display courses
select courses process information check seats availability seats available or not sends infon display infon
1: view course details 4: enter details USER 2: display course details 7: display information SYSTEM
5: check eligibility
ADMINISTR ATOR
TIMING CONFIRMATION
1: view timing infon 3: select timing user 2: display timtin infon 8: display infon 7: sends infon 4: process timing infon 5: check availablity of seats in selected timing administra tor 6: seats available or not database system
PAYMENT CONFIRMATION
1: view fees details user 2: display fees details 3: pay fees 6: join the course 4: store payment infon administra tor 5: sends fee infon database system
start
disconnect
select coarse
confirm timings
payment details
join course
exit
COURSE DETAILS
ELIGIBILITY CONDITIONS
SEATS AVAILABILITY
TIMTING INFORMATION
REGISTRATION CONFIRMATION
PAYMENT CONFIRMATION
JOIN CONFIRMATION
EXIT
UPDATE DATABASE
USER
RESULT: Thus the UML models for the Course Registration System have been developed and verified.
Ex. No. : 9
AIM: To create a UML model for On Line Banking System. 1. ANALYSIS: 1.3 Identifying the Actors Client Bank Administrator
1.2 Identifying the Use Cases Account Creation Login Accounting Transaction
2. REQUIREMENTS: 2.1 Hardware Requirements Processor: Pentium IV 1.7 RAM: 256 MB Hard Disk: 40 GB 2.2 Software Requirements CASE Tool: Rational Rose Enterprise Edition Programming Languages: Visual Basic 6.0 or Java Database: MS-Access
account creation
transaction
online banking
Bank administrator
transaction approval payee account status receipient amount transfer() account update()
Account customer name customer ID customer password account status() transaction history()
transaction approval payee account status receipient amount transfer() account update()
request form
saved in administrator
create account
login 7 days
ACCOUNT CREATION
1: visit 3: request creating form 4: request form 5: fill and send form 11: login 7 days Website 2: request for login or creation
Customer
8: amount to bank
6: saved in administrator
Bank administrator
enter login
authentication
Bank administrator
transaction approved
amount transfered
message to customer
ACCOUNTING Customer
2: enter kind of transaction 4: enter recipient account no & amount Website 1: request kind of transaction 3: request transaction detail
8: amount transfered
enter account
TRANSACTION
7: display completed transaction 8: message for pending transaction 4: display account details 6: request history of transaction
Account
Enter account no
Enter password Enter personal details Password not accepted Initial amount received in 7days Password accepted Amount not received in 7days
Application expired Checking account status Administrator refer personal Error message to customer Message to customer Application not accepted Preform transaction
Application Accepted
Contact customer
logout
Account creation
Login
Accounting
Transactio n
logout
UPDATE DATABASE
USER
RESULT: Thus the UML models for the On Line Banking System have been developed and verified.
Ex. No. : 10
AIM: To create a UML model for On Line Aptitude Test System. 1. ANALYSIS: 1.4 Identifying the Actors User Administrator
1.2 Identifying the Use Cases Registration Login Trail Assessment Aptitude Test Time Limits Result
2. REQUIREMENTS: 2.1 Hardware Requirements Processor: Pentium IV 1.7 RAM: 256 MB Hard Disk: 40 GB 2.2 Software Requirements CASE Tool: Rational Rose Enterprise Edition Programming Languages: Visual Basic 6.0 or Java Database: MS-Access
Registration
Login User
Trial Assessments
Result
Admin
Final Apps test Questions Time Answer the Question() Time Display()
Register
Accepted
Unique id
Password
REGISTRATION
3: Accepted
4: Unique id 5: Password
2: Register
Administra tor
Enter Userid
Enter password
Verify details
Proceed
Login
Model questions
Request
Question paper
Display
Answers
Verify
Result
Display
1: Login
Administra tion
Question paper
Logout
Result
Display
4: Answers with time User 3: Display with time 7: Display 2: Question paper 6: Result 5: Logout System
1: login
Administra tor
Validate answers
send marks
display
logout
RESULTS
System
4: logout
1: Validate answers
Administra tor
Registration
Login
Trial Assessments
Aptitude test
Result
New State
UPDATE DATABASE
USER
RESULT: Thus the UML models for the On Line Aptitude Test System have been developed and verified.