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 22 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?

Throughout history, plants containing cardiac steroids have been used as heart drugs and as poisons (e.g., in arrows used in combat), emetics, and diuretics.

Did you know?

Atropine, along with scopolamine and hyoscyamine, is found in the Datura stramonium plant, which gives hallucinogenic effects and is also known as locoweed.

Did you know?

Never take aspirin without food because it is likely to irritate your stomach. Never give aspirin to children under age 12. Overdoses of aspirin have the potential to cause deafness.

Did you know?

Certain rare plants containing cyanide include apricot pits and a type of potato called cassava. Fortunately, only chronic or massive ingestion of any of these plants can lead to serious poisoning.

Did you know?

Asthma-like symptoms were first recorded about 3,500 years ago in Egypt. The first manuscript specifically written about asthma was in the year 1190, describing a condition characterized by sudden breathlessness. The treatments listed in this manuscript include chicken soup, herbs, and sexual abstinence.

For a complete list of videos, visit our video library