0% found this document useful (0 votes)
200 views5 pages

(E-R Modeling From The Problem Statements) : Practical 6 Objective

Uploaded by

Komal Bohara
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)
200 views5 pages

(E-R Modeling From The Problem Statements) : Practical 6 Objective

Uploaded by

Komal Bohara
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

Name-Komal Bohara

University roll no.-2061848

Practical 6 (E-R Modeling from the Problem Statements)

Objective:
1. To Identify entity sets, their attributes, and various relationships.
2. To represent the data model through ER diagram
3. To draw an ER diagram for the following problem:
Background:
Developing databases is a very important task to develop a system. Before going to
form exact database tables and establishing relationships between them, we
conceptually or logically can model our database using ER diagrams.

In this experiment we will learn how to find the entities, its attributes and how the
relationships between the entities can be established for a system.

Procedure:
Steps for conducting the experiment
General Instructions

Follow are the steps to be followed in general to perform the experiments in


Software Engineering Virtual Lab.

1. Read the theory about the experiment


2. View the simulation provided for a chosen, related problem
3. Take the self evaluation to judge your understanding (optional, but
recommended)
4. Solve the given list of exercises

Experiment Specific Instructions


Following are the instructions specifically for this experiment:

1. Identify an entity, and write its name in the left textbox of Table #1. ‘Tick’
the adjacent checkbox in case it is a weak entity. Click the adjacent ‘Add’
button to add this entity. Repeat this for all the possible entities.
2. From Table #2, select one entity and add its possible attributes. If the
attribute is a primary key or a member of composite primary key for the
entity, select the check box under ’Primary key’ heading.
3. If you want to delete/modify any attribute for an entity, go to Table #4,
remove the attribute, and then add the correct one for the selected entity.
You can even remove an entity also from this table.
4. Table #3 lets you define relationships between any two entities along with
the relationship cardinality. Select the first entity from the first dropdown
list, the second from the second dropdown list, write in the relationship
name in the text box, select the cardinality from the third drop down list, and
click on the ‘Add’ button at the right side.
5. Relationships so defined will be displayed in Table #5. Here, you have the
option to remove a wrongly defined relationship.
6. Click on the ‘Draw’ button to draw the ER diagram. You can click on this
button at any time to reflect the changes that you have made to the entities,
attributes, or relationships. The ER diagram will be displayed at the bottom
of the page.
7. To view a sample solution for the exercise, click on the 'Submit' button, and
then on the 'View Solution' button.

NOTE:

1. Give the name of entities, attributes and relationships by using


alphabets numerics and underscore only .
2. After updating your inputs click ’Draw’ button to see your last updated
diagram.

Problem Description-1:
From the following problem statement identify the possible entity sets, their
attributes, and relationships.

SE VLabs Inc. is a young company with a few departments spread across the
country. As of now, the company has a strength of 200+ employees.

Each employee works in a department. While joining, a person has to provide


a lot of personal and professional details including name, address, phone #,
mail address, date of birth, and so on. Once all these information are
furnished, a unique ID is generated for each employee. He is then assigned a
department in which he will work.

There are around ten departments in the company. Unfortunately, two


departments were given same names. However, departments too have ID's,
which are unique.

Note: Try to use the features of the interface provided to capture as much
details as possible.

Results & Discussion: A sample solution is shown above.


Problem Description-2:
Draw an ER diagram for the following problem:

The latest cab services agency in the city has approached you to develop a Cab
Management System for them. They would be using this software to efficiently
manage and track different cabs that are operated by them.

Cabs are solely owned by the agency. They hire people in contracts to drive the
cabs. A cab can be uniquely identified by, like any other vehicle in the country, its
license plate. A few different categories of cars are available from different
manufacturers. And a few of them are AC cars.

Cab drivers are given a identification card while joining. The ID card contains his
name, permanent address, phone number, date of joining, duration of contract.
Also, an unique alphanumeric code is assigned to each number.

The agency provides service from 8 AM to 8 PM. Whenever any passenger books
a cab, an available cab is allocated for him. The booking receipt given to the
passenger contains the car #, source and destination places. Once he reaches the
destination, he signs on a duplicate copy of the receipt and gives back to the driver.
Driver must submit this duplicate copy signed by the passenger at the agency for
confirmation.

To evaluate their quality of service, the agency also wants a (optional) customer
satisfaction survey, where passengers can provide feedback about their journey
through the agency's website.
Results & Discussions
A sample solution is shown above.

You might also like