Databases Midterm – Flashcards
Unlock all answers in this set
Unlock answersquestion
What is good decision making?
answer
Accurate, relevant, timely information.
question
Metadata
answer
data about data; A description of data characteristics and the set of relationships that links the data in a database
question
Database structure in a DBMS does what?
answer
stores a collection of files
question
When different versions of the same data appears in different places?
answer
data inconsistency
question
What is a response from a DBMS to a query?
answer
query result set, "SELECT * FROM CUSTOMER"
question
Operational/Transactional database
answer
Support the day to day operations of a business
question
Data Warehouse
answer
focuses primarily on storing data used to generate information required to make tactical or strategic decisions
question
Multiple users over multiple sites or departments
answer
Enterprise database
question
50 or fewer users
answer
Workgroup database
question
desktop database
answer
Single-user database
question
Distributive
answer
used from different sites, data that's distributed from various sites
question
entity
answer
anything about which data can be collected or stored; A table
question
attribute
answer
characteristic of an entity
question
record
answer
Tuple, row A logically connected set of one or more fields that describes a person, place, or thing.
question
Constraint
answer
places a restriction on a data. Ensures data integrity
question
business rules
answer
serves as a communication tool between users and designers
question
A noun is becomes a ...... and a verb becomes a .....
answer
entity attribute
question
When developing a data, allows you to do what?
answer
see the data logically rather than physically
question
Who is the Father of relationship data design or model in 1970 that wrote treaties.
answer
EF Cod
question
What does relation refer to?
answer
Relation refers to tables, synonymous for table
question
What type of logical data has only 0 or 1, true or false?
answer
Boolean
question
Why are keys or identifiers important?
answer
Key/Identifier uniquely identifies each record/rows. Has to do with the rules of dependency
question
What is the converse of A determines B?
answer
conversely B is functionally dependent on A
question
What are the rules of database design?
answer
*Entity Integrity says that all tables must have a PK and the PK cannot be null. *Referential integrity says that FK must match PK or maybe null depending on business rules.
question
What is a Super Key?
answer
Any key that uniquely identifies a row or record
question
What is null?
answer
Null is unknown or no data?
question
What is secondary key is used for and what is an example?
answer
For retrieval purposes, doesn't indicate uniqueness. Ex. Last name, SSN
question
What is a Candidate key?
answer
A minimal super key no redundant/unnecessary attributes
question
What is an ERD?
answer
Entity relationship design. - conceptual design or database seen by the end user
question
How to fix a Multivalued attribute?
answer
Create a new table, is a one to many relationship.
question
What is a domain?
answer
A set of permissible values.
question
Only a ___________ should make up a should make up a key/indenititfer
answer
single attribute
question
Composite Key
answer
When identifier makes up more than one attribute
question
Simple attribute
answer
Simple attribute cannot be divided any further.
question
Single Valued attribute
answer
an attribute that can have only a single value, *Vin number on car
question
Multivalued attribute
answer
attributes that can have many values house might have more than one phone number
question
Derived attribute
answer
derived from an attribute Doesn't have to be stored Ex, DOB
question
Chen model designs
answer
Using a dashed line, derived attribute in the Chen model n a crows foot, no was to indicate derived attribute
question
What is an association between entities?
answer
relationship
question
Strong entity
answer
*Can exist on it's own and *PK is made up partly or fully derived from parent entity
question
Existent Dependent entity
answer
*Weak relationship* *cannot exist on its own can exist in the database only when it is associated with another related entity occurrence
question
Weak Entity vs Existent dependent
answer
is existent-dependent entity PK is not made up partly or fully derived from parent entity party or fully derived from parent entity
question
A(n) ____ database supports a relatively small number of users (usually fewer than 50) or a specific department within an organization.
answer
workgroup
question
The response of the DBMS to a query is the ____.
answer
query result selt
question
A desktop database is a ____ database.
answer
single user
question
A ____ database supports data distributed across several different sites.
answer
distributed
question
A(n) ____ database is used by an organization and supports many users across many departments.
answer
enterprise
question
Business rules are derived from ____.
answer
a detailed description of an organization's operations
question
A(n) ____ is a restriction placed on the data.
answer
constraint
question
____ are important because they help to ensure data integrity.
answer
Constraints
question
A(n) ____ is the equivalent of a field in a file system.
answer
attribute
question
A(n) ____ is anything about which data are to be collected and stored.
answer
entity
question
The relational database model enables you to view data ____ rather than ____
answer
logically, physically
question
The relational model's creator, E. F. Codd, used the term relation as a synonym for ____.
answer
table
question
____ data can have only a true or false (yes or no) values.
answer
Boolean
question
In the relational model, ____ are important because they are used to ensure that each row in a table is uniquely identifiable
answer
Primary Key
question
In the context of a database table, the statement "A ____ B" indicates that if you know the value of attribute A, you can look up the value of attribute B.
answer
determines
question
In an outer join, the matched pairs would be retained and any unmatched values in the other table would be left ____.
answer
null
question
A ____ contains at least all of the attribute names and characteristics for each table in the system.
answer
data dictionary
question
The equijoin takes its name from the comparison operator ____ used in the condition.
answer
=
question
A(n) ____ is an ordered arrangement of keys and pointers.
answer
index
question
Since it is used to link the tables that originally were related in a M:N relationship, the composite entity structure includes—as foreign keys—at least the ____ keys of the parent tables that are to be linked.
answer
primary
question
A derived attribute ____.
answer
need not be physically stored within the database
question
A relationship is an association between ____.
answer
entities
question
A ____ could be a derived attribute.
answer
person's age
question
A(n) ____ might be represented with a single-valued attribute.
answer
SSN
question
A ____ attribute can have only one value.
answer
single valued
question
The Crow's foot symbol with two parallel lines indicates ____ cardinality
answer
(1,1)
question
The associative entity is also known as a ____ entity.
answer
composite
question
A(n) ____ entity is composed of the primary keys of each of the parent entities to be connected.
answer
associative
question
The existence of a(n) ____ relationship indicates that the minimum cardinality is at least 1 for the mandatory entity.
answer
mandatory
question
____ relationships are most common.
answer
Binary
question
Raw facts from which the required information is derived.
answer
data
question
A character or a group of characters (numeric or alphanumeric) that describes a specific characteristic.
answer
field
question
A logically connected set of one or more fields that describes a person, place, event, or thing
answer
record
question
A collection of related records that contain information of interest to the end user
answer
file
question
What is data redundancy, and which characteristics of the file system can lead to it
answer
Data redundancy exists when unnecessarily duplicated data are found in the database. For example, a customer's telephone number may be found in the customer file, in the sales agent file, and in the invoice file.
question
What is data independence?
answer
data storage characteristics do not affect data access
question
What is a DBMS, and what are its functions
answer
The DBMS stores the definitions of data and their relationships (metadata) in a data dictionary; any changes made are automatically recorded in the data dictionary. The DBMS creates the complex structures required for data storage. The DBMS transforms entered data to conform to the data structures in item
question
What is structual independence?
answer
changing file structure without affecting data access
question
Explain the difference between data and information.
answer
data are raw facts Information is processed data to reveal the meaning behind the facts.
question
what is the role of a DBMS, and what are its advantages? What are its disadvantages
answer
A database management system (DBMS) is a collection of programs that manages the database structure and controls access to the data stored in the database. Advantage: improved decision making Advantage: improved data access