DATABASE SYSTEM CONCEPTS LCPO
DATABASE SYSTEM CONCEPTS LCPO
7th Edition
ISBN: 9781265586577
Author: SILBERSCHATZ
Publisher: MCG
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 LCPO, 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
1.[30 pts] Computers generate color pictures on a video screen or liquid crystal display by mixing three different colors of light: red, green, and blue. Imagine a simple scheme, with three different lights, each of which can be turned on or off, projecting onto a glass screen: We can create eight different colors based on the absence (0) or presence (1) of light sources R,G and B: R G B Color 0 0 0 Black 0 0 1 Blue 0 1 0 Green 0 1 1 Cyan 1 0 0 Red 1 0 1 Magenta 1 1 1 0 Yellow 1 White 1 Each of these colors can be represented as a bit vector of length 3, and we can apply Boolean operations to them. a. The complement of a color is formed by turning off the lights that are on and turning on the lights that are off. What would be the complement of each of the eight colors listed above? b. Describe the effect of applying Boolean operations on the following colors: Λ 1. Red(100) ^ Magenta(101)= Blue(001) 2. Bue(001) | Green(010)= 3. Yellow(100) & Cyan(011)= 2.[30 pts] Perform the following…
D. S. Malik, Data Structures Using C++, 2nd Edition, 2010
Methods (Ch6) - Review 1. (The MyRoot method) Below is a manual implementation of the Math.sqrt() method in Java. There are two methods, method #1 which calculates the square root for positive integers, and method #2, which calculates the square root of positive doubles (also works for integers). public class SquareRoot { public static void main(String[] args) { } // implement a loop of your choice here // Method that calculates the square root of integer variables public static double myRoot(int number) { double root; root=number/2; double root old; do { root old root; root (root_old+number/root_old)/2; } while (Math.abs(root_old-root)>1.8E-6); return root; } // Method that calculates the square root of double variables public static double myRoot(double number) { double root; root number/2; double root_old; do { root old root; root (root_old+number/root_old)/2; while (Math.abs (root_old-root)>1.0E-6); return root; } } Program-it-Yourself: In the main method, create a program that…
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