2. modelling Flashcards

1
Q

What is a model in data modeling?

A

A model is an abstraction of reality, constructed based on a specific point of view and level of abstraction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are business rules?

A

Business rules are statements that define or constrain aspects of a business, establishing structure and guiding behavior using business language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What characteristics define a good business rule?

A

They are declarative, precise, atomic, consistent, expressible, distinct, and business-oriented.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What constitutes a good data name?

A

A good data name is business-related, meaningful, unique, readable, based on approved vocabulary, and follows standard syntax.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are data definitions?

A

They are concise explanations of terms or facts gathered with system requirements and refined iteratively, often with supporting diagrams.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the main constructs of an E-R model?

A

The main constructs are entities, relationships, and attributes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an entity in data modeling?

A

An entity is an object with many instances and multiple attributes that represents something to be modeled, excluding system users or outputs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the three levels of a database system implementation?

A

The conceptual model (an ER diagram), the logical model (a relational model), and the physical implementation (actual database objects).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How are attributes classified in data modeling?

A

Attributes are classified as required versus optional, simple versus composite, single-valued versus multivalued, stored versus derived, and as identifier attributes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is an identifier in data modeling?

A

An identifier, or key, is an attribute or set of attributes that uniquely identifies an entity instance and should be stable and non-null.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the difference between a relationship type and a relationship instance?

A

A relationship type is a general association between entity types, while a relationship instance is a specific occurrence of that association; relationships may also have their own attributes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are cardinalities and cardinality constraints in relationships?

A

Cardinalities specify whether relationships are one-to-one, one-to-many, or many-to-many, while cardinality constraints define the minimum and maximum associations between entities.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is an associative entity?

A

An associative entity is used to model many-to-many relationships that include additional attributes, breaking them into two one-to-many relationships and ensuring data integrity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What distinguishes strong and weak entities?

A

Strong entities exist independently with unique identifiers, whereas weak entities depend on strong entities and have partial identifiers linked via identifying relationships.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

When should attributes be added to a relationship?

A

Attributes should be added when the relationship has descriptive details, requires a unique identifier, represents an event or transaction, includes temporal aspects, differentiates multiple relationship types, or enforces business rules.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

When should you not add attributes to a relationship?

A

Do not add attributes if the relationship is simple, if the attributes logically belong to one of the related entities, or if adding them would create unnecessary complexity.

17
Q

What is the purpose of an associative entity in relational modeling?

A

It converts a many-to-many relationship into two one-to-many relationships while capturing additional attributes and maintaining referential integrity.