Ooad Lab Record Final A
Ooad Lab Record Final A
ENGINEERING
RECORD NOTE
Submitted by
Name ` :
Register No. :
BONAFIDE CERTIFICATE
This is to certify that this is a bonafide record of work done by
3 29.01.2025 Identify Use Cases and develop the Use Case model.
2025
Range of Marks
Criteria Below
Excellent Good Average
Average
Aim & Algorithm
18-20 14-17 10-13 0-9
(20)
Coding (30) 27-30 21-26 15-20 0-14
Compilation and
Debugging 27-30 21-26 15-20 0-14
(30)
Execution
and 9-10 7-8 5-6 0-4
Result
(10)
Documentation
(10) 9-10 7-8 5-6 0-4
2025
Criteria Exp 1 Exp 2 Exp 3 Exp 4 Exp 5 Exp 6 Exp 7 Exp 8 Exp 9 Exp 10
Aim & Algorithm
(20)
Coding (30)
Compilation and
Debugging
(30)
Execution and
Result
(10)
Documentation
(10)
Total
Faculty Signature
EX.NO:01 BANKING MANAGEMENT SYSTEM
DATE:
AIM
PROBLEM STATEMENT
PURPOSE
REFERENCES
TECHNOLOGIES TO BE USED
TOOLS TO BE USED
OVERVIEW
The SRS includes two sections: overall description and specific requirements.
1. Overall Description: Explains the components and interconnections
of the system.
2. Specific Requirements: Details the roles and functions of actors.
PRODUCT PERSPECTIVE
The BMS is an integrated solution for both customers and bank staff. It
enables secure transactions, efficient operations, and reliable data handling.
SOFTWARE INTERFACE
HARDWARE INTERFACE
SYSTEM FUNCTIONS
USER CHARACTERISTICS
CONSTRAINTS
1. Login
2. Account Registration
3. Balance Inquiry
4. Fund Transfer
5. Loan Application
6. Approve Loan
7. Transaction History
ACTORS INVOLVED:
1. Customer
2. Administrator
2. ACCOUNT REGISTRATION
3. BALANCE INQUIRY
4. FUND TRANSFER
5. LOAN APPLICATION
6. APPROVE LOAN
7. TRANSACTION HISTORY
Date:
AIM:
To demonstrate a class Diagram with different types of associations or relations.
Association:
Ex: In the Student Attendance Management System, the Student class and
Attendance class are associated together.
Directed Association:
Ex: In the Student Attendance Management System, the Student class can
interact with other Student objects, such as sharing group attendance records.
Multiplicity:
Ex: One Teacher can mark attendance for multiple Students, and each Student
belongs to one specific Class.
Aggregation:
Generalization:
Generalization occurs when one entity is the parent, and another is the child,
inheriting its properties and methods.
Ex: The Person class acts as a parent for the Teacher and Student classes,
inheriting common attributes like Name and ID.
Classes, Methods, and Attributes:
1. Student:
A student is an individual associated with the attendance system.
Methods:
o markAttendance(): Allows the student to mark their attendance.
o viewAttendance(): Allows the student to check their attendance.
Attributes:
o Name, ID, Class, Section.
2. Teacher:
A teacher is responsible for managing attendance records.
Methods:
o markAttendanceForClass(): Marks attendance for all students in
a class.
o viewClassAttendance(): Views attendance records for a class.
Attributes:
o Name, ID, Department.
3. Attendance:
Represents the attendance records for students.
Methods:
o addAttendance(): Adds a new attendance record.
o getAttendanceByDate(): Retrieves attendance for a specific date.
Attributes:
o Date, Student ID, Status (Present/Absent).
4. Class:
Represents a group of students and their associated teacher.
Methods:
o assignTeacher(): Assigns a teacher to the class.
o getStudents(): Retrieves the list of students in the class.
Attributes:
o Class Name, Teacher, Students.
Class Diagram
RESULT:
Hence, the Student Attendance Management System class diagram and relationships
between the classes were successfully demonstrated
EX.NO:03
DATE: IDENTIFY USECASES AND DEVELOP THE
USECASE MODEL
AIM
To identify the UseCases and develop the UseCase Model for Payroll
Management System.
PROCEDURE
Include Relationship:
Payroll processing includes salary calculation.
Extends Relationship:
Leave approval extends from employee request.
RESULT
Thus, the Use Cases are identified and the UseCase Model is developed for the Payroll
Management .
EX.NO:04
DATE: DOMAIN MODEL WITH DIAGRAM
OBJECTIVE:
To design a new online marketplace platform and identify the conceptual classes
of the platform and create a comprehensive domain model with class diagram.
Problem Statement:
Each online store has an admin who controls one or many items in the website.
Customers can place orders and make payments. Each order has shipping
information.
Result:
Thus the UML domain model with class diagram was created for online market
place application
27
EX NO.5 Using the identified scenarios, find the interaction between
DATE: objects and represent them using UML Sequence and
Collaboration Diagrams
AIM:
HARDWARE REQUIREMENTS:
SOFTWARE REQUIREMENTS:
PROJECT DESCRIPTION:
This software is designed for supporting the computerized e-ticketing. This is widely
used by the passenger for reserving the tickets for their travel. This E-ticketing is
organized by the central system. The information is provided from the railway
reservation system
SEQUENCE DIAGRAM:
This diagram consists of the objects, messages and return messages.
Object: Passenger, Railway reservation system, Central computer
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.
28
SEQUENCE DIAGRAM:
CHECKAVAILABILITYOFSEATS
REQUEST PASSENGERDETAILS
PASSENGER DETAILSENTERED
SAVING DETAILS
TICKETCONFIRMED
ACCEPTANCE OF TICKET
29
COLLABORATION DIAGRAM:
4: SEATS NOTAVAILABLE
3: CHECK AVAILABILITY OF SEATS
7: SEATS AREAVAILABLE
10: SAVING DETAILS
11: TICKET CONFIRMED
2
RESULT:
Thus the diagrams [sequence, collaboration] for the E-ticketing has been designed,
executed and output is verified.
30
EX NO.6 Draw the Activity and State Diagrams for given application.
DATE: Stock MaintenanceSystem.
Passport Automationsystem.
AIM:
To draw the diagrams [activity, state] for the
Passport automation system.
HARDWARE REQUIREMENTS:
SOFTWARE REQUIREMENTS:
AGROUML
PROJECT DESCRIPTION:
This software is designed for the verification of the passport details of the
applicant bythe central computer. The details regarding the passport will be
provided to the central computer and the computer will verify the details of
applicant and provide approval to the office. Then the passport will issue from the
office to theapplicant.
30
ACTIVITY DIAGRAM:
Enter Applicant
details
Submission of
Proofs
Verification of
details
check details
Correct details
reapply
Yes
Enquirein no
Person
Enquiry
yes
satisfied
Issue of
3
STATE DIAGRAM:
RESULT:
Thus the diagrams [Use case, class, activity, sequence, collaboration] for the
passport automation system has been designed, executed and output is verified.
3
EX NO.7 Draw the UML package diagram to show the User Interface, Domain objects
DATE: and Technical services.
AIM:
To draw the UML Package Diagram for Ticket Reservation System and Bank
Management System
HARDWARE REQUIREMENTS:
SOFTWARE REQUIREMENTS:
AGROUML
PROJECT DESCRIPTION:
35
PACKAGE DIAGRAM for Ticket Reservation System
36
PACKAGE DIAGRAM for Bank management System
37
RESULT:
Thus the UML Package diagrams for the Ticket Reservation system and Bank
management system has been designed, executed and output is verified
38
EX NO.8 Draw component diagram assuming that you will build your system by
DATE: reusing existing components along with few new components.
AIM:
To draw the component diagrams for Ticket Reservation System and Bank Management System
HARDWARE REQUIREMENTS:
SOFTWARE REQUIREMENTS:
AGROUML
PROJECT DESCRIPTION:
A component diagram is used to break down a large object-oriented system into the smaller
components, so as to make them more manageable. It models the physical view of a system such
as executables, files, libraries, etc. that resides within the node. It visualizes the relationships as
well as the organization between the components present in the system. It helps in forming an
executable system. A component is a single unit of the system, which is replaceable and
executable. The implementation details of a component are hidden, and it necessitates an
interface to execute a function. It is like a black box whose behavior is explained by the
provided and required interfaces.
a) A component
39
3
Purpose of a Component Diagram
Since it is a special kind of a UML diagram, it holds distinct purposes. It describes all the
individual components that are used to make the functionalities, but not the functionalities
of the system. It visualizes the physical components inside the system. The components
can be a library, packages, files, etc.
The component diagram also describes the static view of a system, which includes the
organization of components at a particular instant. The collection of component diagrams
represents a whole system.
40
Component DIAGRAM for Ticket Reservation System
41
Component DIAGRAM for Bank management System
42
RESULT:
Thus the Component diagrams for the Ticket Reservation system and Bank management
system has been designed, executed and output is verified
43
EX NO.9 Draw deployment diagrams to model the runtime architecture of your
DATE: application
AIM:
HARDWARE REQUIREMENTS:
SOFTWARE REQUIREMENTS:
AGROUML
PROJECT DESCRIPTION:
44
.
The deployment diagram does not focus on the logical components of the
system, but it put its attention on the hardware topology.
Following are the purposes of deployment diagram enlisted
below: To envision the hardware topology of the
system.
To represent the hardware components on which the software
components are installed.
To describe the processing of nodes at the runtime.
Symbol and notation of Deployment diagram
The deployment diagram consist of the following
notations: A component
An
artifact
An
interface
A node
45
Deployment Diagram for Railway Reservation System
46
Deployment Diagram for Bank Management System
47
RESULT:
Thus the Deployment diagrams for the Ticket Reservation system and Bank management
system has been designed, executed and output is verified
48
EX NO.10 Apply appropriate design patterns to improve the reusability
DATE: and maintainability of the software system
PROBLEMSTATEMENT:
SPECIFICATION:
2.1 SOFTWAREINTERFACE
Front End Client- The applicant and Administrator online interface is built
using JSP and HTML. The HR's local interface is built using Java.
Server - Glassfish application server (SQLCorporation).
Back End SQL database.
49
(II) USECASEDIAGRAM:
50
(III) ACTIVITYDIAGRAM:
The activity diagram action, partition, for k join and object node. Most
of the notation is self-explanatory, two subtle points. Once an action
finished, there is an automatic outgoing transaction. The diagram can show
both control flow and dataflow.
51
(IV) CLASSDIAGRAM:
The class diagram, also referred to as object modeling is the main static
analysis
diagram.Themaintaskofobjectmodelingistographicallyshowwhateachobjectw
illdo in the problem domain. The problem domain describes the structure and
the relationships among objects.
52
(V) INTERACTION DIAGRAM:
Fig.6.1.SEQUENCE DIAGRAM
53
Fig.6.2.COLLABORATION DIAGRAM
54
(VII) DEPLOYMENT DIAGRAM AND COMPONENTDIAGRAM
Fig.8.1.DEPLOYMENT DIAGRAM
55
COMPONENT DIAGRAM
Fig.8.2.COMPONENT DIAGRAM
56
RESULT: