Conceptual Data Modeling and UML Notes

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play

1/58

flashcard set

Earn XP

Description and Tags

Comprehensive practice flashcards covering Entity-Relationship (ER) modeling, specialization and generalization, and Unified Modeling Language (UML) concepts.

59 Terms

1
New cards

What is an entity type in database modeling?

Represents a business concept with an unambiguous meaning to a particular set of users, tabel.

2
New cards

What is an entity?

One particular occurrence or instance of an entity type.

3
New cards

What is an attribute type?

Represents a property of an entity type, kolom.

4
New cards

What is an attribute?

An instance of an attribute type.

5
New cards

What is a domain in an ER model?

Specifies the set of values that may be assigned to an attribute for each individual entity, can contain null values, not displayed in an ER model.

6
New cards

What is a key attribute type?

An attribute type whose values are distinct for each individual entity, can be combination of attribute types.

7
New cards

What is a simple/atomic attribute type?

An attribute type that cannot be further divided into parts.

8
New cards

What is a composite attribute type?

An attribute type that can be decomposed into other meaningful attribute types.

9
New cards

What is a single-valued attribute type?

Has only one value for a particular entity (eg: product name).

10
New cards

What is a multi-valued attribute type?

An attribute type that can have multiple values (eg: email address).

11
New cards

What is a derived attribute type?

An attribute type which can be derived from another attribute type.

12
New cards

What is a relationship in database modeling?

Represents an association between two or more entities.

13
New cards

What is a relationship type?

Defines a set of relationships among instances of one, two or more entity.

14
New cards

How is the degree of a relationship type defined?

The number of entity types participating in the relationship type.

15
New cards

What are the roles of a relationship type?

The various directions that can be used to interpret it.

16
New cards

What do cardinalities specify in relationship types?

Specify the minimum or maximum number of relationship instances that an individual entity can participate in.

17
New cards

Under what conditions can relationship attribute types be migrated to one of the participating entity types?

In case of a 1:11:1 or 1:N1:N relationship type.

18
New cards

What is a strong entity type?

An entity type that has a key attribute type.

19
New cards

What is a weak entity type?

An entity type that does not have a key attribute type of its own.

20
New cards

What is specialization?

The process of defining a set of subclasses of an entity type, "is a" relationship.

21
New cards

What is generalization?

Abstraction, the reverse process of specialization, bottom-up process.

22
New cards

What does a disjointness constraint specify?

Specifies to what subclasses an entity of the superclass can belong to.

23
New cards

What is disjoint specialization?

Specialization whereby an entity can be a member of at most one of the subclasses.

24
New cards

What is overlap specialization?

Specialization whereby the same entity may be a member of more than one subclass.

25
New cards

What does a completeness constraint indicate?

Indicates if all entities of the superclass should belong to one of the subclasses or not.

26
New cards

What is total specialization?

Specialization whereby every entity in the superclass must be a member of some subclass.

27
New cards

What is partial specialization?

Allows an entity to only belong to the superclass and to none of the subclasses.

28
New cards

What is a specialization hierarchy?

Every subclass can only have a single superclass and inherits the attribute types and relationship types of all its predecessor superclasses all the way up to the root of the hierarchy.

29
New cards

What is a specialization lattice?

A subclass can have multiple superclasses (multiple inheritance).

30
New cards

What is a category in extended ER modeling?

A subclass that has several possible superclasses, each superclass represents a different entity type, represents a collection of entities that is a subset of the union of the superclasses.

31
New cards

What is selective inheritance?

Inheritance in the case of categorization corresponds to an entity inheriting only the attributes and relationships of that superclass it is a member of.

32
New cards

What is total categorization?

All entities of the superclasses belong to the subclass.

33
New cards

What is partial categorization?

Not all entities of the superclasses belong to the subclass.

34
New cards

What is aggregation in conceptual modeling?

Entity types that are related by a particular relationship type can be combined or aggregated into a higher-level aggregate entity type.

35
New cards

What is UML?

Unified Modeling Language, modeling language which assists in the specification, visualization, construction and documentation of artifacts of a software system, object-oriented system modeling notation.

36
New cards

What is a class in UML?

Set of objects.

37
New cards

What is an object in UML?

An instance of a class, characterized by variables and methods.

38
New cards

What is information hiding (encapsulation)?

Encapsulation, the variables of an object can only be accessed through either getter or setter methods.

39
New cards

What is inheritance in object-oriented systems?

A superclass can have one or more subclasses which inherit both the variables and methods from the superclass.

40
New cards

What is method overloading?

Various methods in the same class can have the same name, but a different number or type of input arguments.

41
New cards

What is the purpose of access modifiers?

To specify who can have access to a variable or method.

42
New cards

What are private access modifiers?

Variable or method can only be accessed by the class itself.

43
New cards

What are public access modifiers?

Variable or method can be accessed by any other class.

44
New cards

What are protected access modifiers?

Variable or method can be accessed by both the class and its subclasses.

45
New cards

What is an association in UML?

Corresponds to a relationship type in ER, characterized by its multiplicities.

46
New cards

What is a link in UML?

A particular occurrence of an association.

47
New cards

What is an association class?

An association has variables and/or methods on its own.

48
New cards

What is a directional association?

Associations can be augmented with direction reading arrows, which specify the direction of querying or navigating through it, unidirectional or bidirectional.

49
New cards

What is a qualified association?

A special type of association that uses a qualifier to further refine the association.

50
New cards

What is shared aggregation?

Aggregation, part object can simultaneously belong to multiple composite objects, maximum multiplicity at the composite side is undetermined, part object can also occur without belonging to a composite object, loose coupling.

51
New cards

What is composite aggregation?

Composition, the part object can only belong to one composite, maximum multiplicity at the composite side is 11, minimum multiplicity can be either 11 or 00, tight coupling.

52
New cards

What is a changeability property?

Specifies the type of operations which are allowed on either variable values or links.

53
New cards

What is the default changeability property?

Allows any type of edit.

54
New cards

What is the AddOnly changeability property?

Only allows additional values or links to be added (so no deletions).

55
New cards

What is the frozen changeability property?

Allows no further changes once the value or link is established.

56
New cards

What is OCL?

Object Constraint Language, can be used to specify various types of constraints in a declarative way.

57
New cards

What is a dependency relationship in UML?

Defines a ‘using’ relationship which states that a change in the specification of a UML modeling concept may affect another modeling concept that uses it.

58
New cards

What is a class invariant?

A constraint which holds for all objects of a class.

59
New cards

What are pre- and post-conditions?

On methods, must be true when a method either begins or ends.