Question

In: Computer Science

By considering a relationship with (0, N) - (0, N) cardinalities between two entities, discuss the...

By considering a relationship with (0, N) - (0, N) cardinalities between two entities, discuss the following:

  1. The rule used to create relational database tables from a conceptual model.
  2. How should the relationship be implemented?
  3. Why does it need to be implemented that way?
  4. Does the rule differ if either or both minimum cardinalities are changed to 1?

Solutions

Expert Solution

Solution:

Cardinality of (0,N) -(0,N) between the two Enities is modeled below:

Cardinality(0,N) Denotes Zero or More

For Example consider two Entities in a Conceptual model of a college/school information system:

1.Teacher: Teacher ID(PK),Name, Address, Experience,Qualification,specialization,CourseID(FK) Taughts, Salary,Dept Id(FK),email, Phone no.

2..Course : Course ID(PK),Name,TeacherID(FK), DeptID(FK),Year,Sem,Major,No of modules

The Cardinality between Teacher Vs Course is (0,N)

ie A Teacher can Teach Zero or Many Courses in a College Infirmation system

and A Course is Taught by at least one to Many Teachers in the college information system

Another Example:

Customer --> Item Cardinality is (0,N)

Customer may buy Zero or more items at any time during shopping (Grocessory Market/ other malls)

At the same time An Item may buy zero to many Customers.

so Item -->Customer Cardinality is (0,N)

This Relation ship is useful to model the relation ships of entities with optional multiplicity properties from null to many.In certain cases , an item may not buy any one or buy many customers .

A customer may not buy any item during a visit to shop or may buy more items of various types it is optional.

This Rule will be varried when minimum cardinality is changed to 1. just like in the first Example A course must taught atl least one Teacher then many Teachers can teach same course of different modules.

This relationship will be implemented to satisfy the 3rd NF by eliminating Many to many (N-N) relation.


Related Solutions

Identify the degree and cardinalities of the relationship. - Draw the corresponding E-R diagram. Don’t forget the degree and cardinalities of each relationship.
For each of the following descriptions: - Identify the degree and cardinalities of the relationship. - Draw the corresponding E-R diagram. Don’t forget the degree and cardinalities of each relationship.1 . A book is identified by its ISBN number, and it has a title, a price, and a date of publication. It is written by one or multiple authors. Each author is identified by an author number and has a name and date of birth. Each author has either one...
Which of the following best illustrates the relationship between entities and attributes?
Which of the following best illustrates the relationship between entities and attributes?  A. The entity CUSTOMER with the attribute ADDRESS   B. The entity PRODUCT with the attribute CUSTOMER   C. The entity CUSTOMER with the attribute PRODUCT   D. The entity ADDRESS with the attribute CUSTOMER   E. The entity PRODUCT with the attribute PURCHASE
Discuss the main differences between business entities and government entities. How do these differences impact the...
Discuss the main differences between business entities and government entities. How do these differences impact the accounting methods that each of these types of entities uses? 2. Describe the five types of government entities. 3. Explain why modified accrual accounting and the financial resources measurement focus are appropriate methods for accounting for Governmental Type Funds. 4. Explain why accrual accounting and the economic resources measurement focus are appropriate methods for Proprietary Funds and Fiduciary Funds.
Your division is considering two projects with the following cash flows (in millions):                     0         &n
Your division is considering two projects with the following cash flows (in millions):                     0                     1       2 3      Project A       - $25                   $5                 $10                  $17 Project B        -$20                   $10               $9                     $6 ANSWER THIS. What are the projects’ NPVs assuming the discount interest rate is 12%? Please explain and show work ANSWER THIS What are the projects’ IRRs? Please explain and show work.
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...
i) Discuss the differences that exist between the three types of service entities.
i) Discuss the differences that exist between the three types of service entities.
A. Profitability and productivity are two sides of the same coin. Discuss the relationship between them...
A. Profitability and productivity are two sides of the same coin. Discuss the relationship between them and explain how the use of materials can affect either of them.    B. Waste in both service and manufacturing organizations have common characteristics. Explain any three such characteristics as it relates to a company manufacturing pencils.                                                                                                     C. Capacity planning is required to match demand to supply at minimum total cost. Why is it necessary to do so? What three strategies can be adopted to...
Please respond to one of the two questions listed below. 1. Discuss the relationship between an...
Please respond to one of the two questions listed below. 1. Discuss the relationship between an organizational mission statement, philosophy, goals, objectives, policies, procedures and rules.  Review the mission and goals and objectives within your own organization and evaluate how consistent they are with the organization and how well they are being achieved. How well does your organization communicate these to you? Do you feel you play a role in your organization's mission and how? 2. Identify strategies to manage resistance...
Discuss the meaning of Wilfred Owens' poem "Strange Meeting". What is the relationship between the two...
Discuss the meaning of Wilfred Owens' poem "Strange Meeting". What is the relationship between the two soldiers? Why do you think Owen's portrays it this way? What is the significance of the poem's title?
Part 1) Discuss the relationship between hospitals' profitability and their performance at managing two components of...
Part 1) Discuss the relationship between hospitals' profitability and their performance at managing two components of working capital: accounts receivable, measured in terms of hospitals' average collection periods, and accounts payable, measured in terms of hospitals' average payment periods. Part 2) How would you describe the composition and purpose of responsibility centers?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT