Conceptual Design Flashcards

Designing E/R

1
Q

What is reification in E/R modeling?

A

Reification is converting a complex relationship with attributes into an entity for better representation.

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

How do you decide if a concept should be an entity or an attribute?

A

If it has signficant properties or standalone existence, it should be an entity

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

Its important to not model instances as

A

entities

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

5 qualities of a good conceptual schema

A

Correctness, completeness, minimality, pertinence and readability

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

What does minimality in a conceptual schema mean?

A

No redundant concepts

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

How do you ensure pertinence in a conceptual schema?

A

Excluding unnecessary elements that do not contribute to meeting the requirements

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

Main steps in gathering requirements for database design

A
  1. Building a glossary
  2. Clarifying amiguities
  3. Grouping homogeneous requirements
  4. Separating data from functional needs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Why is glossary important

A

Avoid misinterpretation

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

What is a skeleton schema?

A

Basic framework that includes only most relevant concepts to guide further integration and refinement

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

What is the iterative step in E/R design methodology?

A

Refining and adding concepts based on detailed requirements until the schema is satisfactory

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

Why should “book” and “book copy” be modeled separately?

Library database

A

Differentiate between the abstract concept of a book (its author,publisher,etc) and its physical instance or copies

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

How is the MARRIAGE relationship handled in E/R design

A

Reifying it into an entity to handle attributes like data and ensure constraints (no duplicate marriages on the same day)

Remember, if a relationship has attributes or it is a many to many, or it requires precise representation like a VISIT then we should make an entity

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