Database midterm study guide

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 56

flashcard set

Earn XP

Description and Tags

Definitions for Database midterm exam

57 Terms

1
attribute
A characteristic of an entity or object. An attribute has a name and a data type.
New cards
2
business rule
Narrative descriptions of a policy, procedure, or principle within an organization. Examples: A pilot cannot be on duty for more than 10 hours during a 24-hour period. A professor may teach up to four classes during any one semester.
New cards
3
class
A collection of like objects with shared structure (attributes) and behavior (methods). A class encapsulates an object's data representation and a method's implementation. Classes are organized in a class hierarchy.
New cards
4
class hierarchy
The organization of classes in a hierarchical tree where each "parent" class is a superclass and each "child" class is a subclass.
New cards
5
conceptual model
The output of the conceptual design process. The conceptual model provides a global view of an entire database. Describes the main data objects, avoiding details.
New cards
6
conceptual schema
A representation of the conceptual model, usually expressed graphically.
New cards
7
connectivity
Describes the classification of the relationship between entities. Classifications include 1:1, 1:M, and M:N.
New cards
8
constraint
A restriction placed on data. Constraints are normally expressed in the form of rules. Example: "A student's GPA must be between 0.00 and 4.00." Constraints are important because they help to ensure data integrity.
New cards
9
data definition language (DDL)
The language that allows a database administrator to define the database structure, schema, and subschema.
New cards
10
data manipulation language (DML)
The language (set of commands) that allows an end user to manipulate the data in the database (SELECT, INSERT, UPDATE, DELETE, COMMIT, and ROLLBACK).
New cards
11
data model
A representation, usually graphic, of a complex "real-world" data structure. Data models are used in the database design phase of the database life cycle.
New cards
12
entity
Something about which someone wants to store data; typically a person, a place, a thing, a concept, or an event.
New cards
13
entity instance
A term used in ER modeling to refer to a specific table row. Also known as an entity occurrence.
New cards
14
entity relationship diagram (ERD)
A diagram that depicts an entity relationship model's entities, attributes, and relations.
New cards
15
entity set
In a relational model, refers to a grouping of related entities.
New cards
16
internal model
In database modeling, refers to a level of data abstraction that adapts the conceptual model to a specific DBMS model for implementation.
New cards
17
internal schema
Depicts a specific representation of an internal model, using the database constructs supported by the chosen database.
New cards
18
logical design
A stage in the design phase that matches the conceptual design to the requirements of the selected DBMS and is, therefore, software-dependent.
New cards
19
logical independence
A condition that exists when the conceptual model can be changed without affecting the external model.
New cards
20
many-to-many (M:N or *..*) relationship
One of three types of relationships (associations among two or more entities) in which one occurrence of an entity is associated with many occurrences of a related entity and one occurrence of the related entity is associated with many occurrences of the first entity.
New cards
21
one-to-many (1:M or 1..*) relationship
One of three types of relationships (associations among two or more entities) that are used by data models. In a 1:M relationship, one entity instance is associated with many instances of the related entity.
New cards
22
one-to-one (1:1 or 1..1) relationship
One of three types of relationships (associations among two or more entities) that are used by data models. In a 1:1 relationship, one entity instance is associated with only one instance of the related entity.
New cards
23
physical independence
A condition that exists when the physical/internal model can be changed without affecting the conceptual model.
New cards
24
physical model
A model in which the physical characteristics (location, path, and format) are described for the data. Both hardware- and software-dependent.
New cards
25
relation
In a relational database model, an entity set. Relations are implemented as tables. Relations (tables) are related to each other through the sharing of a common entity characteristic (value in a column).
New cards
26
relational database management system (RDBMS)
A collection of programs that manages a relational database. The RDBMS software translates a user's logical requests (queries) into commands that physically locate and retrieve the requested data.
New cards
27
relational diagram
A graphical representation of a relational database's entities, the attributes within those entities, and the relationships among those entities.
New cards
28
relational model
Developed by E. F. Codd (of IBM) in 1970, it represents a major breakthrough for users and designers because of its conceptual simplicity. The relational model, based on mathematical set theory, represents data as independent relations.
New cards
29
relationship
An association between entities.
New cards
30
schema
A logical grouping of database objects (tables, indexes, views, queries, etc.) that are related to each other. Usually, a schema belongs to a single user or application.
New cards
31
table
A (conceptual) matrix composed of intersecting rows (entities) and columns (attributes) that represents an entity set in the relational model. Also called a relation.
New cards
32
domain
In data modeling, refers to the construct used to organize and describe an attribute's set of possible values.
New cards
33
entity integrity
The property of a relational table that guarantees that each entity has a unique value in a primary key and that there are no null values in the primary key.
New cards
34
key, superkey, primary key, foreign key
An entity identifier based on the concept of functional dependence; may be classified as follows: Superkey: An attribute (or combination of attributes) that uniquely identifies each entity in a table. Candidate key: A minimal attribute that is itself a superkey. Primary key (PK): A candidate key selected as a unique entity identifier.
New cards
35
Foreign key
An attribute (or combination of attributes) in one table whose values must match the primary key in another table or whose values must be null.
New cards
36
key attribute
The attribute(s) that form(s) a primary key.
New cards
37
null
In SQL, refers to the absence of an attribute value. Note: A null is not a blank.
New cards
38
primary key (PK)
In the relational model, an identifier composed of one or more attributes that uniquely identifies a row.
New cards
39
referential integrity
A condition by which a dependent table's foreign key must have either a null entry or a matching entry in the related table.
New cards
40
relational schema
The description of the organization of a relational database as seen by the database administrator.
New cards
41
binary relationship
An ER term used to describe an association (relationship) between two entities. Example: PROFESSOR teaches COURSE.
New cards
42
cardinality
Assigns a specific value to connectivity. Expresses the range (minimum to maximum) of allowed entity occurrences associated with a single occurrence of the related entity.
New cards
43
composite attribute
An attribute that can be further subdivided to yield additional attributes. For example, a phone number () may be divided into an area code (615), an exchange number (898), and a four-digit code (2368).
New cards
44
derived attribute
An attribute that does not physically exist within the entity and is derived via an algorithm. Example: Age = current date - birth date.
New cards
45
mandatory participation
A term used to describe a relationship in which one entity occurrence must have a corresponding occurrence in another entity. Example: EMPLOYEE works in DIVISION.
New cards
46
multivalued attribute
An attribute that can have many values for a single entity occurrence. For example, an EMP_DEGREE attribute might store the string 'BBA, MBA, PHD' to indicate three different degrees held.
New cards
47
optional participation
In ER modeling, refers to a condition where one entity occurrence does not require a corresponding entity occurrence in a particular relationship.
New cards
48
participants
An ER term used to label the entities that participate in a relationship. Example: PROFESSOR teaches CLASS.
New cards
49
recursive relationship
A relationship that is found within a single entity type. For example, an EMPLOYEE is married to an EMPLOYEE.
New cards
50
relationship degree
Indicates the number of entities or participants associated with a relationship. A relationship degree can be unary, binary, ternary, or higher level.
New cards
51
required attribute
In ER modeling, refers to an attribute that must have a value. In other words, it cannot be left empty.
New cards
52
simple attribute
An attribute that cannot be subdivided into meaningful components.
New cards
53
single-valued attribute
An attribute that can have only one value.
New cards
54
strong relationship
When two entities are existence-dependent; from a database design perspective, this exists whenever the primary key of the related entity contains the primary key of the parent entity.
New cards
55
ternary relationship
An ER term used to describe an association (relationship) between three entities. Example: A CONTRIBUTOR contributes money to a FUND from which a RECIPIENT receives money.
New cards
56
unary relationship
An ER term used to describe an association within an entity. Example: A COURSE is a prerequisite to another COURSE.
New cards
57
weak entity
An entity that displays existence dependence and inherits the primary key of its parent entity. Example: A DEPENDENT requires the existence of an EMPLOYEE.
New cards
robot