Unit summary

  • The ER model uses entities, attributes, keys and relationships, and is mapped to tables by simple rules.
  • The EER model adds subclasses, inheritance, specialization, generalization, constraints and categories.
  • Objects have identity, complex structure built from type constructors, encapsulated methods and inheritance.
  • An OODBMS uses ODL and OQL, clusters and swizzles objects, and needs special handling of long transactions.

Glossary

Term Meaning
Cardinality ratio 1:1, 1:N or M:N association.
Category A subclass of the union of several superclasses.
Encapsulation Hiding structure and exposing operations.
Entity type A group of similar entities with the same attributes.
OID Unique immutable identifier of an object.
OQL Object Query Language.
Persistence Survival of objects after the program ends.
Specialization Top-down definition of subclasses.
Subclass A subgroup of the entities of a superclass.
Swizzling Converting OIDs to memory pointers.
Weak entity An entity that has no key of its own.

Question bank

Short Answer Questions (2 marks each)

Medium Answer Questions (5 marks each)

Long Answer Questions (15 marks each)

Sources

  • Official BCA syllabus Advanced Database Systems, course code 25BCA406DS04, Unit I