Flashcards
What is an Entity Relationship Model (ERM)?
A data model that describes relationships among entities at the conceptual level.
What is an Entity Relationship Diagram (ERD)?
A diagram that depicts an ERM’s entities, attributes, and relations.
What are the five major parts of a database management system (DBMS)?
Hardware, software, people, procedures, and data.
What is a hierarchal model?
An early database model whose basic concepts and characteristics formed the basis for subsequent database development. This model is based on an upside-down tree structure in which each record is called a segment and has a 1:M relationship to the segment directly below it.
What is a network model?
An early data model that represented data as a collection of record types in 1:M relationships.
What is a relational model?
It represents data as independent relations. Each relation (table) is conceptually represented as a two-dimensional structure of intersecting rows and columns. The relations are related to each other through the sharing of common entity characteristics (values in columns).
What is an object-oriented model?
A data model whose basic modeling structure is an object.
What is an extended relational data model?
A model that includes the object-oriented model’s best features in an inherently simpler relational database structural environment.
What types of relationships does an ERM/ERD show?
One to one (1:1), one to many (1:M), and many to many (M:N)
What is determination?
The state in which knowing the value of one attribute makes it possible to determine the value of another.
What is a functional dependency?
The value of one or more attributes determines the value of one or more other attributes.
What is a determinant?
In a functional dependency, it’s the attribute or group of attributes whose value determines another.
What is a dependent?
In a functional dependency, it’s the attribute whose value is determined by the other attribute(s).
What is a full functional dependency?
A functional dependency in which the entire collection of attributes in the determinant is necessary for the relationship.
What is an existence-dependency?
A property of an entity whose existence depends on one or more other entities.
What is a primary key?
An attribute or combination of attributes that uniquely identifies each row in a table.
What is a composite key?
A key that is composed of more than one attribute.
What is a superkey?
A key that can uniquely identify any row in the table. It functionally determines every attribute in the row.
What is a candidate key?
A superkey without any unnecessary attributes. It’s based on a full functional dependency.
What is a foreign key?
The primary key of one table that has been placed into another table to create a common attribute.
What is a secondary key?
A key that is used strictly for data retrieval purposes and does not require a functional dependency.
What is a surrogate key?
A system defined attribute created and managed via the DBMS. It’s used when the primary key is considered unsuitable.