This topic contains a solution. Click here to go to the answer

Author Question: Describe and give an example of generalization and specialization. What will be an ideal ... (Read 21 times)

Ebrown

  • Hero Member
  • *****
  • Posts: 567
Describe and give an example of generalization and specialization.
 
  What will be an ideal response?

Question 2

What does integrity mean in the context of data management?
 
  What will be an ideal response?



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by a Subject Expert

makaylafy

  • Sr. Member
  • ****
  • Posts: 347
Answer to Question 1

Generalization is a relationship in which one class is the more abstract expression of the properties of a set of classes: a Tree class embodies properties common to Oak, Birch, and Cedar classes. Conversely, specialization is a relationship in which a class is the less abstract expression of another class: a Rose is a Flower but the Flower class does not express the specific features of a Rose that sets it apart from other flowers. The result of generalization is a superclass (or a parent), while specialization arrives as subclasses (or children).

Answer to Question 2

A relational DBMS protects data integrity at four levels: column (or attribute), row (or entity), inter-table, and procedural.
 Attribute integrity is ensured by type definition, foreign keys, and constraints.
 Entity integrity is assured by the primary key: one, and only one, entity within a table can be identified by a specific value (or combination of values) in the primary key.
 Inter-table integrity is called referential integrity and is implemented by enforcing the constraints of foreign keys.
 Procedural integrity is used when the relationships among entities are too complex for the other mechanisms. The main tools of procedural integrity are triggers, stored procedures, and transaction processing.





 

Did you know?

Parkinson's disease is both chronic and progressive. This means that it persists over a long period of time and that its symptoms grow worse over time.

Did you know?

People often find it difficult to accept the idea that bacteria can be beneficial and improve health. Lactic acid bacteria are good, and when eaten, these bacteria improve health and increase longevity. These bacteria included in foods such as yogurt.

Did you know?

To maintain good kidney function, you should drink at least 3 quarts of water daily. Water dilutes urine and helps prevent concentrations of salts and minerals that can lead to kidney stone formation. Chronic dehydration is a major contributor to the development of kidney stones.

Did you know?

Pope Sylvester II tried to introduce Arabic numbers into Europe between the years 999 and 1003, but their use did not catch on for a few more centuries, and Roman numerals continued to be the primary number system.

Did you know?

Although puberty usually occurs in the early teenage years, the world's youngest parents were two Chinese children who had their first baby when they were 8 and 9 years of age.

For a complete list of videos, visit our video library