DBMS Microproject 22319 Data Management System 3rd sem computer
DBMS Microproject 22319 Data Management System 3rd sem computer |
program Name and Code: DBMS 22319
Course Name and Code: CS 3I
Academic Year :
Semester: First
Annexure-I
A MICRO PROJECT ON " E-R diagram "
2.0 Course outcome addressed.
3.0 Proposed methodology
4.0 Action Plan
Sr. No. | Detail of activity | Plan start date | Plan finish date | Name of responsible team members |
---|---|---|---|---|
1 | Searching the topic for micro-project | |||
2 | collect information from the internet and textbook | |||
3 | collect information from the DBMS Data Management System reference book, and Debugged the errors. | |||
4 | arrange all information in ms word | |||
5 | Prepare a report on it using MS word | |||
6 | print micro project |
5.0 Resources used
Sr. no. | Name of resource material | Specifications | Quantity |
---|---|---|---|
1 | Computer System | 8 GB RAM, Windows 10 OS | 1 |
2 | Internet | Youtube / Wikipedia | |
3 | textbook/manual | DBMS Data Management System | 1 |
annexure-II
Micro-Project Report
A MICRO PROJECT ON "E-R diagram"
1.0 Brief Introduction/Rationale
What is an Entity Relationship Diagram (ER Diagram)?
An ER diagram displays the relationship among entity sets. An entity set is a group of identical entities and these entities can have attributes. In terms of DBMS, an entity is a table or attribute of a table in the database, so by showing the relationship among tables and their attributes, ER diagram illustrates the complete logical structure of a database. Let's have a look at a simple ER diagram to comprehend this concept.
A simple ER Diagram:
In the following diagram, we have two entities Student and College, and their relationship. The relationship between Student and College is many to one as a college can have numerous students however a student cannot study in numerous colleges at the same time. Student entity has attributes such as Stu_Id, Stu_Name & Stu_Addr and College entity has attributes such as Col_ID & Col_Name.
Here are the geometric shapes and their significance in an E-R Diagram.
Rectangle: Describes Entity sets.
Ellipses: Attributes
Diamonds: Relationship Set
Lines: They link attributes to Entity Sets and Entity sets to Relationship Set
Double Ellipses: Multivalued Attributes
Dashed Ellipses: Derived Attributes
Double Rectangles: Weak Entity Sets
Double Lines: Total participation of an entity in a relationship set
Elements of an ER Diagram
1. Entity
2. Attribute
An attribute defines the property of an entity. An attribute is expressed as an Oval in an ER diagram. There are four kinds of attributes:
1. Key attribute:
A key attribute can uniquely recognize an entity from an entity set. For example, student roll numbers can uniquely determine a student from a set of students. The key attribute is defined by an oval same as other attributes however the text of the key attribute is highlighted.
2. Composite attribute:
An attribute that is a mixture of other attributes is known as a composite attribute. For example, In a student entity, the student address is a composite attribute as an address is composed of other attributes such as pin code, state, and country.
3. Multivalued attribute:
An attribute that can carry multiple values is known as a multivalued attribute. It is described with double ovals in an ER Diagram. For example – A person can have more than one phone number so the phone number attribute is multivalued.
4. Derived attribute:
A derived attribute is one whose value is dynamic and derived from another attribute. It is defined by a dashed oval in an ER Diagram. For example – A person's age is a derived attribute as it varies over time and can be derived from another attribute (Date of birth).
E-R diagram with multivalued and derived attributes:
3. Relationship
A relationship is described by a diamond shape in ER diagram, which indicates the relationship among entities. There are four kinds of relationships:
1. One to One
2. One to Many
3. Many to One
4. Many to Many
1. One-to-One Relationship
When a single instance of an entity is associated with a single instance of another entity then it is called one to one relationship. For example, a person has only one passport and a passport is given to one person.
2. One-to-Many Relationship
2.0 Actual Resources Use
Sr. no. | Name of resource material | Specifications | Quantity |
---|---|---|---|
1 | Computer System | 8 GB RAM, Windows 10 OS | 1 |
2 | Internet | Youtube / Wikipedia | |
3 | textbook/manual | DBMS 22319 | 1 |