Object Oriented Design Lab Manual
Object Oriented Design Lab Manual
Laboratory Manual
BE (COMPUTER ENGINEERING)
Semester – VII
410244(D): Object Oriented Modeling And Design
Page 1
Object Oriented Modeling & Design Lab
Any 5 assignments from group 1 and 1 Mini project from group 2 is mandatory.
Group 1 Assignments
Draw basic class diagrams to identify and describe key concepts like classes,
2 types in your system and their relationships
Draw one or more Use Case diagrams for capturing and representing
3 requirements of the system. Use case diagrams must include template
showing description and steps of the Use Case for various scenarios
Draw one or more Use Case diagrams for capturing and representing
4 requirements of the system. Use case diagrams must include template
showing description and steps of the Use Case for various scenarios
Draw activity diagrams to display either business flows or like flow charts
5
Draw component diagrams assuming that you will build your system
6 reusing existing components along with a few new ones
Draw deployment diagrams to model the runtime architecture of your
7 system
Page 2
Object Oriented Modeling & Design Lab
Group-I
Consider the class for telephone line with following activities and states:
As a start of a call, the telephone line is idle. When the phone receiver is picked from hook, it
gives a dial tone and can accept the dialing of digits.
If after getting dial tone, if the user doesn’t dial number within time interval then time out
occurs and phone line gets idle.
After dialing a number, if the number is invalid then some recorded message is played.
Upon entry of a valid number, the phone system tries to connect a call & routes it to proper
destination.
If the called person answers the phone, the conversation can occur. When called person hangs
up, the phone disconnects and goes to idle state.
Draw the state transition diagram for above description of telephone line.
A state diagram is a graph whose node are state and whose directed arcs are transition between
states which describes sequence caused by event sequences. A state diagram typically models the
common behavior of a class
In this example, the phone line is idle at the start of a call. When the phone is removed from the
hook, it emits a dial tone and can accept the dialling of digits. Upon entry a valid number, the
phone system tries to connect the call and route to the proper destination. The connection can fail
if the number or trunk are busy. If the connection is successful the called phone begins ringing.
When put on hook again, the phone line will go back to idle.
Page 3
Object Oriented Modeling & Design Lab
2. Draw basic class diagrams to identify and describe key concepts like classes, types in
your system and their relationships
Class diagrams are the main building block in object oriented modeling. They are used to
show the different objects in a system, their attributes, their operations, and
the relationships among them.
The class diagram depicts a static view of an application. It represents the types of objects
residing in the system and the relationships between them.
A class consists of its objects, and also it may inherit from other classes.
A class diagram is used to visualize, describe, document various different aspects of the
system, and also construct executable software code.
It shows the attributes, classes, functions, and relationships to give an overview of the
software system.
It constitutes class names, attributes, and functions in a separate compartment that helps
in software development.
Since it is a collection of classes, interfaces, associations, collaborations, and constraints,
it is termed as a structural diagram.
Page 4
Object Oriented Modeling & Design Lab
3&4. Draw one or more Use Case diagrams for capturing and representing requirements of
the system. Use case diagrams must include template showing description and steps of the
Use Case for various scenarios
Use Case Diagram captures the system’s functionality and requirements by using actors
and use cases.
Use Cases model the services, tasks, function that a system needs to perform.
Use cases represent high-level functionalities and how a user will handle the system.
Usecases are the core concepts of Unified Modelling language modeling.
A Use Case consists of use cases, persons, or various things that are invoking the features
called as actors and the elements that are responsible for implementing the use cases.
Use case diagrams capture the dynamic behaviour of a live system. It models how an
external entity interacts with the system to make it work.
Use case diagrams are responsible for visualizing the external things that interact with the
part of the system.
To draw a use case diagram in UML first one need to analyse the entire system carefully. we
have to find out every single function that is provided by the system. After all the functionalities
of a system are found out, then these functionalities are converted into various use cases which
will be used in the use case diagram.
A use case is nothing but a core functionality of any working system. After organizing
the use cases, we have to enlist the various actors or things that are going to interact with
the system.
These actors are responsible for invoking the functionality of a system. Actors can be a
person or a thing. It can also be a private entity of a system. These actors must be relevant
to the functionality or a system they are interacting with.
Page 5
Object Oriented Modeling & Design Lab
After the actors and use cases are enlisted, then you have to explore the relationship of a
particular actor with the use case or a system. One must identify the total number of ways
an actor could interact with the system. A single actor can interact with multiple use cases
at the same time, or it can interact with numerous use cases simultaneously.
Following rules must be followed while drawing usecase for any system:
1. The name of an actor or a use case must be meaningful and relevant to the system.
2. Interaction of an actor with the use case must be defined clearly and in an understandable
way.
3. Annotations must be used wherever they are required.
4. If a use case or an actor has multiple relationships, then only significant interactions must
be displayed.
Page 6
Object Oriented Modeling & Design Lab
Page 7
Object Oriented Modeling & Design Lab
Page 8
Object Oriented Modeling & Design Lab
5. Draw activity diagrams to display either business flows or like flow charts
Here the input parameter is the Requested order, and once the order is accepted, all of the
required information is then filled, payment is also accepted, and then the order is shipped. It
permits order shipment before an invoice is sent or payment is completed.
An activity diagram can be used to portray business processes and workflows. It is used for
modelling business as well as the software. An activity diagram is utilized for the followings:
1. To graphically model the workflow in an easier and understandable way.
2. To model the execution flow among several activities.
3. To model comprehensive information of a function or an algorithm employed within the
system.
4. To model the business process and its workflow.
5. To envision the dynamic aspect of a system.
6. To generate the top-level flowcharts for representing the workflow of an application.
7. To represent a high-level view of a distributed or an object-oriented system.
6. Draw component diagrams assuming that you will build your system reusing existing
components along with a few new ones
UML Component Diagrams are used for modeling large systems into smaller
subsystems which can be easily managed.
UML Component diagrams are used to represent different components of a system.
When modeling large object-oriented systems, it is necessary to break down the system into
manageable subsystems.
A component is a replaceable and executable piece of a system whose implementation details
are hidden.
A component provides the set of interfaces that a component realizes or implements.
Components also require interfaces to carry out a function.
Page 9
Object Oriented Modeling & Design Lab
Page 10
Object Oriented Modeling & Design Lab
The deployment diagram visualizes the physical hardware on which the software will be
deployed. It portrays the static deployment view of a system. It involves the nodes and their
relationships. It ascertains how software is deployed on the hardware. It maps the software
architecture created in design to the physical system architecture, where the software will be
executed as a node. Since it involves many nodes, the relationship is shown by utilizing
communication paths.
The main purpose of the deployment diagram is to represent how software is installed on the
hardware component. It depicts in what manner a software interacts with hardware to
perform its execution.
Page 11
Object Oriented Modeling & Design Lab
Page 12
Object Oriented Modeling & Design Lab
Page 13
Object Oriented Modeling & Design Lab
8. Mini Project: Draw all UML diagrams for your project work.
9. Mini Project - Develop a Blockchain based application for health related medical
records Draw following UML Diagrams for Bank Management application
a. Class Diagram b. Object Diagram c. ER Diagram d. Component Diagram
Design Coffee Vending Machine Using Structural & Behavioral UML Diagram.
2
Page 14
Object Oriented Modeling & Design Lab
Experiment No.1
TITLE: Design ATM System Using Structural & Behavioral UML Diagram.
PREREQUISITE: Software Analytical Skill
HARDWARE CONFIGURATION / KIT:
Sr. No Hardware Configuration
1 Processor 1.5GHz or more
2 RAM 4Gb Minimum
3 HDD Minimum 30Gb free Space
4
Standard I/O devices
SOFTWARE CONFIGURATION:
Sr. No Software Configuration
1 Operating System Windows 7 or later
2 Rational Rose Enterprise Edition 7.0 or later
THEORY:
Problem Statement:-
Design the software to support a computerized banking network including both human
Cashier and ATM. Each bank provides its own computer to maintain its customer accounts and
process transaction organize them, cashier station are owned by individual banks and
communication directly with their bank controller, then cashier enters account and transact data.
ATM communicates with central computer with appropriate bank. ATM accept cash card,
interact with user, communicate with central computer to carry out the transaction
process and print receipt.
Analysis
ATM performs many more functions one of them is withdrawal. The customer will interact to
ATM machine with ATM card. ATM will check customers account if authentication is correct
then ATM displays the withdrawal option. After withdraw process completes, customer can
collect money printed receipt from cash dispenser and ATM machine will reject the card.
Theory
To develop any software we can follow some sequential approach which begins from
that system level and progresses through analysis, design, coding, testing and the
maintenance when this is modeled with following activities as follows.
Software engineering and information gathering
With ATM system, different facilities are provided that is transaction.
Transaction is Maximum 3 times per day. Different people (customer) interacting with ATM for
the services provided as well as facilities .When organization decide to develop the system
it begins with requirement tracing of system to be develop. Requirement gathering is done at
Page 15
Object Oriented Modeling & Design Lab
design with SRS i.e. Requirements of customer i.e. Transformed into software design.
Design software has to be backed by system documentation aspect of software engineer design
focus on quality. The design information is
Account ( acc_no, balance, cname)
ATM (ATM_card, pin_no, expiry, acc_no)
Code (pin_no, ATM_card, valid card)
Money (ten, fifty, hundred, five hundred)
Account Acc_no
Code Pin_code
d) Coding
Programming or coding is next phase when system design is complete from design to
code development. Now choose VB 6.0 as front end because following features:
1) Easy to use.
2) Implementation is easy.
3) Updation can be easily done.
4) Cost designing software using VB is less.
5) User friendly.
Choose back end as MS-access with following features
1) Can store large amount data
2) Table size is 64KB which is much more store.
3) Access gives user friendly to access data easily and conveniently.
e) Testing
After coding, testing of code generated status various system testing methods from unit testing to
integration are used to in this phase. Testing is used to check errors, bugs or required output.
f) Maintenance / Support
It is last phase of life cycle when system is implemented at user wants changes are required as
new platform with OS may peripheral devices are changes.
Correction: -
In this uncover logical errors are corrected. Eg. Book_id datatype number but customer use
character every time, so software gives error. This error can be corrected by changing datatype to
Page 17
Object Oriented Modeling & Design Lab
number.
Adaptation: - In this modification in software is done to according changes with
external environment.
Enhancement: - Changes because of the additional functionality requested by the customer.
Prevention: - Suppose after delivery of software customer recognize that response time of
software is slow. He tells to developer to make changes in software so developers
suggest recognizing software than changes.
ALGORITHM / PROCEDURE / FLOWCHART:
1. Open Rational Rose Enterprise Edition
2. Select Appropriate Language for Mapping of Design
Page 18
Object Oriented Modeling & Design Lab
7. Drag & Drop the UML Building Block as Per Diagram from Tool Bar into the Workspace
Page 19
Object Oriented Modeling & Design Lab
Page 20
Object Oriented Modeling & Design Lab
CONCLUSION / RESULT:
In this Experiment, we have Design ATM System Using Structural & Behavioral UML Diagram.
Page 21
Object Oriented Modeling & Design Lab
Experiment No.2
TITLE: Design Coffee Vending Machine Using Structural & Behavioral UML Diagram.
PREREQUISITE: Software Analytical Skill
HARDWARE CONFIGURATION / KIT:
Sr. No Hardware Configuration
1 Processor 1.5GHz or more
2 RAM 4Gb Minimum
3 HDD Minimum 30Gb free Space
4
Standard I/O devices
SOFTWARE CONFIGURATION:
Sr. No Software Configuration
1 Operating System Windows 7 or later
2 Rational Rose Enterprise Edition 7.0 or later
THEORY:
Objective
Objective of the system is to prepare a coffee vending machine for commercial purpose. The
system will able to prepare coffee by processing all its required ingredients. User will be
provided with sophisticated & easy to use user interface.
Introduction
There are many different types of coffee makers using a number of different brewing principles,
in the most common devices, coffee grounds are placed in a paper or metal filter inside a funnel,
which is set over a glass or ceramic coffee pot, a cooking pot in the kettle family. Cold water is
poured into a separate chamber, which is then heated up to the boiling point, and directed into
the funnel.
Page 22
Object Oriented Modeling & Design Lab
Vending ingredients are all the ingredients which can be used in vending machines. This
includes 73mm in Cup products, 76mm Kenco in Cup drinks, coffee beans, tea bags, milk
products, sugar products and also includes cups, spoons and more. Most of these products can be
bought at a reduced cost in bulk packs.
Features
Small Carbon Foot Print
Energy Saving Advanced Power Management System
Comprehensive Drink Range
Simple User Interface
One Touch Servicing
Working
Coffee vending machines are quite simple and basic. The way they work is not too different to
how a table-top coffee machine or even a drip coffee machine operates. If you think about it,
making coffee is simply adding together coffee beans or grounds to hot water and mixing with
milk and sugar, and that's exactly what a hot drinks vending machine does.
Functions:-
Add Heat:-
To heat the coffee we have three options. We could use a heating element where the
water is gravity fed into a tubular heating element, external to the water reservoir, and boiled out.
Secondly, we could use a submersible heating element placed inside of the water reservoir to
Page 23
Object Oriented Modeling & Design Lab
heat all of the water at once. Thirdly we could use an external hot plate to heat one or multiple
walls of the water reservoir and thus heat the water through surface convection.
Direct Water:-
The fluids could be directed from the water reservoir to their final destination via tubing, gravity
feed, and/or a pump.
Contain Water/Coffee:-
To contain the water and coffee we could use one reservoir, two reservoirs or a funnel. If one
reservoir was used for both the water and coffee container, our design would be a percolating or
French press coffee maker.
Reduce Noise:-
To reduce the overall noise we considered two options: noise dampening material and internal
brew mechanism. To lessen the noise produced by our designs we could fill or cover the outer
shell of with a noise dampening material. We could also keep the brew mechanism, whether it is
drip or a spout, internal so its noise is damped by the outer casing.
Maintenance
When it comes to the ways in which coffee vending machines work, it's not all about the coffee,
it's also about the upkeep and maintenance of the machine. Usually, vending machines are leased
from a supplier, and it's they who will ensure the machine keeps working as it should. With
regular visits, suppliers should empty the cash drawer, reconcile the proceeds against sales,
empty the waste grounds, refill ingredients and cups, and generally undertake any work to both
the interior and exterior to keep everything running smoothly, such as ensuring there's no buildup
of dirt around the exterior buttons that could cause them to stick, and making sure nothing is
blocking the internal sensors that could prevent some ingredients from being added to the mixing
chamber.
Result
Based on the system requirements specification coffee vending machine has been analyzed &
designed.
ALGORITHM / PROCEDURE / FLOWCHART:
1. Open Rational Rose Enterprise Edition
Page 24
Object Oriented Modeling & Design Lab
Page 25
Object Oriented Modeling & Design Lab
7. Drag & Drop the UML Building Block as Per Diagram from Tool Bar into the Workspace
Page 26
Object Oriented Modeling & Design Lab
Page 27
Object Oriented Modeling & Design Lab
CONCLUSION / RESULT:
In this Experiment, we have Designed Coffee Vending Machine Using Structural & Behavioral
UML Diagram.
Page 28
Object Oriented Modeling & Design Lab
Experiment No.3
TITLE: Design College Admission Process Using Structural & Behavioral UML Diagram.
PREREQUISITE: Software Analytical Skill
HARDWARE CONFIGURATION / KIT:
Sr. No Hardware Configuration
1 Processor 1.5GHz or more
2 RAM 4Gb Minimum
3 HDD Minimum 30Gb free Space
4
Standard I/O devices
SOFTWARE CONFIGURATION:
Sr. No Software Configuration
1 Operating System Windows 7 or later
2 Rational Rose Enterprise Edition 7.0 or later
THEORY:
Problem Statement:-
As the head of information systems for Wylie College you are tasked with developing a new
student registration system. The college would like a new client-server system to replace its
much older system developed around mainframe technology. The new system will allow
students to register for courses and view report cards from personal computers attached
to the campus LAN as well as over the Internet. Professors will be able to access the system to
sign up to teach courses as well as record grades.
Due to a decrease in federal funding, the college cannot afford to replace the entire
system at once. The college will keep the existing course catalog database where all course
information is maintained. This database is an Ingres relational database running on a DEC
VAX. Fortunately the college has invested in an open SQL interface that allows access to
this database from college’s Unix servers. The legacy system performance is rather poor, so the
new system must ensure that access to the data on the legacy system occurs in a timely manner.
The new system will access course information from the legacy database but will not
update it. The registrar’s office will continue to maintain course information through another
system. At the beginning of each semester, students may request a course catalogue containing a
list of course offerings for the semester. Information about each course, such as professor,
department, and prerequisites, will be included to help students make informed decisions. The
new system will allow students to select four course offerings for the coming semester. In
addition, each student will indicate two alternative choices in case the student cannot be assigned
to a primary selection.
Page 29
Object Oriented Modeling & Design Lab
Course offerings will have a maximum of ten students and a minimum of three
students A course offering with fewer than three students will be canceled. For each
semester, there is a period of time that students can change their schedule. Students must be able
to access the system during this time to add or drop courses. Once the registration
process is completed for a student, the registration system sends information to the billing
system so the student can be billed for the semester. If a course fills up during the actual
registration process, the student must be notified of the change before submitting the schedule
for processing. At the end of the semester, the student will be able to access the system
to view an electronic report card. Since student grades are sensitive information, the
system must employ extra Security measures to prevent unauthorized access. Professors must
be able to access the on-line system to indicate which courses they will be teaching.
They will also need to see which students signed up for their course offerings. In
addition, the professors will be able to record the grades for the students in each class.
Page 30
Object Oriented Modeling & Design Lab
1. Objective
The purpose of this document is to define requirements of the Course Registration System. This
Supplementary Specification lists the requirements that are not readily captured in the use cases
of the use-case model. The Supplementary Specifications and the use-case model together
capture a complete set of requirements on the system.
2. Scope
This Supplementary Specification applies to the Course Registration System, which
will be developed by the OOA and OOD students. This specification defines the non-
functional requirements of the system; such as reliability, usability, performance, and
supportability, as well as functional requirements that are common across a number of
use cases. The functional requirements are defined in the Use Case Specifications.
3. Functionality
Multiple users’ must be able to perform their work concurrently.
If a course offering becomes full while a student is building a schedule including that offering,
the student must be notified
4. Usability
The desktop user-interface shall be Windows NT and Windows2000 compliant.
5. Reliability
The system shall be available 24 hours a day 7 days a week, with no more than 10% down time.
6. Performance
1. The system shall support up to 2000 simultaneous users against the central database at any
given time and up to 500 simultaneous users against the local servers at any one time.
2. The system shall provide access to the legacy course catalog database with no more than a 10
second late
Note: Risk-based prototypes have found that the legacy course catalog database cannot
meet our performance needs without some creative use of mid-tier processing power.
3. The system must be able to complete 80% of all transactions within 2 minutes.
7. Security
1.The system must prevent students from changing any schedules other than their own,
and Professors from modifying assigned course offerings for other professors.
2. Only Professors can enter grades for students.
3. Only the Registrar is allowed to change any student information
8. Design Constraints
The system shall integrate with an existing legacy system, the Course Catalog System, which is
an RDBMS Database.
9. Course Registration System Use-Case Model Main Diagram
This use case allows a Registrar to close the registration process. Course offerings that do not
have enough students are cancelled. Course offerings must have a minimum of three students in
them. The billing system is notified for each student in each course offering that is not
Page 31
Object Oriented Modeling & Design Lab
Page 32
Object Oriented Modeling & Design Lab
This use case starts when the actor wishes to log into the Course Registration System.
1. The system requests that the actor enter his/her name and password.
2. The actor enters his/her name and password.
3.The system validates the entered name and password and logs the actor into the
system.
11.2.2 Alternative Flows
11.2.2.1Invalid Name/Password
If, in the Basic Flow, the actor enters an invalid name and/or password, the system displays an
error message. The actor can choose to either return to the beginning of the Basic Flow or cancel
the login, at which point the use case ends.
11.3Post-Conditions
If the use case was successful, the actor is now logged into the system. If not, the system state is
Unchanged.
12. Maintain Professor Information
12.1Brief Description
This use case allows the Registrar to maintain professor information in the registration system.
This includes adding, modifying, and deleting professors from the system.
12.2Flow of Events
12.2.1 Basic Flow
This use case starts when the Registrar wishes to add, change, and/or delete professor
information in the system.
1.The system requests that the Registrar specify the function he/she would like to perform
(either Add a Professor, Update a Professor, or Delete a Professor)
2.Once the Registrar provides the requested information, one of the subflows is executed.
If the Registrar selected “Add a Professor”, the Add a Professor subflow is executed. If the
Registrar selected “Update a Professor”, the Update a Professor subflow is executed. If
the Registrar selected “Delete a Professor”, the Delete a Professor subflow is executed.
12.2.1.1 Add a Professor
The system requests that the Registrar enter the professor information. This includes:
-name
-date of birth
-social security number
-status
- Department
1.Once the Registrar provides the requested information, the system generates and
assigns a unique id number to the professor. The professor is added to the system.
2. The system provides the Registrar with the new professor id.
12.2.1.2 Update a Professor
1. The system requests that the Registrar enter the professor id.
2. The Registrar enters the professor id. The system retrieves and displays the professor
Page 33
Object Oriented Modeling & Design Lab
information.
3. The Registrar makes the desired changes to the professor information. This includes any of the
information specified in the Add a Professor sub-flow.
4.Once the Registrar updates the necessary information, the system updates the professor
record.
12.2.1.3 Delete a Professor
1. The system requests that the Registrar enter the professor id
2. The Registrar enters the professor id. The system retrieves and displays the professor
information.
3. The system prompts the Registrar to confirm the deletion of the professor.
4. The Registrar verifies the details.
13. Maintain Student Information
13.1Brief Description
This use case allows the Registrar to maintain student information in the registration
system. This includes adding, modifying, and deleting Students from the system.
13.2 Flow of Events
13.2.1 Basic Flow
This use case starts when the Registrar wishes to add, change, and/or delete student information
in the system.
1.The system requests that the Registrar specify the function he/she would like to
perform (either Add a Student, Update a Student, or Delete a Student)
2.Once the Registrar provides the requested information, one of the subflows is executed.
If the Registrar selected “Add a Student”, the Add a Student subflow is executed. If the
Registrar selected “Update a Student”, the Update a Student subflow is executed. If the
Registrar selected “Delete a Student”, the Delete a Student subflow is executed.
13.2.1.1Add a Student
1. The system requests that the Registrar enter the student information. This includes:
-name
-date of birth
-social security number
-status
- Graduation date
2.Once the Registrar provides the requested information, the system generates and assigns
a unique id number to the student. The student is added to the system.
3. The system provides the Registrar with the new student id.
13.2.1.2 Update a Student
1. The system requests that the Registrar enter the student id.
2. The Registrar enters the student id. The system retrieves and displays the student
information.
3. The Registrar makes the desired changes to the student information. This includes any of the
Page 34
Object Oriented Modeling & Design Lab
Page 35
Object Oriented Modeling & Design Lab
Page 36
Object Oriented Modeling & Design Lab
course offering and the use case continues, save the schedule, as is (see Save a Schedule
subflow, or cancel the operation, at which points the Basic Flow is re-started at the beginning.
14.2.2.3 No Schedule Found
If, in the Update a Schedule or Delete a Schedule sub-flows, the system is unable to retrieve the
Student’s schedule, an error message is displayed. The Student acknowledges the error, and the
Basic Flow is re-started at the beginning.
14.2.2.4Course Catalog System Unavailable
If the system is unable to communicate with the Course Catalog System, The system will display
an error message to the Student. The student acknowledges an error message.
14.2.2.5Course Registration Closed
If, when the use case starts, it is determined that registration for the current semester has
been closed then a message is displayed to the Student and the use case terminates. Students
cannot register for course offerings after registration for the current semester has been closed.
14.2.2.6 Delete Cancelled
If, in the Delete A Schedule sub-flow, the Student decides not to delete the schedule, the delete is
cancelled, and the Basic Flow is re-started at the beginning.
14.3 Pre-Conditions
The Student must be logged onto the system before this use case begins.
14.4Post-Conditions
If the use case was successful, the student schedule is created, updated, or deleted. Otherwise,
the system state is unchanged.
15. Select Courses to Teach
15.1Brief Description
This use case allows a Professor to select the course offerings from the course catalog
for the courses that he/she is eligible for and wishes to teach in the upcoming semester.
15.2 Flow of Events
15.2.1 Basic Flow
This use case starts when a Professor wishes to sign up to teach some course offerings
for the upcoming semester.
1. The system retrieves and displays the list of course offerings the professor is eligible to teach
for the current semester. The system also retrieves and displays the list of courses the professor
has previously selected to teach.
2.The professor selects and/or de-selects the course offerings that he/she wishes to teach
for the upcoming semester.
3. The system removes the professor from teaching the de-selected course offerings.
4.The system verifies that the selected offerings do not conflict (i.e., have the same dates
and times) with each other or any course offerings that the professor has previously signed
up to teach. If there is no conflict, the system updates the course offering information for each
offering the professor selects (i.e., records the professor as the instructor for the course offering).
15.2.2 Alternative Flows
Page 37
Object Oriented Modeling & Design Lab
Page 38
Object Oriented Modeling & Design Lab
system records the student’s grade for the course offering. If the Professor wishes to skip a
particular student, the grade information can be left blank and filled in at a later time. The
Professor may also change the grade for a student by entering a new grade.
16.2.2 Alternative Flows
16.2.2.1 No Course Offerings taught if, in the Basic Flow, the Professor did not teach any course
offerings in the previous semester, the system will display an error message. The Professor
acknowledges the message, and the use case ends.
16.3Pre-Conditions
The Professor must be logged onto the system before this use case begins.
16.4Post-Conditions
If the use case was successful, student grades for a course offering are updated. Otherwise, the
system state is unchanged.
17. View Report Card
17.1Brief Description
This use case allows a Student to view his/her report card for the previously completed semester.
17.2 Flow of Events
17.2.1 Basic Flow
This use case starts when a Student wishes to view his/her report card for the previously
completed semester.
1.The system retrieves and displays the grade information for each of the course offerings
the Student completed during the previous semester.
2.When the Student indicates that he/she is done viewing the grades, the use case
terminates.
17.2.2 Alternative Flows
17.2.2.1No Grade Information Available
If, in the Basic Flow, the system cannot find any grade information from the previous semester
for the Student, a message is displayed. Once the Student acknowledges the message, the use
case terminates.
17.3 Pre-Conditions
The Student must be logged onto the system before this use case begins.
17.4 Post-Conditions
The system state is unchanged by this use case.
Page 39
Object Oriented Modeling & Design Lab
Page 40
Object Oriented Modeling & Design Lab
7. Drag & Drop the UML Building Block as Per Diagram from Tool Bar into the Workspace
Page 41
Object Oriented Modeling & Design Lab
CONCLUSION / RESULT:
In this Experiment, we have Design College Admission Process Using Structural & Behavioral
UML Diagram.
Page 42
Object Oriented Modeling & Design Lab
Experiment No.4
TITLE: Design Library Management System Using Structural & Behavioral UML Diagram.
PREREQUISITE: Software Analytical Skill
HARDWARE CONFIGURATION / KIT:
Sr. No Hardware Configuration
1 Processor 1.5GHz or more
2 RAM 4Gb Minimum
3 HDD Minimum 30Gb free Space
4
Standard I/O devices
SOFTWARE CONFIGURATION:
Sr. No Software Configuration
1 Operating System Windows 7 or later
2 Rational Rose Enterprise Edition 7.0 or later
THEORY:
1. Purpose of System
In this system Library management system there is different facility provided that is books,
newspapers, Magazines, questions paper and journals. Different people interacting with library
are services provided as well as facilities user diagram gives brief idea about functioning.
1. They are student and staff member’s facilities provided by the system.
2. If book require is not available be suggest another reference books for only reading in
library.
3. Facilities are provided to staff members are similar to those provided to students. There are
Page 43
Object Oriented Modeling & Design Lab
4. System Specifications
Basic objective is to extends their reach to geographically scattered Students, reducing time
in activities, centralized data handling and paperless issuing books, with Reduced manpower,
cost cutting, operational efficiency
5. Functional Requirements
Access library database, issue book, submit book, take fine, search for book, Maintain
library database, display list of all available books.
6. Proposed System
Computerized library system proposes maintaining records of book. This system does not
includes
1. Finding book from rack.
2. Check its condition/finding a page.
7. Services
1. Book issue/renew/return.
2. Calculating time
3. Generation of daily or monthly report
8. Performance Criteria
Page 44
Object Oriented Modeling & Design Lab
9. Testing / Maintenance
1. Testing
1. After coding, testing of code generated status various system testing methods from unit testing
to integration are used to in this phase.
2. Testing is used to check errors, bugs or required output.
3. After coding, testing of code generated status various system testing methods from unit.
Testing to integration is used in this phase.
4. Testing is used to check error, bugs or required output.
2. Maintenance/Support
It is the last phase of life cycle when system is implemented at user site. Changes are required as
new platform or peripheral devices are changed. Changes may occur due to external
environment.
Correction: - In this uncover logical errors are corrected. E.g. Book I.D. Data type Number but
customer use character every time, so software gives error. This error can be corrected by
changing data type to number.
Prevention: - Suppose after delivery of software customer recognize that response time of
software is slow. He tells to developer to make changes in software so developers suggest
recognizing software than changes.
10. Result
Based on the system requirements specification Library management system has been
analyzed & designed.
Page 45
Object Oriented Modeling & Design Lab
Page 46
Object Oriented Modeling & Design Lab
7. Drag & Drop the UML Building Block as Per Diagram from Tool Bar into the Workspace
Page 47
Object Oriented Modeling & Design Lab
CONCLUSION / RESULT:
In this Experiment, we have Design Library Management System Using Structural & Behavioral
UML Diagram.
Page 48
Object Oriented Modeling & Design Lab
Experiment No.5
TITLE: Design Railway Reservation System Using Structural & Behavioral UML Diagram.
PREREQUISITE: Software Analytical Skill
HARDWARE CONFIGURATION / KIT:
Sr. No Hardware Configuration
1 Processor 1.5GHz or more
2 RAM 4Gb Minimum
3 HDD Minimum 30Gb free Space
4
Standard I/O devices
SOFTWARE CONFIGURATION:
Sr. No Software Configuration
1 Operating System Windows 7 or later
2 Rational Rose Enterprise Edition 7.0 or later
THEORY:
Scope of System
The scope of the system is to solve all existing problems in reservation system. The purpose of
Railway Reservation System is a software application which provides the train timing details,
reservation, billing and cancellation. Using these systems Ticket Counter person can perform
operations like finding out the train timings and to know information about PNR status, seats
availability and costs of each ticket, etc.
Services Offered:
I-ticket - refers to a Railway reservation booked on this website for the consummation of which
a printed Railway ticket on standard Stationery is dispatched by IRCTC to the Customer through
the courier, which constitute the authority to travel on trains.
E-ticket: E-ticket - refers to a Railway reservation booked on this website, for the consummation
of which the customer prints out an Electronic Reservation Slip which, along with one of the
authorized personal identification, constitutes the authority to travel, in lieu of the regular ticket
on standard stationary.
Tatkal Ticket-
Page 49
Object Oriented Modeling & Design Lab
1. A ticket booked against Tatkal Quota against extra payment of premium charges as per extant
railway rules.
2. A maximum of six berths/seats can be booked at a time for a specified journey between any two
stations served by the train subject to distance restrictions in force.
3. An individual user can book a maximum of ten tickets in a calendar month.
4. Booking can be done against general (GN), SS (senior citizen), ladies (LD) and tatkal (CK)
quota berths/seats only.
5. Tatkal Quota (CK) berths/seats are earmarked in all-important trains in different classes except
First Class Air-conditioned (1A) class. Ladies quota (LD) is generally earmarked in Sleeper class
(SL) and second sitting (2S).
6. In case of tickets booked through internet no concession is permitted except senior citizen.
7. General enquiries available:
a. Accommodation available for a train/date combination.
b. Current Status of reserved tickets.
c. Time table
d. Train fare
e. Trains available between a given pair of stations
8. E-Booking or E-reservation facility available for all trains.
9. On line cancellation facility for E-tickets alone, up to the charting time for that train. (E-tickets
cannot be cancelled at counters)
10. Mobile booking of I-Tickets and E-tickets through NGPAY Mobile application, booking of I-
Tickets and E-tickets through CSAM- IRCTC Mobile Application, I tickets on airtel live, via
IRCTC's WAP enabled site.
11. Auto-Up gradation is available to the next higher class on optional basis. (As per railway rules).
Page 50
Object Oriented Modeling & Design Lab
Payment Options
There are too many payment options, and difficult to understand which one is better. This also
comes up in a pop-up window. Ideally, this can be a preference that can be set in the user profile.
Many a times, the booking process fails on payment, despite a note that you can see this in the
failed payments page, it does not show up.
Advantages
Reservation on the first page makes it easy to a novice to get the job done
Single screen design makes it clear to the customer on what to expect
No page reloads – easy for the user, more efficient for the server
Send only the data that is needed, display is taken care of by the interface. E.g. Server
sends only the train number, name, arrival / departure time and availability data on an Inquiry –
not the whole HTML code
Faster response time – since client has to send and receive less data, and the server too is freed
to do the core business logic, rather than the presentation part
Page 51
Object Oriented Modeling & Design Lab
Ability to change one item and automatic update on others – this will make it easier for users to
book their tickets – significantly reducing the transaction time
The back-end and front-end are separated, front-end is intelligent – can cache data, process it
etc.
Advertisements can still be delivered; you can even deliver contextual ads as the user plans their
travel. Other pages of the site can also be integrated.
Result
Based on the system requirements specification online railway reservation system has
been analyzed & designed.
ALGORITHM / PROCEDURE / FLOWCHART:
1. Open Rational Rose Enterprise Edition
Page 52
Object Oriented Modeling & Design Lab
7. Drag & Drop the UML Building Block as Per Diagram from Tool Bar into the Workspace
Page 53
Object Oriented Modeling & Design Lab
Page 54
Object Oriented Modeling & Design Lab
CONCLUSION / RESULT:
In this Experiment, we have Design Railway Reservation System Using Structural & Behavioral
UML Diagram.
Page 55
Object Oriented Modeling & Design Lab
Experiment No.6
TITLE: Design Online Shopping System Using Structural & Behavioral UML Diagram.
PREREQUISITE: Software Analytical Skill
HARDWARE CONFIGURATION / KIT:
Sr. No Hardware Configuration
1 Processor 1.5GHz or more
2 RAM 4Gb Minimum
3 HDD Minimum 30Gb free Space
4
Standard I/O devices
SOFTWARE CONFIGURATION:
Sr. No Software Configuration
1 Operating System Windows 7 or later
2 Rational Rose Enterprise Edition 7.0 or later
THEORY:
Problem Statement
Online shopping or e-shopping is a form of electronic commerce which allows
consumers directly buy goods or services from a seller over the Internet using a web browser.
The Current shopping System is critical toset up online shops, customers to browse through the
shops, and a system administrator to approve and reject requests for new shops and maintain lists
of shop categories. This is a small scale system for Online shopping System. The basic idea is
that the candidates can buy product from anywhere during any time by using their card number
and password provided to them. The database will maintain the product details information.
Customer can view their product details using the card details.
Problems of existing virtual shopping system?
Scope
Purchasing and selling products and services over the internet without the need of going
physically to the market is what online shopping all about. Online shopping is just like a retail
Page 56
Object Oriented Modeling & Design Lab
store shopping that we do by going to the market, but it is done through the internet. Online
shopping has made shopping painless and added more fun. Online stores offer product
description, pictures, comparisons, price and much more .The supplementary specification
applies to online shopping system. This specification defines the non-functional requirement of
the system such as:
Objectives
The purpose is to define the requirements of Online shopping system. This supplementary
specification lists the requirements that are not readily captured in the use case model.
Supplementary specification and the use case model capture a complete set of requirement of the
system.
Modeling the Requirements
The Online shopping system involves with two types of users.
1. customer
2. ADMINISTRATOR
customer role
The customers can login/logout the System. She/he can view his/her product details and buy
their product. The customer can just view the information whereas he/she could not make
changes in the database.
ADMINISTRATOR ROLE
The administrator plays a vital role in the Online shopping system. The administrator controls
the entire database. The report of the product is generated by the administrator itself. The main
role of the administrator is to safeguard the database and can add/delete the products from the
database.
Module Description
Login
It is the login session for the Administrator, customer and Exit.
Product Details
It is used to view the product details from the database.
Add New Products
It is used to add a product into the database and it includes searching a product details
and removing a product from database.
Updating The Quantity
It is used to update the product details from the database.
UML Diagram
Use case Diagram
Page 57
Object Oriented Modeling & Design Lab
Use Case diagrams show the various activities the users can perform on the system. The System
is something that performs a function. They model the dynamic aspects of the system. It provides
a user’s perspective of the system.
Actor-
An actor is a user of the system playing a particular role.
Use case-
Use case is a particular activity a user can do on the system.
Relationship:
Relationships are simply illustrated with a line connecting actors to use cases.
Class Diagram
A class diagram describes the types of objects in the system and the various kinds of static
relationships that exist among them. Such as a graphical representation of a static view on
declarative static elements. A class is the description of a set of objects having similar attributes,
operations, relationships and behavior
adminis
login add item
name : variant new
age : variant user name : variant new item name : variant new
city : variant new password : variant new item no : variant
quantity : variant
add items() add items()
view()
Page 58
Object Oriented Modeling & Design Lab
Payment
Online shoppers commonly use a credit card or a PayPal account in order to make payments.
However, some systems enable users to create accounts and pay by alternative means, such as:
Billing to mobile phones and landlines
Cash on delivery (C.O.D.)
Cheque
Debit card
Direct debit in some countries
Electronic money of various types
Gift cards
Postal money order
Wire transfer/delivery on payment
Invoice, especially popular in some markets/countries, such as Switzerland
Bitcoin or other crypto currencies
Some online shops will not accept international credit cards. Some require both the purchaser's
billing and shipping address to be in the same country as the online shop's base of operation.
Other online shops allow customers from any country to send gifts anywhere.
The financial part of a transaction may be processed in real time (e.g. letting the consumer know
their credit card was declined before they log off), or may be done later as part of the fulfillment
process.
Product delivery
Once a payment has been accepted, the goods or services can be delivered in the
following ways:
1. Downloading/Digital distribution: The method often used for digital media products such
as software, music, movies, or images.
2. Drop shipping: The order is passed to the manufacturer or third-party distributor, who
then ships the item directly to the consumer, bypassing the retailer's physical location to save
time, money, and space.
3. In-store pick-up: The customer selects a local store using a locator software and picks up
the delivered product at the selected location. This is the method often used in the bricks and
clicks business model.
4. Printing out, provision of a code for, or e-mailing of such items as admission tickets and
scrip (e.g., gift certificates and coupons). The tickets, codes, or coupons may be redeemed at the
appropriate physical or online premises and their content reviewed to verify their eligibility (e.g.,
assurances that the right of admission or use is redeemed at the correct time and place, for the
correct dollar amount, and for the correct number of uses).
5. Shipping: The product is shipped to a customer-designated address. Functionality
Sell Configured to Ordered Products.
The system shall display all the products that can be configured.
Page 59
Object Oriented Modeling & Design Lab
It is very easy to shop your favorite items from a large number of online shopping sites available
on the internet. You can perform an online shopping from your home comfort. Here is no need to
go to the crowed supermarkets or shopping malls during festival seasons. You just need a PC or
a laptop and one necessary payment sending option to shop online.
It is very easy.
You will choose your favorite items from variety of online shopping sites comparing
price and quality.
No need to go physical shops. You will have more time for your family.
Just need a computer and a payment sending option (like-net banking, credit card, ATM
card).
Almost all kinds of items can be brought through online shopping system.
You can buy foreign goods from your bedroom.
You will get your goods at your home.
It is very secure.
Customer service is available.
Result
Based on the system requirements specification online shopping system has been
analyzed & designed.
Page 60
Object Oriented Modeling & Design Lab
Page 61
Object Oriented Modeling & Design Lab
7. Drag & Drop the UML Building Block as Per Diagram from Tool Bar into the Workspace
Page 62
Object Oriented Modeling & Design Lab
CONCLUSION / RESULT:
In this Experiment, we have Design Online Shopping System Using Structural & Behavioral
UML Diagram.
Page 63
Object Oriented Modeling & Design Lab
Experiment No.7
TITLE: Design Hotel Management System Using Structural & Behavioral UML Diagram.
PREREQUISITE: Software Analytical Skill
HARDWARE CONFIGURATION / KIT:
Sr. No Hardware Configuration
1 Processor 1.5GHz or more
2 RAM 4Gb Minimum
3 HDD Minimum 30Gb free Space
4
Standard I/O devices
SOFTWARE CONFIGURATION:
Sr. No Software Configuration
1 Operating System Windows 7 or later
2 Rational Rose Enterprise Edition 7.0 or later
THEORY:
Page 64
Object Oriented Modeling & Design Lab
7. The target of this process model is that a complete system will developed after the number of
refinement.
8. This approach to software development begins at the system level and progresses towards
through analysis, design, coding, testing and support.
9. Using this process model, implementation is get easy.
2. Common Process Framework
Communication
A1 A1: Communication between customer and developers
A2 A2: Estimation
A3 A3: Creation of Software Scope
A4 .
A5 .
A6 .
Page 65
Object Oriented Modeling & Design Lab
4. Problem Statement
• Manually keeping records is very time consuming.
• Data is not always reliable as it is hand written and some human errors
might have occurred example wrong telephone number among other.
• Slow process of reservation. User has find manually whether room is
available or not.
• Hotel information data are not secured. It can be easily theft or altered.
• Finding records are very time consuming.
• Retrieval of guest records is extremely difficult. User has to manually
search each records to find the required information. It takes lot of time.
5. Cost Estimation
According to Inventory management system we are move towards to “Organic” mode. So in this
organic mode the project size typically 2-50 KLOC. As our observation the inventory
management system is a small size project, experience developers in the familiar environment. It
development environment is familiar & in house. So, according to the observations we assume
some figures. Suppose that a project was estimated to be 400 LOC.
Project ab bb Cb db
Organic 2.4 1.05 2.5 0.38
Semidetached 3.0 1.12 2.5 0.35
Embedded 3.6 1.20 2.5 0.32
Organic mode
E = 2.4(400)1.05 = 1295.31 PM
D = 2.5(1295.31)0.38 = 38.07 M
Page 66
Object Oriented Modeling & Design Lab
Page 67
Object Oriented Modeling & Design Lab
3. System requirement
3.1 Hardware requirement
Processor: Pentium III or above
RAM: 256 MB or above
Hard disk: minimum 20 GB or more
Processor speed: 512 MHZ
4. Functional requirements
During the past several decades’ personnel function has been transformed from a relatively
obscure record keeping staff to central and top level management function. There are many
factors that have influenced this transformation like technological advances, professionalism, and
general recognition of human beings as most important resources.
• A computer based management system is designed to handle all the primary in formation
required to calculate monthly statements. Separate database is
• Maintained to handle all the details required for the correct statement calculation and
generation.
• This project intends to introduce more user friendliness in the various activities such as record
updation, maintenance, and searching.
• The searching of record has been made quite simple as all the details of the customer can be
obtained by simply keying in the identification of that customer.
• Similarly, record maintenance and updation can also be accomplished by using the
identification of the customer with all the details being automatically generated. These details are
also being promptly automatically updated in the master file thus keeping the record absolutely
up-to-date.
•The entire information has maintained in the database or Files and whoever wants to retrieve
can’t retrieve, only authorization user can retrieve the necessary information which can be easily
be accessible from the file.
The main objective of the entire activity is to automate the process of day to day.
7. User specifications
1. Registration:
New user or new hotel admin gets registered in our booking portal.
Admin gives details of registration.
2. Login:
Existing user and existing hotel admin gets login and access the system components.
Admin gives the permission to the user and hotel admin for serve.
3. Search Destination:
Here, user can search the particular hotel and booking from that hotel which is search by the
user.
4. Booking Hotel:
User can book particular hotel and get information about that booking. Hotel admin provides
some offer for particular time period.
Also, admin provide the offers.
Online Hotel Management
5. Payment:
User can payment via credit card or debit card.
And Hotel admin pay decided commission on particular booking to Admin.
Admin can get decided commission on particular booking.
6. Updation:
After the completion overall transaction Admin can manage the whole system.
Hotel admin can also manage their user.
8. Proposed System
• A computer based management system is designed to handle all the primary information
required to calculate monthly statements. Separate database is maintained to handle all the details
required for the correct statement calculation and generation.
• This project intends to introduce more user friendliness in the various activities such as
record updation, maintenance, and searching.
• The searching of record has been made quite simple as all the details of the customer can
be obtained by simply keying in the identification of that customer.
• Similarly, record maintenance and updation can also be accomplished by using the
identification of the customer with all the details being automatically generated. These details are
also being promptly automatically updated in the master file thus keeping the record absolutely
up-to-date.
• The entire information has maintained in the database or Files and whoever wants to
retrieve can’t retrieve, only authorization user can retrieve the necessary information which can
be easily be accessible from the file.
PART III: Coding / Testing / Maintenance
1. Coding
Programming or coding is next phase when system design is complete from design to
code development.
Page 70
Object Oriented Modeling & Design Lab
programs area, etc. The runtime validations performed by .NET makes the entire environment
robust.
Now choose SQL Server 2000 as back end because following features:
1. The SQL Server 2000 database engine includes integrated XML support.
2. Scalability and Availability: The same database engine can be used across platforms ranging
from laptop computers running Microsoft Windows 98 through large, multiprocessor servers
running Microsoft Windows 2000 Data Center Edition.
3. Ease of installation, deployment, and use.
2. Testing
1. After coding, testing of code generated status various system testing methods from unit testing to
integration are used to in this phase.
2. Testing is used to check errors, bugs or required output.
3. After coding, testing of code generated status various system testing methods from unit. Testing
to integration is used in this phase.
4. Testing is used to check error, bugs or required output.
3. Maintenance/Support
It is last phase of life cycle when system is implemented at user wants changes are required as
new platform with OS May peripheral devices are changes.
1. Correction: - In this uncover logical errors are corrected. E.g. Patient ID data type Number but
customer use character every time, so software gives error. This error can be corrected by
changing data type to number.
2. Adaptation: - In this modification in software is done to according changes with external
environment. Modification in software is done according changes with environment.
3. Enhancement: - Changes because of the additional functionality requested by the customer.
Customer required some additional functions at that time in enhancement is done in the software
or product.
4. Prevention: - Suppose after delivery of software customer recognize that response time
of software is slow. He tells to developer to make changes in software so developers suggest
recognizing software than change.
ALGORITHM / PROCEDURE / FLOWCHART:
1. Open Rational Rose Enterprise Edition
Page 71
Object Oriented Modeling & Design Lab
Page 72
Object Oriented Modeling & Design Lab
7. Drag & Drop the UML Building Block as Per Diagram from Tool Bar into the Workspace
CONCLUSION / RESULT:
In this Experiment, we have Design Hotel Management System System Using Structural &
Behavioral UML Diagram.
Page 74
Object Oriented Modeling & Design Lab
Experiment No.8
TITLE: Design Hospital Management System Using Structural & Behavioral UML Diagram.
PREREQUISITE: Software Analytical Skill
HARDWARE CONFIGURATION / KIT:
Sr. No Hardware Configuration
1 Processor 1.5GHz or more
2 RAM 4Gb Minimum
3 HDD Minimum 30Gb free Space
4
Standard I/O devices
SOFTWARE CONFIGURATION:
Sr. No Software Configuration
1 Operating System Windows 7 or later
2 Rational Rose Enterprise Edition 7.0 or later
THEORY:
Page 75
Object Oriented Modeling & Design Lab
16. The target of this process model is that a complete system will developed after the number of
refinement.
17. This approach to software development begins at the system level and progresses towards
through analysis, design, coding, testing and support.
18. Using this process model, implementation is get easy.
2. Common Process Framework
Communication
A1 A1: Communication between customer and developers
A2 A2: Estimation
A3 A3: Creation of Software Scope
A4 .
A5 .
A6 .
Page 76
Object Oriented Modeling & Design Lab
4. Problem Statement
Problems with conventional system
1. Lack of immediate retrievals: -The information is very difficult to retrieve and to find
particular information like- E.g. - To find out about the patient’s history, the user has to go
through various registers. This results in inconvenience and wastage of time.
2. Lack of immediate information storage: - The information generated by various transactions
takes time and efforts to be stored at right place.
3. Lack of prompt updating: - Various changes to information like patient details or
immunization details of child are difficult to make as paper work is involved.
4. Error prone manual calculation: - Manual calculations are error prone and take a lot of time
this may result in incorrect information for example calculation of patient’s bill based on various
treatments.
5. Preparation of accurate and prompt reports: - This becomes a difficult task as information is
difficult to collect from various registers.
5. Cost Estimation
According to Inventory management system we are move towards to “Organic” mode. So in this
organic mode the project size typically 2-50 KLOC. As our observation the inventory
management system is a small size project, experience developers in the familiar environment. It
development environment is familiar & in house. So, according to the observations we assume
some figures. Suppose that a project was estimated to be 400 LOC.
Project ab bb Cb db
Organic 2.4 1.05 2.5 0.38
Semidetached 3.0 1.12 2.5 0.35
Embedded 3.6 1.20 2.5 0.32
E= ab (LOC)bb
D= cb (LOC)db
Organic mode
E = 2.4(400)1.05 = 1295.31 PM
D = 2.5(1295.31)0.38 = 38.07 M
3. System requirement
3.1 Hardware requirement
4. Functional requirements
Page 78
Object Oriented Modeling & Design Lab
A Hospital is a place where Patients come up for general diseases. Hospitals provide facilities
like:-
1. Consultation by Doctors on Diseases.
2. Diagnosis for diseases.
3. Providing treatment facility.
4. Facility for admitting Patients (providing beds, nursing, medicines etc.)
5. Immunization for Patients/Children.
These are the various jobs that need to be done in a Hospital by the operational staff and Doctors.
All these works are done on papers. The work is done as follows:-
1. Information about Patients is done by just writing the Patients name, age and gender. Whenever
the Patient comes up his information is stored freshly.
2. Bills are generated by recording price for each facility provided to Patient on a separate sheet and
at last they all are summed up.
3. Diagnosis information to patients is generally recorded on the document, which contains Patient
information. It is destroyed after some time period to decrease the paper load in the office.
4. Immunization records of children are maintained in pre-formatted sheets, which are kept in a file.
5. Information about various diseases is not kept as any document. Doctors themselves do this job
by remembering various medicines.
All this work is done manually by the receptionist and other operational staff and lot of papers
are needed to be handled and taken care of. Doctors have to remember various medicines
available for diagnosis and sometimes miss better alternatives as they can’t remember them at
that time.
7. User specifications
Page 79
Object Oriented Modeling & Design Lab
patient is registered according to his/her status whether he is new or old patient she/he is
diverted to consult or doctor specialist.
2. Inquiry office:-This department is the public interface to the hospital. A new or old patient
visiting doctors, specialist etc. So inquiry office will take the information from patient and guide
him/her that to whom they should contact.
3. Doctors: Doctors are the important part of this management system. Doctors checks the patient
and diagnose the problem and then they will be admitted the patient otherwise they will be
giving medicines to the patients.
4. Staff: There are many people working in the staff like nurses and work boys. They give
medicines to indoor patients and take care of patients.
User Characteristics
Every user should be:
• Comfortable of working with computer.
• He must have knowledge in medical field.
• He must also have basic knowledge of English too.
8. Proposed System
9. Services
Page 80
Object Oriented Modeling & Design Lab
b. Urine Test
c. Stool Test
d. Sonography Test
e. Gastroscopy Test
f. Colonoscopy Test
g. Blood Test
h. Biochemistry Test
4. Maintaining patient’s injection entry records.
5. Maintaining patient’s prescription, medicine and diet advice details.
6. Providing billing details for indoor/outdoor patients.
7. Maintaining backup of data as per user requirements (between mentioned dates).
8. If user forgets his/her password then it can be retrieved by hint question.
PART III: Coding / Testing / Maintenance
1. Coding
Programming or coding is next phase when system design is complete from design to
code development.
2. Testing
5. After coding, testing of code generated status various system testing methods from unit testing to
integration are used to in this phase.
6. Testing is used to check errors, bugs or required output.
7. After coding, testing of code generated status various system testing methods from unit. Testing
Page 81
Object Oriented Modeling & Design Lab
3. Maintenance/Support
It is last phase of life cycle when system is implemented at user wants changes are required as
new platform with OS May peripheral devices are changes.
5. Correction: - In this uncover logical errors are corrected. E.g. Patient ID data type Number but
customer use character every time, so software gives error. This error can be corrected by
changing data type to number.
6. Adaptation: - In this modification in software is done to according changes with external
environment. Modification in software is done according changes with environment.
7. Enhancement: - Changes because of the additional functionality requested by the customer.
Customer required some additional functions at that time in enhancement is done in the software
or product.
8. Prevention: - Suppose after delivery of software customer recognize that response time
of software is slow. He tells to developer to make changes in software so developers suggest
recognizing software than change.
Page 82
Object Oriented Modeling & Design Lab
7. Drag & Drop the UML Building Block as Per Diagram from Tool Bar into the Workspace
Page 84
Object Oriented Modeling & Design Lab
CONCLUSION / RESULT:
In this Experiment, we have Design Hospital Management System Using Structural &
Behavioral UML Diagram.
Page 85
Object Oriented Modeling & Design Lab
Experiment No.9
TITLE: Design University Result Management System Using Structural & Behavioral UML
Diagram.
PREREQUISITE: Software Analytical Skill.
HARDWARE CONFIGURATION / KIT:
Sr. No Hardware Configuration
1 Processor 1.5GHz or more
2 RAM 4Gb Minimum
3 HDD Minimum 30Gb free Space
4
Standard I/O devices
SOFTWARE CONFIGURATION:
Sr. No Software Configuration
1 Operating System Windows 7 or later
2 Rational Rose Enterprise Edition 7.0 or later
THEORY:
The model that is basically being followed is the WATER FALL MODEL, which states
that the phases are organized in a linear order. First of all the feasibility study is done. Once that
part is over the requirement analysis and project planning begins. The design starts after the
requirement analysis is complete and the coding begins after the design is complete. Once the
programming is completed, the testing is done. In this model the sequence of activities
performed in a software development project are: -
Requirement Analysis
Project Planning
System design
Detail design
Coding
Unit testing
System integration & testing
Here the linear ordering of these activities is critical. End of the phase and the output of one
phase is the input of other phase. The output of each phase is to be consistent with the overall
Page 86
Object Oriented Modeling & Design Lab
requirement of the system. Some of the qualities of spiral model are also incorporated like after
the people concerned with the project review completion of each of the phase the work done.
WATER FALL MODEL was being chosen because all requirements were known
beforehand and the objective of our software development is the computerization/automation of
an already existing manual working system.
Analysis Design
A1 D1
A8 D4
Coding Testing
C1 T1
C3 T6
Analysis:
A1 – Requirement Analysis
A2 – Information Gathering
A3 – Software Scope
A4 – Project Scheduling
A5 – Estimation
A6 – ERD
A7 – DFD
A8 – SRS
Design:
D1 – Architectural Design
D2 – Component Design
D3 – Interface Design
D4 – Data Design
Coding:
Page 87
Object Oriented Modeling & Design Lab
3. Problem Definition
Type an bn cb db
Efforts Required=E=ab(KLOC)bb
=2.4*(30)1.05
=85 PM
db
Duration=D=Cb(E)
=2.5*(85)0.38
=13 Months
Peoples required=E/D
=85/13
=7
Efforts Required=85 PM
Duration=13 Months
Peoples required=7
1. Purpose of System
1. They are student and staff member’s facilities provided by the system.
2. Facilities are provided to staff members are similar to those provided to students.
3. Reducing time in activities.
4. Centralized data handling.
5. Improved the operational efficiency
4. Project Specifications
Basic objective is to extends their reach to geographically scattered Students, reducing time
in activities, centralized data handling and paperless work, with Reduced manpower, cost
cutting, operational efficiency
5. Functional Requirements
Access University database, issue register new students, enable student login, check result,
search for student, Maintain student database, display list of all registered students.
Page 89
Object Oriented Modeling & Design Lab
7. Proposed System
Computerized system proposes maintaining records of colleges, students and faculty. This
system does not includes
Finding records from rack.
Check its condition/finding a page.
8. Services
1. Registering new students, colleges and courses.
2. Manage large number of student details.
3. Manage all details of student who registered for the course and send appropriate details about the
course to the students account.
4. Create student accounts and maintain the data’s effectively.
5. Generation of daily or monthly or semester report.
6. Creating department, allocating courses to departments, creating faculties, students and
allocating subjects to faculties, and modifications in the data entered by the user
9. System requirements
9.1 Hardware requirements
Processor: Pentium IV or above
RAM: 256 MB or above
Hard disk: minimum 20 GB
Processor speed: 512 MHZ
9.2Software requirements
Page 90
Object Oriented Modeling & Design Lab
Page 91
Object Oriented Modeling & Design Lab
2) Faculty members: They will have a good knowledge of computer system and also the operating
environment in which these systems are working in development. In order to use the system, the
faculty members should be familiar with various form processes.
3) University Admin: The system administrator will be one of the university member who should
be familiar with the University structure and functioning of the university she/he must also be
very well familiar with all the process in the University.
There are a number of attributes of software that can serve as user specification. It is important
that required attributes by specified so that their achievement can be objectively verified. The
following items provide a partial list of examples.
The input system will allow for inputting numbers, operands, special symbols and letters of the
alphabet.
PART III: Coding/Testing / Deployment/Maintenance
1. Coding
Programming or coding is next phase when system design is complete from design to
code development.
Now choose Java as front end because following features:
1. Easy to use.
2. Implementation is easy.
3. Updating can be easily done.
4. User friendly.
Choose back end as MS-access with following features
Page 92
Object Oriented Modeling & Design Lab
Page 93
Object Oriented Modeling & Design Lab
Page 94
Object Oriented Modeling & Design Lab
7. Drag & Drop the UML Building Block as Per Diagram from Tool Bar into the Workspace
Page 95
Object Oriented Modeling & Design Lab
Page 96