This document contains use case diagrams, class diagrams, sequence diagrams, collaboration diagrams, and state chart diagrams for an ATM system. The use case diagram shows use cases like login, cash withdrawal, and system shutdown. The class diagram shows classes like customer, account, ATM screen, cash dispenser, and receipt generator. The sequence diagrams show the steps involved in processes like login and cash withdrawal. The collaboration diagram shows the interaction between objects during processes like login and cash withdrawal. The state chart diagram shows the different states like OFF, IDLE, and SERVING CUSTOMER that the ATM can be in.
2. Hospital management
Use case Diagram
Login
Staff/Nurses
Information system
Administrator
Reports
Diagnosis
Doctor
Patient
Admission
Appointments
Payment
3. Class Diagram
Patient
Diagnosis
Private int id
private int p_id Reports
private varchar name
private int id
private int age
private int doctor_id void dispWardStatus()
1..* 1 1 1
public int create() void dispReports()
public void test()
public int inpatient()
public void appt()
public int ispatient()
1 1..*
1
1 Doctor
1 private int id
Appointment private varchar name
Registration
date dt private float salary
time tm
int reg()
void alotBed() public void salary()
1
Payment
float amt
int billno.
float addTestChrg()
float addOprChrg()
float addWrdChrg()
10. Staff Patient
Enter the
Hospital
Take Details Takes
of patients Appointment
gives
appointment Undergo
Diagnosis
Not Cured
gives bill
Takes
Treatment
takes bill
Gets Cured
amount
Doctor
11. Diagnos
the patient
Gives
treatment
Prescribes medicines
and tests
Cures the
patient
Railway Management System
12. Use case Diagram
Login
Inforamtion system
Administartor
Enquiry
Traveller Reseravtion
Cancellation Booking Clerk
Payment
Class Diagram
13. Traveller Cancellation
varchar name int tkt_no.
int age int Train_no.
varchar sex Date dt
1 1..*
void create() void cancel() 1..*
void inTraveller() 1..* float amt_back() Clerk
1 1..* varchar name
0..* int id
varchar branch
1
Payment 0..* float salary()
float amt Reservation float wrkngHrs()
1..*
int Ticket_no int tkt_no.
1 int train_no. 1..*
void Pay() name
Enquiry
int tkt_no. void confrm()
int train_no. void waiting()
Date dt
time tm
void avlble()
void chk_list()
Sequence Diagram
18. State Chart Diagram
Enquiry Reservation
Check for the
Availability
Enter the Railway
station
Reserved
Check for the the seats
Required Train
Pay the required
Check for the required Amount
Date and Time
Confirm/Update
Check for the the status
Reservation type
19. Northern India Engineering College
Use case
Login
Administrator Faculty
Fees Structure
<<include>>
Courses Available
Salary
Time Table
Admission
Result
Student Visitor
College Info
20. Class Diagram
Student
varchar name Result
int rollno. int rollno
varchar branch 1 1 int year 1..*
varchar address varchar branch
1..*
int create() void dispResult()
void inStudent()
1 1 1
1 Faculty
1 Courses int id
varchar subject varchar name
Admission
int sem float salary
int rollno 1 1..*
date dt float salary()
varchar course void subject()
1
void regstr()
Fee
float amt
int rollno.
int year
varchar branch
void deposit()
24. 2: 2.CrsTkn()
1: 1. inStudent()
Student : Course :
Student Courses
3: 3. dispResult()
Result :
Result
State Chart Diagram
25. Student Faculty
Enter the
College
come to
Lecture Hall
Enrol for a
Course
Takes the
lecture
Pay the
fees
Takes
Exam
Attend the Lectures
and give the Exams
Give the
Take the Result
result
26. Library management
Use case Diagram
Login
Books Record Administrator
Search a Book
Registration
Librarian
Issue
User
Return
Fine
Reading Section
34. User Librarian
Enter the Make new
registrations
Library
Issue the
Register Yourself and books
get the membership
Collect the
Fines
Search for
the book
Maintain the
records.
Get Issue
the book
Return the book
till due date
Appoint
staff
Maintain the
Books Records
Maintain the
Staff Records
Order new
books
Administrator
Maintain the library
infrastructure