0% found this document useful (0 votes)
15 views3 pages

Experiment 5-1

The document outlines an experiment focused on drawing Object Diagrams for a Hospital Management System. It details the objectives, outcomes, prerequisites, and both hardware and software requirements necessary for the task. Additionally, it provides theoretical insights into Object Diagrams, their characteristics, and guidelines on how to create them, along with sample viva questions.

Uploaded by

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

Experiment 5-1

The document outlines an experiment focused on drawing Object Diagrams for a Hospital Management System. It details the objectives, outcomes, prerequisites, and both hardware and software requirements necessary for the task. Additionally, it provides theoretical insights into Object Diagrams, their characteristics, and guidelines on how to create them, along with sample viva questions.

Uploaded by

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

Experiment -5

Aim / Title: Draw Object Diagram

Problem Statement: Draw Object diagram for real time problem(Hospital


Management System).
Objectives:

To understand the purpose and usage of Object Diagrams in software modeling.


To represent object relationships at a particular instance of time.
To visualize real-time examples of class instances and their relationships.

Outcomes: Student will be able to explain and draw Object diagrams


Pre-requisite: Basic knowledge about Software Design.

Hardware requirements: Intel G645 Dual Core 3.0 GHz


4 GB RAM, 500 GB HDD

Software requirements: Any window-based operating system (Windows


95/98/2000/XP/NT), Star UML or Rational Rose Software.

Theory:
Object Diagrams are a type of UML diagram that show a snapshot of instances (objects) and
their relationships at a specific point in time.
Characteristics of Object diagram :
Based on the class diagram but focuses on object instances.
Useful for understanding system structure at runtime.
Shows real-world examples of how classes are instantiated and connected.

How to Draw an Object Diagram:


Identify the objects (instances of classes).
Name objects like: order1:Order, user1:User, restaurant1:Restaurant.
Show links/associations between objects using lines.
Label the links to represent relationships (like "places", "prepares", "delivers").
Represent object attributes with values if needed.
Output:

Conclusion:
Sample Viva Questions and Answers:

1. What is the purpose of an Object Diagram?

2. What is the difference between a Class Diagram and an Object Diagram?

3. Can Object Diagrams be derived from Class Diagrams? How?

Rol Name of Date of Date of Grade Sign of Sign of


l Student Performance Evaluation Student Faculty
No.

You might also like