inf sys Flashcards
multivalued attribute
e.g. skills of person since football, hockey = 2 things you you can have multiple things in one attribute skills
what are the different cardinality ratios
1:N M:N (an employee
can work on several projects and a project can have several employees) 1:1 (one manager 1 department)
what are the participation constraints
total and partial participation (2 lines vs 1 line)
if you have a relation attribute, you can move it to the entities with the most relations to one of the other entity.
yup
For M:N relationship types, some attributes may be determined by the combination of
participating entities in a relationship instance, not by any single entity. Such attributes must be specified as:
relationship attributes
weak entity types are:
antities without a key attribute, relying on another entity for its identifier
A weak entity type normally has a partial key, which is the set of attributes that can
uniquely identify weak entities that are related to the same owner entity.
yup
weak entities in ER hebben
dubbele lijnen
composite attributes
consist out of multiple things
Derived attribute
Derived attributes are the attributes that do not exist in the physical database, but their values are derived from other attributes present in the database.
what is a key?
an attribute / attributes that uniquely identify an entity
what is the difference between ER and EER? (the enhanced)
subclasses, superclasses and inheritance specialisation is adding subclasses whereas generalization is using superclasses
- How do we define the members of a subclass?
Predicate-defined or condition-defined: based on some
predicate/attribute value.
Attribute-defined: based on an attribute of a superclass
User-defined: membership is defined by the user on an
entity-by-entity basis
How many subclasses may an entity belong to?
Disjointness Constraint - disjouint or overlapping
Completeness Constraint
specializations can thus be defined by
an attribute, meaning that based on that attribute, the entity will be specifying what subclass it will become.