Database System Concepts
Database System Concepts
7th Edition
ISBN: 9781260084504
Author: Abraham Silberschatz, S. Sudarshan, Abraham, Henry Korth, Silberschatz Abraham, Silberschatz Professor
Publisher: McGraw-Hill Education
bartleby

Concept explainers

Question
100%
Book Icon
Chapter 6, Problem 1PE
Program Plan Intro

Entity-Relationship diagram:

  • Entity-Relationship (ER) diagram is the method to represent the relational database using graphical form.
  • This graphical representation shows only primary elements such as records, types, attributes, relationships between entities, and so on.
  • The graphical representation of the ER diagram clearly describes the relationship among entities.
  • In the diagram, every connector is labeled.
    • On one side it is represented by the value 1, and on the other side it is labeled with the value “M”. This labeling is referred to as “cardinality constraint” of the relationship.

Expert Solution & Answer
Check Mark

Explanation of Solution

ER diagram for the Car Insurance Company:

Database System Concepts, Chapter 6, Problem 1PE

Explanation:

In the above ER diagram, “Customer”, “Car”, “Accident”, “Insurance_Policy”, and “Premium_Payment” are the entities.

  • The “Customer” entity contains “cust_ID”, “cust_Name”, “cust_Address” and “cust_Phone attributes. Here, “cust_ID” is a primary key.
  • The “Car” entity contains “car_Num”, “model”, “make”, “color”, and “year” attributes. Here, “car_Num” is a primary key.
  • The “Accident” entity contains “report_ID”, “location”, “date” and “damage_Cost” attributes. Here, “report _ID” is a primary key.
  • The “Insurance_Policy” entity contains “policy_Num”, “policy_Name”, and “coverage” attributes. Here, “policy_Num” is a primary key.
  • The “Premium_Payment” entity contains “payment_ID”, “payment_Date”, “due_date”, and “amount” attributes. Here, “payment_ID” is a primary key

Relationships between the entities:

  • One “Customer” contains many “Car” so here, one-to-many relationship exists and named it as “Owns”.
  • One “Car” contains many “Insurance_Policy” so here, one-to-many relationship exists and named it as “Covers”.
  • One “Car” meets optional many (zero or many) “Accident” so here, one-to-optional many relationship exists and named it as “Meets”.
  • One “Insurance_Policy” contains many “Premium_Payment” so here, one-to-many relationship exists and named it as “Payments”.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
TECNOLOGIE DEL WEB 2023/2023 (VER 1.1) Prof. Alfonso Pierantonio 1. Project Requirements The project consists in designing and implementing a Web application according to the methodology and the technologies illustrated and developed during the course. This document describe cross-cutting requirements the application must satisfy. The application must be realized with a combination of the following technologies: PHP MySQL HTML/CSS JavaScript, jQuery, etc templating The requirements are 2. Project size The application must have at least 18 SQL tables The number of SQL tables refers to the overall number of tables (including relation normalizations). 3. Methodology The application must be realized by adopting separation of logics, session management, and generic user management (authentication/permissions). Missing one of the above might correspond to a non sufficient score for the project. More in details: 3.1 Separation of Logics The separation of logics has to be realizse by using…
Write a C program to calculate the function sin(x) or cos(x) using a Taylor series expansion around the point 0. In other words, you will program the sine or cosine function yourself, without using any existing solution. You can enter the angles in degrees or radians. The program must work for any input, e.g. -4500° or +8649°. The function will have two arguments: float sinus(float radians, float epsilon); For your own implementation, use one of the following relations (you only need to program either sine or cosine, you don't need both): Tip 1:  Of course, you cannot calculate the sum of an infinite series indefinitely. You can see (if not, look in the program) that the terms keep getting smaller, so there will definitely be a situation where adding another term will not change the result in any way (see problem 1.3 – machine epsilon). However, you can end the calculation even earlier – when the result changes by less than epsilon (a pre-specified, sufficiently small number, e.g.…
Write a C program that counts the number of ones (set bits) in the binary representation of a given number. Example:Input: 13 (binary 1101)Output: 3 units
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education