Question

In: Computer Science

Q1.Generate an ERD diagram for the following scenario using Lucidchart. I need to know what the...

Q1.Generate an ERD diagram for the following scenario using Lucidchart. I need to know what the diagram should look like.

(I am not sure there should be any kind of relationship between entities.)

Scenario: Southlands Electric

Southlands Electric wishes to create a database with the following information:

Customer with attributes Customer ID, Name, Address (Street, City, State, Zip Code), and Telephone
Location with attributes Location ID, Address (Street, City, State, Zip Code), and Type (values of Business or Residential)
Rate with attributes Rate Class and RatePerKWH
After interviews with the owners, you have come up with the following business rules:

Customers can have one or more locations
Each location can have one or more rates, depending on the time of day

Solutions

Expert Solution

Before drawing the diagram, let's see the various entities and the relationships between them.
The three entities are: Customer, Location and Rate. Customer's primary key is CustomerID and Location's primary key is LocationID.
Customer and Location have the relationship "Owns". Location and Rate have the relationship "Charges".
Now as per the question, a customer can have one or more locations, therefore Customer-Location relationship is one-to-many. And also that a customer should have at least one location.
(Explanation: For a customer to be in the company's database, he/she should own at least one place with a connection from Southlands Electric. He/She can also have multiple places or houses with an electricity connection from the company. It is perfectly possible that the billing address of the customer or the address at which he resides and the address of the place with electricity connection are different )
Also given, each location can have one or more rates. It is also possible that many locations have the same rate, for example- locations of the same type and in the same area would have the same rate. Hence the relationship Location-Rate is many-to-many. Also, each location should have at least one rate.
(Explanation: Each location should have at least one rate slab associated with it for the bill to be calculated).
So the ER diagram would look like this: (I have not used Lucidchart to draw these)

In another notation:

Although it’s not given specifically but there should also be a Time attribute associated with the relationship “Charges”.
Please let us know if you have any further doubts.


Related Solutions

Visiting Doctor Scenario i) Draw an ERD for a scenario in which patients visit doctors. It...
Visiting Doctor Scenario i) Draw an ERD for a scenario in which patients visit doctors. It is possible that a patient is visited by more than one doctor. Create DOCTOR and PATIENT entities and add at least four attributes to them including a primary key. Create an implementation ready ERD with all appropriate connectivities and cardinalities. Justify your choice of cardinalities with real world examples. In case you need to add any new entities, add at least two attributes apart...
Given the following business scenario, create a Crow’s Foot ERD using a specialization hierarchy if appropriate....
Given the following business scenario, create a Crow’s Foot ERD using a specialization hierarchy if appropriate. Two-Bit Drilling Company keeps information on employees and their insurance dependents. Each employee has an employee number, name, date of hire, and title. If an employee is an inspector, then the date of certification and the renewal date for that certification should also be recorded in the system. For all employees, the Social Security number and dependent names should be kept. All dependents must...
Transformer and Auto Transformer Q1: What do I need to know to solve Ideal Transformer, Transformer,...
Transformer and Auto Transformer Q1: What do I need to know to solve Ideal Transformer, Transformer, and autotransformer problems? Q2: What does it mean referred to primary or secondary side? Q3: How to draw phasor diagram ?
FOR THE SCENARIO BELOW...I need to know if my hypotheses are directional or non-directional.(I already have...
FOR THE SCENARIO BELOW...I need to know if my hypotheses are directional or non-directional.(I already have the hypotheses) I know I need to use a two sample T test but need help with the calculations. (Provide a sample size and critical values in relation to the hypothesis.) -Discuss what the statistical analysis will do in answering the hypotheses and question(s) for the client. Also discuss any potential problems to watch out for, including an appropriate sample size to meet the...
I need to know how to break this scenario down for probability questions.. After reading a...
I need to know how to break this scenario down for probability questions.. After reading a recent report revealing that workplace diversity can improve the development of ideas, Quantitative Industrial (QI) decides to hire 2 recent graduates to have a better age-profile in its workforce. They interview many candidates but have settled on 5 finalists for the position. They have ranked their choices from 1 to 5. Unbeknownst to them, each finalist has a certain probability of accepting their offer...
2. Draw an entity relationship diagram (ERD) for the following situation: The state of Georgia is...
2. Draw an entity relationship diagram (ERD) for the following situation: The state of Georgia is interested in designing a database that will track its researchers. Information of interest includes researcher name, title, position; university name, location, enrollment; and research interests. Each researcher is associated with only one institution, and each researcher has several research interests. 3. Visit a Web site that allows customers to order a product over the Web (e.g., Amazon.com). Create a data model that the site...
What do I need to know about this question?"Know what the Prisoner’s Dilemma is and...
Know what the Prisoner’s Dilemma is and be able to explain how it relates to collective action problems in world politics. Also, you should be able to evaluate the Kantian peace argument.
I KNOW THOSE ANSWERS BUT I NEED HOW TO SOLVE Q1 ANSWER E(1487) Q B Q...
I KNOW THOSE ANSWERS BUT I NEED HOW TO SOLVE Q1 ANSWER E(1487) Q B Q 1 What is the equilibrium constant for the reaction shown below? glutathione + NADPH + H+ ↔ reduced glutathione + reduced glutathione + NADP+ A. 1.073 B. 1,487 C. 17.4 D. 0.073 E. 7.03 2. Under standard conditions, is the oxidation of NADH by free FAD sufficiently exergonic to drive the synthesis of ATP? no, as oxidation of NADH by FAD only generates –9.65...
I need a list of business rules and corresponding ERD for a simple, very basic Pet...
I need a list of business rules and corresponding ERD for a simple, very basic Pet Store. Don’t think Petco or PetSmart, think little shop with only one location. They sell puppies, kittens, fish, and some reptiles. They also sell fancy food, toys, and beds for all these pets. Basically, the store sells things (2 entities), by whom (entity), to who (entity), and how (entity). I need two things: First, information containing the operation and business rules for a simple...
I need assistance in preparing a flexible budget based on the following scenario and information. Scenario:...
I need assistance in preparing a flexible budget based on the following scenario and information. Scenario: Green Pastures is a 400-acre farm on the outskirts of the Kentucky Bluegrass, specializing in the boarding of broodmares and their foals. A recent economic downturn in the thoroughbred industry has led to a decline in breeding activities, and it has made the boarding business extremely competitive. To meet the competition, Green Pastures planned in 2017 to entertain clients, advertise more extensively, and absorb...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT