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

The B-complex vitamins and vitamin C are not stored in the body and must be replaced each day.

Did you know?

In the United States, congenital cytomegalovirus causes one child to become disabled almost every hour. CMV is the leading preventable viral cause of development disability in newborns. These disabilities include hearing or vision loss, and cerebral palsy.

Did you know?

During pregnancy, a woman is more likely to experience bleeding gums and nosebleeds caused by hormonal changes that increase blood flow to the mouth and nose.

Did you know?

Recent studies have shown that the number of medication errors increases in relation to the number of orders that are verified per pharmacist, per work shift.

Did you know?

Historic treatments for rheumatoid arthritis have included gold salts, acupuncture, a diet consisting of apples or rhubarb, nutmeg, nettles, bee venom, bracelets made of copper, prayer, rest, tooth extractions, fasting, honey, vitamins, insulin, snow collected on Christmas, magnets, and electric convulsion therapy.

For a complete list of videos, visit our video library