Question

In: Computer Science

1. Give examples of 1:1, 1:N, and N:M relationships (other than those presented in chapter 5)....

1. Give examples of 1:1, 1:N, and N:M relationships (other than those presented in chapter 5). Draw two E-R diagrams for each of your examples: one using the traditional diamond notation and one using IE Crow’s Foot notation.

2. Describe the relationship between the structure of forms and reports and the data model.

3. Explain the difference between IS-A and HAS-A relationships.

4. Explain why the data modeling process must be iterative. Use the Highline University example.

Solutions

Expert Solution

Solution 1:-

Solution 3:-

An IS-A relationship is inheritance. The classes which inherit are known as sub classes or child classes. On the other hand, HAS-A relationship is composition.

In OOP, IS-A relationship is completely inheritance. This means, that the child class is a type of parent class. For example, an apple is a fruit. So you will extend fruit to get apple.

On the other hand, composition means creating instances which have references to other objects. For example, a room has a table. So you will create a class room and then in that class create an instance of type table

A HAS-A relationship is dynamic (run time) binding while inheritance is a static (compile time) binding. If you just want to reuse the code and you know that the two are not of same kind use composition. For example, you cannot inherit an oven from a kitchen. A kitchen HAS-A oven. When you feel there is a natural relationship like Apple is a Fruit use inheritance.

Solution 4:-

Please like the answer if you are satisfied.

Your appreciation really matters to me.

Thanking you Sir/Madam.


Related Solutions

give two examples in any area of interest to you (other than those already presented in...
give two examples in any area of interest to you (other than those already presented in this chapter) where regression analysis can be used as a data analytic tool to answer some questions of interest. For each example: a. what is the question of interest? b. Identify the response and the predictor variable. c. Classify each of the variables as either quantitative or qualitative. d. Which type of regression (see table 1.15) can be used to analyze the data? e....
What are some examples, other than those given in the chapter, of technological change that has...
What are some examples, other than those given in the chapter, of technological change that has caused unemployment? And what are some examples of new technologies that have created jobs? How do you think you might measure the net impact of technological change on overall employment and GDP in the United States?
Quiz 5 (Chapter 10): Other than the examples contained in the book or the article of...
Quiz 5 (Chapter 10): Other than the examples contained in the book or the article of Gilmore and Pine (https://hbr.org/1997/01/the-four-faces-of-mass-customization), provide an example of a company with which you are familiar with brief explanations that is. (I expect you to define each customizer clearly and find one company from EACH category.) An adaptive customizer (10 points worth) A cosmetic customizer (10 points worth) A collaborative customizer (10 points worth) A transparent customizer (10 points worth)
what is disintermediation?think of an example(other than those given in the chapter)of a company that has...
what is disintermediation?think of an example(other than those given in the chapter)of a company that has been disintermediated and one that has disintermediated another type of company. Do you think bricks-and-mortar retailers will ever be completely distintermediated?
Other than those mentioned in the chapter, what actions might a company take to reduce risk?...
Other than those mentioned in the chapter, what actions might a company take to reduce risk? (Business Finance Page 194,Chapter 6.) Typing please,thank you.
Define Incremental Analysis in the evaluation of ROR, and give an example (other than the examples...
Define Incremental Analysis in the evaluation of ROR, and give an example (other than the examples in the slides or the
Give two examples of symbiotic relationships involving a fungus and a photoautotroph. For the two examples,...
Give two examples of symbiotic relationships involving a fungus and a photoautotroph. For the two examples, you choose, explain whether each relationship is parasitic, commensalism, or mutualistic. Is either of these relationships beneficial for or detrimental to humans? Why or why not?
What are the three examples of commodity chain organization? Give actual examples of these relationships and...
What are the three examples of commodity chain organization? Give actual examples of these relationships and explain how they represent globalization. (8-12 sentences)
Detection Risk explain and give 5 examples? Define Brainstorming session and give 5 examples ?
Detection Risk explain and give 5 examples? Define Brainstorming session and give 5 examples ?
Give 5 examples of Rectal Gels and 5 examples of Ophthalmic Gels
Give 5 examples of Rectal Gels and 5 examples of Ophthalmic Gels
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT