Concept explainers
Design an EER diagram for a library as described below. Show relevant constraints.
a. Each employee has an SSN, fname, lname, and address.
b. An employee is classified into one of three categories: managerial, research, and floor. Floor employees are paid by the hour and have an hourly wage rate. The other two categories have a salary. Research workers have a specialty, while managerial workers have a job title.
c. Customers are identified by their card number, and also have a fname, lname, and address.
d. Each book is identified by its LCN (Library of Congress Number). It has a title, and one or more authors.
e. An author has as a key an author code, since fname, lname does not suffice. We also keep track of their birth date and date of death.
f. Customers may check out books. We keep track of the date it was checked out, as well as the date of return if it has been returned.
g. Each time a book is checked out, we want to track which employee was involved in that transaction. Checking out a book can be handled by floor or research staff, but not managerial staff.
h. Each member of the floor staff has exactly one member of the managerial staff as a supervisor.
Your EER diagram of the library
- Entity types and relationship types
- Union/Category
- Specialization/Generalization
- Cardinality constraints
- Discuss any assumptions and justify your EER design choices
Trending nowThis is a popular solution!
Step by stepSolved in 3 steps with 1 images
- Instructions Complete the following tasks: a. Develop a use case diagram for a convenience food store. Include an actor representing the store manager and use cases for orderItem(), stockItem() and sellItem(). b. Add more use cases to the diagram you created. Include toe generalization for stockItem() called stockPerishable() and stockNon Perishable(). Also, include an extension to SellItem() called check credit() for cases in which a customer purchases items using a credit card. c. Add a customer actor to the use case you created. Show that the customer participated in sellItems() or stockItems(). Submission Instructions: You will use Microsoft Visio to create your diagrams. Be sure to use the following file naming convention when saving your document: Visio: LastName_Week3_PA_ConvenienceFoodStore.vsdxarrow_forwardWrite a simpledatabase appplication for the following case scenerio CASE SCENARIO United Bookstore Desing an E/R diagram for the following situation about books, authors, book publishers,, book sellers............arrow_forward1) Design an Object-Relational geodatabase, E-R diagram, and schema from the following elements. Subcatchments (S1, S2, S3). The study region is divided into multiple subcatchments where water is collected. Each subcatchment is described with a unique subcatchment ID, the area (square km), the average slope and the location (polygon). Rain Gages (R1, R2). A rain gage supplies precipitation for one or more subcatchments, and a subcatchment may have one or more rain gages. For example, in the Figure, R1 supplies precipitation data for S1 and S3, and R2 for S1 and S2. Each rain gage is described by a unique gage ID, hourly precipitation (mm), the time (year, month, day, hour) when the hourly precipitation is collected, and the location (point). Conduits (C1, C2, C3, C4). Conduits are the channels that move water to an outfall in the drainage system. Each conduit is described by a unique conduit ID, the length and the location (line). Junctions (J1, J2, J3, J4). A junction is the…arrow_forward
- Q1: The following Component Diagram has some errors circle the error and draw the correct diagram: Student Registeration Database Examination Graduation Adminarrow_forward3. Use case model: a. What does a use case diagram depict? b. Create a use case model for a travel agency. This should include all 3 parts of the use case model.arrow_forwardA Company operates many factories. Each factory is located in a region. Each region can be “home” to many of the factories. Each factory employs many employees, but each of those employees is employed by only one factory.”arrow_forward
- Q1. Draw an E-R Diagram for the following situation. At the university system each STUDENT must be assigned an ADVISOR who counsels students about degree requirements and helps students register for classes (COURSE). Each student must register (REGISTRATION) for classes with the help of an advisor, but if the student's assigned advisor is not available, the students may register with any advisor, We must keep track of students, the assigned advisor for each, and the name of the advisor with whom the students registered for the current term. Tips: Attributes of STUDENT include Student ID (the identifier), Name, and Major. Attributes of ADVISOR include Advisor ID (the identifier), Name, and Department. Attributes of COURSE include Course ID (the identifier), Title, and Credits. Attributes of REGISTRATION include Semester, and Year. Based on your background, think of logical and standard relationships between the given entities.arrow_forwardRock Series: A site hosts many shows a year. Artists have a name and perform several times in a series (each is a show on a different date). Series have one or more artists and have a series name and a specified seating arrangement. A series is held in one (and only one) of several halls, each of which has a hall number. Represent this situation of shows and artists with an E-R diagram.arrow_forwardDraw three sequence diagrams for three use cases in the use case diagram attached. Please draw the sequence diagram similar to the attatched second photo.arrow_forward
- What is the cardinality for the entity Department in the following ERD? Employee Department Employee number First name Last name Job title Dept number Dept number works Dept name in Dept location Instruction: Use proper spelling and/or punctuation in your answer.arrow_forwardSwing Jazz Club ERD Problem Follow the Simple Procedure for ERD diagramming to design an ERD using the following user provided information. Remember the ERD will eventually turn into the design for a database from a top down view. Make sure you resolve any many to many conflicts. Label an identifier or primary key and all pertinent attributes given. If an attribute is not readily apparent from the user information, then make one up that makes sense for the particular entity. Therefore, all entities should end up with at least an identifier and another attribute that makes sense. You may use any of the approaches shown by the book, though the ER-Model and Crow’s foot are the most common. Make sure you show entities, relationships, cardinality, and optionality. Swing Jazz Club The Swing Jazz Club teaches swing and jazz dancing and offers both private and group lessons. Swing Jazz charges $60 dollars per hour for a private lesson and $10 dollars per hour for a group lesson.…arrow_forwardbuild an entry relationship diagram using the data provided. example of graph included.arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education