Beruflich Dokumente
Kultur Dokumente
SL NO.
DATE
Railway Reservation
ATM
Course Registration
Library System
Quiz System
Online Bookshop
PAGE NO.
SIGNATURE
EXP NO:
DATE:
RAILWAY RESERVATION
Aim:
The user has to reserve a ticket for a station through Railway reservation.
User will enquires all the details of the train.
User will enquire about the reservation ticket.
The user has to take the form and fill all the details in the registration form.
It performs to submit the form to administrator through enquiry.
Administrator will check the details of reservation.
It will have to perform the transaction.
User will have to pay the money to administrator on receiving of the ticket.
ASCET
EXP NO:
DATE:
timings
train
ticket
enquiry info
receive info
check info
train Enquiry
Enquiry
U SER
enquiry abt resv .tkt
perform trains
take form
name
address
age
gender
train no
submit form
receive ticket
pay money
ASCET
give info
administrator
EXP NO:
DATE:
enquiry
trainname
trainno
time
1
user
name
age
gender
address
takeform()
submitform()
receivetkt() *
paymoney()
operator
trainno
trainname
*
*
availtrains()
availdate() 1
asktime()
1
issuetkt()
takemoney()
form
name
age
gender
date
time
bedthno
fillform()
ASCET
1 administrator
1..*
EXP NO:
DATE:
First placing the objects that participate in the interaction at the top of the diagram across the Xaxis.
2. Place the objects that initiate the interaction at left and increasing more subordinates to right.
3. Place the messages that these objects send and receive along the Y-axis in order of increasing
time from top to bottom.
4. Focus of control: It is a thin rectangle that shows the period of time during which an object is
performing an action.
:passenger
:enquiry
:form
:operator
:administrator
3: take form
4: fill form
5: check form
6: update info
7: pay money
8: issue tkt
ASCET
EXP NO:
DATE:
Place the object that participates in the interaction as the vertices in a graph.
Remember the links that connect these objects as arcs of the graph.
Finally, adorn the links with the messages that the object sends and receives.
Path: Path is needed to link the objects explicitly. For global, local parameters and self paths.
Sequence Number: It is used to indicate the time order of the message.
6: update info
5: check form
:operator
4: fill form
7: pay money
8: issue tkt
1: ask list of avail trains
:enquiry
:passenger
2: give list
3: take form
:form
ASCET
:administrator
EXP NO:
DATE:
En te r i n to th e
R e s e r va ti o n c o u n te r
En qu i r y th e
t r a i n i n fo
R e qu e s t fo r
R e s e r va ti o n fo r m
R e c e i ve & F i l l
t h e fo r m
S u bm i t i n to
o pe r a to r
Check
a va i l a bi l i ty
Tryfor
o th e r t r a i n
Allotseat
num
Paymo ne y
t o o pe r a to r
R e c e i ve th e
ticket
Ex i t
ASCET
EXP NO:
DATE:
s ubmit to the
operator
Try for
other train
n
o
yes
allot s eat
num
Pay money to
the operator
Receive
tick et
ASCET
try for
other train
EXP NO:
DATE:
Ticket.jav
a
Railway
station.exe
ticket.java
ticket.Jav
a
ASCET
EXP NO:
DATE:
Administartor
( DB)
Customer client
Ticket
Result:-
ASCET
EXP NO:
DATE:
ATM
Aim: To develop a model for ATM.
Step 1: Problem Statement
1. The user has to draw the money from the ATM.
2. User will be logged through the pin card.
3. Administrator will have to maintain the transaction properly.
4. Administrator has to provide options to choose the type of transaction.
5. User will choose the required transaction.
6. User will enter the amount to be drawn.
7. The system will checks whether the user make the transaction.
8. Administrator will gives money to the user.
9. If the money will not be available, the administrator will cancel the transaction.
10. Finally the user will gets the receipt and exits the transaction.
Step 2: Functional Requirements
1. User: User will have to make the transaction, then the details below
Enter: User will enter the card into the system.
Enter pin: The user should have to enter the pin code.
Option: User has to choose an option to make a transaction.
Enter Amount: User enters the amount to be drawn.
2. Administrator: Administrator will make the transaction and returns money.
Check: The administrator will checks the pin code entered.
Check Bal: The administrator will checks the amount entered whether it is available or not.
Draw: It will give money to the user required.
Update: It will update the details after the transaction is completed.
ASCET
EXP NO:
DATE:
enter card
enters
enter pin
enters
display options
checks
transaction
gives amt
USER
receives
withdraw
received
returns money
acknowledges
comes out
return
issue
exit
ASCET
reads
Administrator
EXP NO:
DATE:
user
machine
name
pin
amt
enterCard() *
enterPin()
option()
enterAmt()
ASCET
Administrator
name
checkPin()
checkBal() *
withdraw()
deposit()
service num
acc num
1
valid()
checkPin()
updateBal()
EXP NO:
DATE:
:U ser
:Adm inistrator
:Machin e
1 : E nter card
2 : E nter pin code
3 : p in
4 : check pin
5 : correct
6 : d isp lay optio ns
7 : select transaction
ASCET
EXP NO:
DATE:
Place the object that participates in the interaction as the vertices in a graph.
Remember the links that connect these objects as arcs of the graph.
Finally, adorn the links with the messages that the object sends and receives.
Path: Path is needed to link the objects explicitly. For global, local parameters and
self paths.
5. Sequence Number: It is used to indicate the time order of the message.
12: checks
16: update bal
:Administrator
5: correct
13: if available debit amt
14: give the amt
4: check pin
8: requests transaction
11: check for available
1: Enter card
3: pin
7: select transaction
10: amount
:User
ASCET
:Machine
EXP NO:
DATE:
I n se r t
card
V e r i fy
card
y
E n te r
p a ssw o r d
Check PW
y
Select
tr a n sa c ti o n
P r o c e ssi n g
tr a n sa c ti o n
n o t c o n ti n u e
U p d a te
account
Print
receipt
Exit card
ASCET
c o n ti n u e
EXP NO:
DATE:
active
card insert
validate
idle
cancel
selecting
maintain
[continue]
maintain
processing
[ not continue]
printing
cancel
ASCET
EXP NO:
DATE:
Atm.exe
Cash
dispense.exe
ASCET
EXP NO:
DATE:
atm.exe
Result:-
ASCET
cash dispense
EXP NO:
DATE:
COURSE REGISTRATION
Aim: To develop a model for Course registration.
Step 1: Problem Statement
1. The person should choose a course for registration.
2. The person may be a student or a staff, should be logged in first.
3. It should have to provide all details of course in a view i.e., view the schedule to the
student.
4. It should submit grades to the registrar.
5. It should keep track of assigning the staff.
6. It should provide student information and the staff information.
7. If course will not be available then the person has to select another course.
8. After completion of the course, person has to pay the bill to the registrar.
Step 2: Functional Requirements
1. Registrar: Have complete access on the registration course.
Allotting Course: Registrar will allot the course for students.
Maintains: He have to maintain both the student and staff information.
Updation: When ever updation occurs in selection of a course, it will be updated.
Cancel: When the person choose a wrong course then the registration form will be
cancelled.
2. Member: The system must permit the members to perform the following:
Login: Permitted to login with a unique registered id.
Staff: Staff will be assigned by the registrar.
Selection: He will selects course to teach.
Student: Students have to register the course.
View schedule: Student will select a course in the view list.
Change: They may want to change for another course.
Submit: They have to submit the grades to the registrar.
Pay fee: The person have to pay the fee to the registrar
ASCET
EXP NO:
DATE:
login
viewSchedule
select course
person
Administrator
submit grades
pay fee
student
staff
assign staff
stu info
staff info
ASCET
EXP NO:
DATE:
user
name
id
login()
student
name
address
phonenum
professor
name
address
phonenum
addcourse ()
removecourse () *
billing system
date
sendbill()
getPayment()
ASCET
select course ()
*
1
register
name
address
maintainstuinfo()
maintainproffinfo()
openreg()
closereg()
cancelreg()
EXP NO:
DATE:
:login
:student
:professor
1: reg. login
9: closing register
ASCET
:reg.controller
EXP NO:
DATE:
Place the object that participates in the interaction as the vertices in a graph.
Remember the links that connect these objects as arcs of the graph.
Finally, adorn the links with the messages that the object sends and receives.
Path: Path is needed to link the objects explicitly. For global, local parameters and
self paths.
5. Sequence Number: It is used to indicate the time order of the message.
:professor
3: maintain professor info
1: reg. login
:Register
:login
4: opening register
5: get the student list
7: cancel register if <3 students in a course
9: closing register
:reg.controller
:student
8: reg. is cancelled, choose another course
ASCET
EXP NO:
DATE:
Login
s ys te m
re que s t for
cours e de tails
D is play Cours e D e tails
& S che duling de tails
S e le cting
cours e
R e q . for
R e g . form
payme nt
office
R e gis trat
ion form
s pe cify
all de tails
pay fe e
s ubmit
form
s tore
form
update
vacancy
print
re ce ipt
As s ign
s taff
ASCET
EXP NO:
DATE:
active
request
for
display
login
select of
idle
Request
for
cancel
access all
payment
main
submissio
n&
update
assign
ASCET
EXP NO:
DATE:
course
catalog.exe
Registration.exe
billing
system.exe
ASCET
EXP NO:
DATE:
course
catalog.exe
billing
system.exe
Billing
system.exe
Result:-
ASCET
Registration.
exe
EXP NO:
DATE:
LIBRARY SYSTEM
Aim: To develop a model for Library System.
Step 1: Problem Statement
1. The statement must contain a Data base, Titles, and items in its inventory. Since, libraries
have multiple copies of popular books and magazines, the title name of book and author
must be stored.
2. The system permits members in restricted use.
3. It should permit the Librarian to have complete access.
4. It should keep track of the borrowed items of each member.
5. The system must have rates to be charged for over due items.
6. It should have the cost of every item.
7. It should have the capability to calculate and charge members for overdue items and cost of
damaged articles.
8. The system should restrict the members to borrowing only one item at a time.
9. It should permit deletion of discarded items.
10. It should permit renewal of items when required except for reserved items.
ASCET
EXP NO:
DATE:
enter id
enters
checks
checks id
valid
sends
searches book
asks
user
ASCET
issue
librarian
renewal
return
check date
exit
modify fine
administrator
EXP NO:
DATE:
librarian
name
address
article
id
issuedate
returndate
newArticle()
removeArticle() *
returnArticle()
title
titleid
type
price
author
publication
ASCET
member
memberid
name
address
borrowinglimit
newMember()
removeMember()
student
newTitle()
removeTitle()
*
member borrow article
book title
borrow()
return()
magazine title
fine amount
fineAmt
paidDate
staff
payFine()
receipt()
collection()
EXP NO:
DATE:
:member
:librarian
:stuissuereg
1: request book
2: validate fine borrowing limit
3: validate ok
4: find availability
5: available ok
6: update issue details
7: update issue details
8: update available copy
9: issue book
10: quit
ASCET
:title
:book
EXP NO:
DATE:
Place the object that participates in the interaction as the vertices in a graph.
Remember the links that connect these objects as arcs of the graph.
Finally, adorn the links with the messages that the object sends and receives.
Path: Path is needed to link the objects explicitly. For global, local parameters and self paths.
Sequence Number: It is used to indicate the time order of the message.
:title
4: find availability
8: update available copy
1: request book
10: quit
:member
5: available ok
:librarian
9: issue book
:book
ASCET
:stuissuereg
EXP NO:
DATE:
Ente r pas s
book numbe r
invalid no
valid no
Ente r type
of is sue
borrow
re turn
update
iss ue de tails
ve rify is s ue
de tails
ve rify
re turn time
out of time
as s ign
time
not firs t
Update
iss ue de tails
update article
availability
ASCET
EXP NO:
DATE:
validate
passbook
receive type
of issue
borrow
return
idle
verify
return date
out of time
assign
fine
ASCET
verify issue
details of
update article
availability
EXP NO:
DATE:
librarian.java
student issue
register
item.java
ASCET
EXP NO:
DATE:
student / staff
kiosk
library manager
Result:-
ASCET
library (db)
EXP NO:
DATE:
QUIZ SYSTEM
Aim: To develop a model for Quiz system.
Step 1: Problem Statement
1.
2.
3.
4.
5.
6.
7.
ASCET
EXP NO:
DATE:
no of que
no of persons
time
team
prizes
rules
Accepts
Questioned
ask question
askscore
Questions
checks
Answers
R or W
participant
receives
answer
distributes
interviewer
annoscore
scorer
checks
total score
Prizes
ASCET
EXP NO:
DATE:
participant
name
teamNum
answ()
scorer
name
scoreAna()
*
1 interviewer
name
rules()
prizes()
askQue()
check()
total()
result()
ASCET
EXP NO:
DATE:
:participant
:scorer
:interviewer
1: enter room
2: specify rules
3: ask que
4: ans que
5: check ans
6: assign marks
7: total
8: winners
9: announce results
10: distribute prizes
ASCET
EXP NO:
DATE:
Place the object that participates in the interaction as the vertices in a graph.
Remember the links that connect these objects as arcs of the graph.
Finally, adorn the links with the messages that the object sends and receives.
Path: Path is needed to link the objects explicitly. For global, local parameters and self paths.
Sequence Number: It is used to indicate the time order of the message.
5: check ans
6: assign marks
1: enter room
4: ans que
:interviewer
:participant
2: specify rules 3:
ask que
9: announce results
10: distribute prizes
8: winners7: total
:scorer
ASCET
EXP NO:
DATE:
participant
e nte r room
s pe cify
rule s
As k
que s tion
G ive
ans we r
Che ck
Ans we r
wrong
right
as s ign
no mark s
mark s
End of round
or que s tions
announce
re s ults
distribute
prize s
ASCET
no
EXP NO:
DATE:
Enter
round
rules
Ask ques
idle
cancel
Get ans
yes
Check
Ans
Assign
Marks
check end
of round
Declare
Results
Award
prizes
ASCET
no
EXP NO:
DATE:
Participant.
exe
Quiz.exe
interviewer
.exe
Scorer.exe
ASCET
EXP NO:
DATE:
Interviewer.exe
Participation.ex
e
Scorer.exe
Result:-
ASCET
EXP NO:
DATE:
ONLINE BOOKSHOP
Aim:
ASCET
EXP NO:
DATE:
register de tails
place order
vie w shopping
customer
administrator
acce pt orde r
update ite ms
validate orde r
paybill
ente r cre dit card num
accept cre dit card
ASCET
purchase ne w book
EXP NO:
DATE:
online system
locate
date
time
validateCustomer()
bookDetails()
printReceipt()
validateOrder()
person
name
address
id
age
pinno
1
1
viewBooks()
1
*
bookstore
name
author
copies
cost
purchase()
newbook()
deletebook()
order
namebook
ety
bill
author
admin
updatebookdetails()
calculateBill()
placeBill()
collectBill()
mainteneceBill()
placeorder()
paybill()
*
*
atm
pinno
validatepin()
ASCET
customer
shoppingcard
creditcard
EXP NO:
DATE:
:custome r
:databas e
:front pane l
:atm
:syste m
admin
ASCET
EXP NO:
DATE:
Place the object that participates in the interaction as the vertices in a graph.
Remember the links that connect these objects as arcs of the graph.
Finally, adorn the links with the messages that the object sends and receives.
Path: Path is needed to link the objects explicitly. For global, local parameters and self paths.
Sequence Number: It is used to indicate the time order of the message.
:custome
r
2: validate customer
6: validate order
:front
panel
:database
3: book details
:system
admin
13: credit
15: accept
ASCET
:atm
EXP NO:
DATE:
S h o w s ho p p in g
d e ta ils
v a lid a te
C us to m e r
in v a lid
dis p la y
B o o k in fo
v a lid a te
c us to m e r
c a lc u la te
bill
p a y b ill
ASCET
E n te r C re d it
C a rd p in
U p d a te
A v a ila b ility
ATM
T ra n s a c tio n
P rin t
re c e ip t
EXP NO:
DATE:
activity
Ente r shopping
card
login
idle
validate
custome r
validate use r
take orde r from
custome r
R e que st
for bill
want to update
maintain
D isplay bill
to use r
ge t pinno
prompt for
cre dit card
proce ss cre dit
transactions
update book
availability
print re ce ipt for
the custome r
ASCET
EXP NO:
DATE:
order.exe
ASCET
sales.exe
EXP NO:
DATE:
Order client
Result:-
ASCET
sales server