0% found this document useful (0 votes)
11 views18 pages

Prasanna 18Mtcs10: I.Ticket Reservation System 1. Use Case Diagram

The document outlines various systems including a Ticket Reservation System, Student Mark Analyzing System, ATM, and Quiz System, detailing their use case, class, activity, sequence, and component diagrams. Each system is designed to manage specific functionalities such as ticket reservations, student marks, banking transactions, and quiz management. The diagrams provide a visual representation of the interactions and data flow within each system.

Uploaded by

Adithyan Cp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views18 pages

Prasanna 18Mtcs10: I.Ticket Reservation System 1. Use Case Diagram

The document outlines various systems including a Ticket Reservation System, Student Mark Analyzing System, ATM, and Quiz System, detailing their use case, class, activity, sequence, and component diagrams. Each system is designed to manage specific functionalities such as ticket reservations, student marks, banking transactions, and quiz management. The diagrams provide a visual representation of the interactions and data flow within each system.

Uploaded by

Adithyan Cp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 18

PRASANNA 18MTCS10

I.Ticket reservation system

1. Use case diagram:

System

update train details

administrater
reserve ticket

cancel ticket

view ticket

passenger
2. Class diagram:

passengers railway controller

+name: string +name: string


+age: integer +age: integer
+address: string +address: string
new property
+view_train_details() +cancel_ticket()
+request_form() +reserve_ticket()
+submit_form() +update_train_details()
+reserve() +receiver_cash()
+concillation() +check_db()
+credit_card()
+paying_cash()

new property

railway database

+train_details: string
+passenger_details: string

+store_details()

3. Activity diagram:

start

check reservation list

reserve ticket cancel ticket

informcustomers

view details
check reservation list

no
give details

fill form yes

give form

submit form visit ticket

stop return payment


4. Sequence diagram:

passenger reserve form reserve controller reserve db

1 : view train details()

2 : request form()
3 : submit form()
4 : checking()

5 : unavailable()

6 : issue ticket()

7 : store in db()

8 : request for cancellation()


10 : store in db()
9 : issue ticket cancellation()

5. Component diagram

passengerss train

tickets
II. STUDENT MARK ANALYZING SYSTEM

1. USE CASE DIAGRAM:

System

log in

faculty

mark entry

adminstrator

mark analysis

data base

maintain student information

marak analyzer

create result report

student

view reports

placement officer
2. CLASS DIAGRAM:

students admin

+name: string +name: string


+reg no: integer +dept: string
+dept: string
+calculate()
+get_result() +average()
+get_subject() +result()
3. ACTIVITY DIAGRAM:

number of students

analyse marks

fail pass

total marks

calculate average]

give grade
4. SEQUENCE DIAGRAM:

Admin 1 Database Student

1 : user id and password()

2 : check()

3 : checking status()

4 : Enter Registor Number()

5 : Registor Number()

6 : Mark Analysis()

7 : Search()

8 : Mark Analysis()

9 : Calculate()

10 : Report()
5. COMPONENT DIAGRAM:

Student
Admin

Mark Database
ATM

1. Use Case

System
deposit amount

check pin card


withdraw amount

review details
ATM

update details

system
terminate transition

cancel transition
2. Class Diagram

bank client controller

+name: string +name: string


+acc.no: integer
+balance: integer +check_card()
new property +deposite()
+insert_card() +withdraw()
+deposite_amount() +record_transcation()
+withdraw_amount()

new property

bank database

+name: string

+update_account()
+store_transcation_details()
+opname()
3. Activity Diagram

withdraw

insert ATM card

enter PIN

check pin

enter amount

no
balance
terminate transcation

yes sufficient

withdraw amount

update amount
4. Sequence Diagram

client ATM controller data base

1 : insert card()
2 : verify pin()

3 : invalid PIN()

4 : enter card()

5 : request amount()

7 : enter amount to deposit() 6 : deposit amount()

8 : update account()
9 : enter amount to withdraw()

10 : withdraw is sufficient()

11 : inform client if balance is sufficient()

12 : close transaction()
5. Component Diagram

Client atm

Deposit amount
QUIZ SYSTEM

1. USE CASE

System

Registration

prepare question

participant
quiz Master

Participant

scoring

report
2. CLASS

Quiz Master
PARTICIPANT
+name: string
+id: integer +name: string
+id: integer
+register() +team_name: string
+update()
+verify() +registe()
+ask() +answer()
+view()

score database quiz database

+team_name: string +question: string


+answer: string +answer: string

+verfiy() +verify()
3. ACTIVITY DIAGRAM

create quiz

announce teamname

announce rules

ask question

check

Increment score pass to next team

ask next question

announce result

give prize
4. SEQUENCE DIAGRAM

PARTICIPANT QUIZ MASTER Object1 REPORT

1 : GET PARTICIPANT DETAILS()


QUESTION TOPIC
2 : GIVE DETAILS()

3 : SELECT TOPIC()

4 : GET QUESTION()

7 : ANSWER()
8 : ANALYZE ANSWER()

9 : GENERATE REPORT()

10 : DIAPLAY RESULT()
5. COMPONENT DIAGRAM

ParticipanT QUIZ MASTER

DATA BASE

You might also like