CH 5 - ER Modelling Flashcards
rember to dtraw er diagrams with chen and crows foot
What is the definition of a model according to Webster’s Dictionary?
A model is a “description or analogy used to visualize something that cannot be directly observed.”
What is a data model?
A data model is a relatively simple representation of complex real-world data structures.
what are the degrees of abstraction
-conceptual
-internal
-external
-physical
What does the conceptual model in data modeling represent?
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.
What is the internal model in data modeling?
The internal model represents the database as seen by the DBMS, adapts the conceptual model to a specific DBMS, and is software dependent.
What is the external model in data modeling?
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.
What does the physical model in data modeling represent?
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.
What does the Entity-Relationship (E-R) Model represent?
-conceptual view of the database
-showing the main components like entities and attributes and relationships
In the E-R Model, what is an entity?
An entity corresponds to an entire table (not a row) and is represented by a rectangle in an ERD.
What are attributes in the E-R Model?
Attributes are characteristics of entities and relationship
Their domain is the set of possible values they can have.
Primary keys are underlined.
er attributes
simple
composite
single valued
multi valued
derived
What is a simple attribute?
an attribute that cannot be subdivided, such as age, sex, or marital status.
What is a composite attribute?
A composite attribute can be subdivided into additional attributes, like an address can be divided into street, city, and zip code.
What is a single-valued attribute?
it can have only one value, such as a person having one social security number.
What is a multi-valued attribute?
A multi-valued attribute can have many values, such as a person having several college degrees.