CH 5 - ER Modelling Flashcards

rember to dtraw er diagrams with chen and crows foot

1
Q

What is the definition of a model according to Webster’s Dictionary?

A

A model is a “description or analogy used to visualize something that cannot be directly observed.”

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

What is a data model?

A

A data model is a relatively simple representation of complex real-world data structures.

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

what are the degrees of abstraction

A

-conceptual
-internal
-external
-physical

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

What does the conceptual model in data modeling represent?

A

It provides a global view of data,

serves as the basis for identifying and describing main data items,

and is typically represented using an ERD (Entity-Relationship Diagram). It is hardware and software independent.

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

What is the internal model in data modeling?

A

The internal model represents the database as seen by the DBMS, adapts the conceptual model to a specific DBMS, and is software dependent.

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

What is the external model in data modeling?

A

The external model represents users’ views of the data environment, provides subsets of the internal view, and ensures the adequacy and security of the conceptual model.

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

What does the physical model in data modeling represent?

A

The physical model is the lowest level of abstraction and is software and hardware dependent. It requires the definition of physical storage devices and access methods.

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

What does the Entity-Relationship (E-R) Model represent?

A

-conceptual view of the database
-showing the main components like entities and attributes and relationships

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

In the E-R Model, what is an entity?

A

An entity corresponds to an entire table (not a row) and is represented by a rectangle in an ERD.

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

What are attributes in the E-R Model?

A

Attributes are characteristics of entities and relationship

Their domain is the set of possible values they can have.
Primary keys are underlined.

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

er attributes

A

simple
composite
single valued
multi valued
derived

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

What is a simple attribute?

A

an attribute that cannot be subdivided, such as age, sex, or marital status.

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

What is a composite attribute?

A

A composite attribute can be subdivided into additional attributes, like an address can be divided into street, city, and zip code.

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

What is a single-valued attribute?

A

it can have only one value, such as a person having one social security number.

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

What is a multi-valued attribute?

A

A multi-valued attribute can have many values, such as a person having several college degrees.

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

What is a derived attribute?

A

A derived attribute can be calculated using an algorithm, like age being derived from the date of birth.

17
Q

What is a relationship in the E-R Model?

A

A relationship is an association between entities, where connected entities are called participants.

Relationships operate in both directions and are described by connectivity (e.g., 1:1, 1:M)

cardinality.Expresses number of entity occurrences associated with one occurrence of related entity

18
Q

relational strengths

A

existence dependence. Entity’s existence depends on existence of related entities. Existence-independent entities can exist apart from related entities

weak(non - identifying). One entity is existence-independent on another. PK of related entity doesn’t contain PK component of parent entity

strong (identifying).One entity is existence-dependent on another. PK of related entity contains PK component of parent entity

19
Q

What is optional relationship participation?

A

Entity occurrence does not require a corresponding occurrence in related entity

Shown by drawing a small circle on side of optional entity on ERD

20
Q

What is mandatory relationship participation?

A

Entity occurrence requires corresponding occurrence in related entity

If no optionality symbol is shown on ERD, it is mandatory

21
Q

What is a weak entity?

A

A weak entity is one that is existence-dependent on another entity .

has a primary key that is partially or totally derived from the parent entity.

22
Q

What is relationship degree in the E-R Model? nb draw them

A

indicates the number of associated entities e.g

unary (single entity associated),

binary (two entities),

ternary (three entities).

23
Q

What are composite entities in the E-R Model?

A

are used to bridge M:N relationships

and are composed of primary keys of each entity needing connection.

24
Q

What is an entity supertype and subtype? nb draw them

A

its a generalization hierarchy whereby :

An entity supertype is a higher-level entity that has shared attributes,

while subtypes are lower-level entities with unique attributes.

Relationships can be disjoint (non-overlapping ‘G’) or overlapping ‘Gs’ , indicated by specific symbols in ERDs.

25
Q

What are the Chen and Crow’s Foot notations?

A

Chen notation was instrumental in moving conceptual design into practical database design,

while Crow’s Foot notation cannot detail all cardinalities but is widely used for simplicity in ERDs.

26
Q

what is Rein85 and IDEF1X

A

Rein85 is similar to crows foot and operates at higher level of abstraction.

while

IDEF1X uses fewer symbols and is a derivative of ICAM