GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Databases Chapter 4

James Herd Computer Science 2 Englisch 19 Karten

Karten in diesem Stapel (19)

  1. 1What does EER stand for?Enhanced Entity Relationship
  2. 2Why were EER diagrams created?- to design a more accurate database schema
    - Reflect data properties and constraints more precisely
  3. 3What is the notion of Subclasses and and Superclassesan entity may have additional meaningful sub groupings of its entities
  4. 4What subgroupings of EMPLOYEE?Subclasses:
    Secretary
    Technician
    Manager
  5. 5What would EMPLOYEE be considered as?Superclass
  6. 6What is the relationship from a superclass to its subclasses called?"IS-A" relationships
  7. 7What does an entity of that is a member of a subclass inherit?All attributes and all relationships of the entity as a member of the superclass
  8. 8What is Specialization?Specialization is the process of defining a set of subclasses of a superclass
  9. 9Name the reasons why one would include class/subclass relationships and specialization in a data model-certain attributes may apply to some but not all entities of the superclass
    - Some relationship types may be participated in only by members of the subclass
  10. 10What is generalization?Generalization is the reverse of the specialization process
    - Several classes with common features and generalized into superclass
  11. 11Describe the specialization type, Predicate-defined(condition defined): Based on some predicate. E.g., based on value of an attribute, say Job-type, or Age
  12. 12Describe the specialization type, Attribute-definedShows the name of the attribute next to the line drawn from the superclass toward the subclasses
  13. 13Describe the specialization type, User-definedmemnbership is defined by the user on an entity by entity basis
  14. 14What are the 2 basic constraints that can be applied to Specialization and Generalization?Disjointness Constraint
    Completeness Constraint
  15. 15Describe the disjointness constraintSpecifies that the subclasses of the specialization must be disjoint.
    - an entity can be a member of at most one of the subclasses of the specialization
    - (d)
    -if not disjoint, the specialization is overlapping
    - the same entity may be a member of more than one subclass of the specialization
    - (o)
  16. 16Describe the Completeness constraint-Total specifies that every entity in the supercall must be a member of some subclass in the specialization/generalization
    -shown in diagram by double lines
    -Partial allows an entity not to belong to any of the subclasses
  17. 17What are the 4 types of generalization/specializations?-Disjoint, total
    -Disjoint, Partial
    -Overlapping, total
    -Overlapping, partial
  18. 18What is the constraint of a Hierarchy?That every subclass has only one superclass (called single inheritance); this is basically a tree structure
  19. 19Describe what a lattice isa subclass can be subclass of more than one superclass (multiple inheritance) (shared subclasses)

Informationen

Beschreibung
Test 1 Material
Erstellt von
James Herd
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck