Trusted by Students Everywhere
Why Choose Us?
0% AI Guarantee

Human-written only.

24/7 Support

Anytime, anywhere.

Plagiarism Free

100% Original.

Expert Tutors

Masters & PhDs.

100% Confidential

Your privacy matters.

On-Time Delivery

Never miss a deadline.

For this lab: Lab 3 - Apply the lab 2 feedback on your Lab 2 ER/EER diagram

Computer Science Sep 17, 2021

For this lab: Lab 3 - Apply the lab 2 feedback on your Lab 2 ER/EER diagram. - Normalize the ER/EER diagram of Lab 2 and make a NER diagram (Normalized ER Diagram).To do please follow the instructions of normalizing an ER/EER diagram attached here.

Normalizing the ER Diagram:

  • What we did so far is ER diagram (ER). In order to do ER, our only concern is to capture right entities with right attributes and right relationships between entities. Also we like to figure out the general cardinality of relations.
  • After we are done with ER, it is time to do some normalization. We can break the process of normalization into two steps. First step is to normalize attributes, and second step is to normalize relationships between entities.  

NER Step 1:

  • Attribute Normalization is the process of turning compound attributes and multivalued attributes into entities and establish a relation between these new entities and the base entity.
  • This is the ER of the bookstore that we have: 
  • For the first step of normalization we focus on compound attributes such as publisher. We turn them into entities and establish a relation between them and the base entity. In our example Publisher is a compound attribute: 
  • Now let’s do the same thing for multivalued attributes. Multivalued Attribute becomes a separate relation with a foreign key taken from the superior entity.
  • Then we focus on composite attributes such as name and address. Use only their simple, component attributes:  

NER Step 2: 

  • On Step 2 of normalization we focus on relationships:
    • Any many-to-many (M-N) relationship should be turned into an associative entity.
    • We have to switch the cardinality of the original relation when we break it into a pair of relationships.
    • Since associative entity is an entity after all, we have to use a proper name for them. We cannot simply use the Verb that used to be the name of the original relation for associative entity.
  • The notation for associative entities is a diamond inside a rectangle; in other word it is the mix of relation symbol and entity symbol.
  • The normalized ER (NER) diagram:

Expert Solution

Archived Solution
Unlocked Solution

You have full access to this solution. To save a copy with all formatting and attachments, use the button below.

Already a member? Sign In
Important Note: This solution is from our archive and has been purchased by others. Submitting it as-is may trigger plagiarism detection. Use it for reference only.

For ready-to-submit work, please order a fresh solution below.

Or get 100% fresh solution
Get Custom Quote
Secure Payment