Databases Flashcards
Study for CP2404 final exam
attribute
A characteristic of an entity or object. An attribute has a name and data type.
binary relationship
An ER term for an association (relationship) between two entities. For example PROFESSOR teaches COURSE.
business rule
A description of a policy, procedure or principle within an organisation. For example, a pilot cannot be on duty for more than 10 hours during a 24-hour period, or a professor may teach up to four classes during a semester.
candidate key
A minimal superkey; that is, a key that does not contain a subset of attributes that is itself a superkey.
cardinality
A property that assigns a specific value to connectivity and expresses the range of allowed entity occurrences associated with a single occurrence of the related entity.
class diagram notation
The set of symbols used in the creation of class diagrams.
closure
A property of relational operators that permits the use of relational algebra operators on existing tables (relations) to produce new relations.
completeness constraint
A constraint that specifies whether each entity supertype occurrence must also be a member of at least one subtype. The completeness constraint can be partial or total. Partial completeness means that some supertype occurrences might not be members of nay subtype. Total completeness means that every supertype occurrence must be a member of at least one subtype.
composite attribute
An attribute that can be further subdivided to yield additional attributes. For example, a phone number such a 6158982368 may be divided into an area code (615), an exchange number (898), and a four digit code (2368). Compare to simple attribute
composite entity
An entity designed to transform an M:N relationship to two 1:M relationships. The composite entity’s primary key comprises at least the primary keys of the entities that it connects. Also known as bridge entity. See also linking table.
composite identifier
In ER modeling, a key composed of more than one attribute.
composite key
A multiple attribute key.
conceptual model
The output of the conceptual design process. The conceptual model provides a global view of an entire database and describes the main data objects, avoiding details
conceptual schema
A representation of the conceptual model, usually expressed graphically.
connectivity
The classification of the relationship between entities. Classifications include 1:1, 1:M, and M:N.
constraint
A restriction placed on data usually the form of rules. For example, “A student’s GPA must be between 0.00 and 4.00.” Constraints are important because they help to ensure data integrity.
crow’s foot notation
A representation of the entity relationship diagram that uses a three-pronged symbol to represent te “many” sides of the relationship.
data dictionary
A DBMS component that stores metadata–data about data. Thus, the data dictionary contains the data definition as well as their characteristics and relationships. A data dictionary may also include data that are external to the DBMS. Also know as an information resource dictionary.
data redundancy
A condition in which the data environment contains redundant (unnecessarily duplicated) data.
database system
An organisation of components that defines and regulates the collection, storage, management, and use of data in a database environment.
dependent
An attribute whose value is determined by another attribute.
derived attribute
An attribute that does not physically exist within the entity and is derived via an algorithm. For example, the Age attribute might be derived by subtracting the birth date from the current date.
design trap
A problem that occurs when a relationship is improperly or incompletely identified and is therefore represented in a way that is not consistent with the real world. The fan trap is the most common design trap.
determinant
Any attribute in a specific row whose value directly determines other values in that row.