Question

In: Computer Science

Instructions: Draw an ER diagram for the following description. Identify the keys and give the cardinality...

Instructions: Draw an ER diagram for the following description. Identify the keys and give the cardinality of all relationships (e.g. 1:1, N:1, N: M). Make sure you note your assumptions.

Assume you are creating a database for a library system with the following properties:

  1. The library contains one or several copies of the same book.

  2. Every copy of a book has a copy number and is located at a specific location on a shelf.

  3. A copy is identified by the copy number and the ISBN number of the book.

  4. Every book has a unique ISBN, a publication year, a title, an author, and a number of

    pages.

  5. Books are published by publishers.

  6. A publisher has a name as well as a location.

  7. Within the library system, books are assigned to one or several genres.

  8. A category has a name and no further properties.

  9. Each reader needs to provide his/her family name, his/her first name, his/her city, and

    his/her date of birth to register at the library.

  10. Each reader gets a unique reader number. Readers borrow copies of books. Upon

    borrowing the return date is stored.

A good strategy is to start by identifying the entities and their associated attributes, then identity the relationships present in this description.

Solutions

Expert Solution

The entities and attributes for the given data are:-

Book entity:- It has author, ISBN number, publication year, no.of pages, title. ISBN is the Primary Key and No. of pages is the weak entity for Book Entity.

Duplicate book:- It has ISBN number, and copy number. Where copy no. is the Primary Key for duplicate book.

Genre:- It has Category as attribute and a name as derived attribute.

Publishers:- It has Location, Name as attributes.

Reader:- It has First name, city, reader_no., family name, DOB, Return date. Where the Reader_no. is the primary key and family name is the weak entity for reader.

** 0..*, 1..*,1..1 represents the cardinality of the relations.


Related Solutions

Model the following cases by ER diagrams. Identify the keys, attributes and relationship cardinalities, and convert...
Model the following cases by ER diagrams. Identify the keys, attributes and relationship cardinalities, and convert them into table schemas. Provide necessary assumptions to support your model. The following descriptions are about the inventory information. a) Each product item has ID, description, quantity in the inventory, unit price and a supplier. b) Suppliers have unique ID, addresses, phone numbers, and names. c) Each address is made up of a street address, a city, and a postcode. d) The purchase order...
Draw the diagram (ER / MR / UML) for a database containing the following characteristics: •...
Draw the diagram (ER / MR / UML) for a database containing the following characteristics: • Presence sensor that stores presence information with its timestamp and its location. • Distance sensor that saves distance information with its timestamp and its location. • An actuator of a switch that energizes a bulb, where the record of its been with your timestamp and your location. • An actuator of a motor that opens a door, where the record of its been with...
Given the business rule below. Draw the Data directories for each entities & ER Diagram. A...
Given the business rule below. Draw the Data directories for each entities & ER Diagram. A DOCTOR can be scheduled for many APPOINTMENTS, but may not have any scheduled at all. Doctor has the attributes such as DoctorID, Firstname, & Lastname. Appointment has attributes such as AppointmentID, Date & Reason. A PATIENT can schedule one or more appointments. Patient entity has attributes such as PatientID, PatientName & Address. One appointment is scheduled with exactly one patient. An appointment must generate...
I need to draw an ER diagram for a future database necessary to hold application data...
I need to draw an ER diagram for a future database necessary to hold application data for students wishing to apply for an internship at a tech company. The students will provide the following information on the application: first name, last name, email, phone number, address, city, state, postal code, major, currently enrolled in school?, expected date of graduation, web framework of choice, list of programming languages in which the student is proficient, SAT score, ACT score, GPA, 4 character...
Draw a schematic diagram and a context diagram for a standard blender. Identify all of the...
Draw a schematic diagram and a context diagram for a standard blender. Identify all of the external entities and label all of the interactions.
1-Draw The ER diagram on the problem of your choice, depicting the 1:1 , 1:M and...
1-Draw The ER diagram on the problem of your choice, depicting the 1:1 , 1:M and M:M relationship. 2-Explain with the pictorial representation the three schema architecture of DBMS.
project on hotel management in dbms with er diagram and table (sql) please give answer
project on hotel management in dbms with er diagram and table (sql) please give answer
write instructions how to pipette 5 microliters of fluid AND draw a diagram that shows how...
write instructions how to pipette 5 microliters of fluid AND draw a diagram that shows how to complete the serial dilutions to conduct. Diagram of a Serial Dilution (use P-1000 set to 5,0,0)
Using Crow´s Foot Notation draw this Real Estate Company ER Diagram Carrying out the information collection...
Using Crow´s Foot Notation draw this Real Estate Company ER Diagram Carrying out the information collection of a real estate company that operates in the city and that requires a database design for its operations, we collect the following needs to proceed to a data modeling: The company is dedicated only to the sale of real estate, and on these properties that they call "properties" they possess data such as the property number that identifies them, the type of property,...
Construct an ER diagram for a database system that models data of the following situation. You...
Construct an ER diagram for a database system that models data of the following situation. You are creating a database for a stock trading company. The company has clients and financial officers. Each client is either an individual or another legal entity (e.g. another company). A client has a name, social security number, address, contact information, the date that entered the database system, and also a ranking that the trading company keeps internally (high, med, low). Financial officers have a...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT