ht ht ht ht ht
EXAM -with 100% verified solutions-2026-2027 CORRECT AND
ht ht ht ht ht ht
VERIFIED ANSWERS)|ALREADY GRADED A+
ht ht ht ht
VERSION A ht
What does modality refer to? How does it appear on ER diagram? - ANSWER-
ht ht ht ht ht ht ht ht ht ht ht ht ht
Refers to the MINIMUM number of times an instance in one entity can be
ht ht ht ht ht ht ht ht ht ht ht ht ht ht
associated with instance of another entity (minima)
ht ht ht ht ht ht ht
Appears as a 0 or 1 on the relationship line, next to cardinality
ht ht ht ht ht ht ht ht ht ht ht ht
Define: Referential Integrity - ANSWER- Requires that ALL foreign key values
ht ht ht ht ht ht ht ht ht ht
must either be fully NULL or match some primary key value
ht ht ht ht ht ht ht ht ht ht ht
4 Ways Referential Integrity can be violated: - ANSWER- 1. Primary key is
ht ht ht ht ht ht ht ht ht ht ht ht
updated
ht
2. Foreign key is updated ht ht ht
3. Row containing primary key is DELETED
ht ht ht ht ht
4. Row containing foreign key is INSERTED
ht ht ht ht ht
4 Actions to Correct Referential Integrity Violation: - ANSWER- 1. RESTRICT -
ht ht ht ht ht ht ht ht ht ht ht
rejects an insert, update, or delete
ht ht ht ht ht ht
2. SET NULL - sets invalid foreign keys to null
ht ht ht ht ht ht ht ht
3. SET DEFAULT - sets invalid foreign keys to a default primary value
ht ht ht ht ht ht ht ht ht ht ht
4. CASCADE - propagates primary key changes to foreign keys ht ht ht ht ht ht ht ht
What is an important aspect to referential integrity? - ANSWER- reference to data
ht ht ht ht ht ht ht ht ht ht ht ht
in one relation is based on values in another relation
ht ht ht ht ht ht ht ht ht ht
,What is a broad definition of data? - ANSWER- Raw facts captured on printed or
ht ht ht ht ht ht ht ht ht ht ht ht ht ht
digital media
ht ht
What are data? - ANSWER- Facts that are collected and stored in a database system
ht ht ht ht ht ht ht ht ht ht ht ht ht ht
What is a determining characteristic of unstructured data? - ANSWER- It does not
ht ht ht ht ht ht ht ht ht ht ht ht
follow a data ht ht
model
ht
What is true about flat files? - ANSWER- - They contain no internal hierarchical
ht ht ht ht ht ht ht ht ht ht ht ht ht
organization
ht
How were data retrieved before database management systems? - ANSWER-
ht ht ht ht ht ht ht ht ht
Sequentially from simple files
ht ht ht ht
What is an attribute or group of attributes that uniquely identify a tuple in a
ht ht ht ht ht ht ht ht ht ht ht ht ht ht
relation? - ANSWER- Primary Key
ht ht ht ht ht
What is necessary for a primary key in one relation of a database to match with its
ht ht ht ht ht ht ht ht ht ht ht ht ht ht ht ht
corresponding foreign key in another relation of the same database? - ANSWER-
ht ht ht ht ht ht ht ht ht ht ht ht
A domain of values
ht ht ht ht
What uniquely identifies each entity in a collection of entities but is not the primary
ht ht ht ht ht ht ht ht ht ht ht ht ht ht
key? - ANSWER- Alternate Key
ht ht ht ht ht
What is the term for a set of columns in a table that can uniquely identify any
ht ht ht ht ht ht ht ht ht ht ht ht ht ht ht ht
record in that table without referring to other data? - ANSWER- Candidate Key
ht ht ht ht ht ht ht ht ht ht ht ht ht
What happens to the original data in database indexing? - ANSWER- It is copied to
ht ht ht ht ht ht ht ht ht ht ht ht ht ht
the index
ht ht
Why are indexes created in a physical database design? - ANSWER- To retrieve
ht ht ht ht ht ht ht ht ht ht ht ht
data DIRECTLY using a pointer
ht ht ht ht ht
Why is an index created on a database column? - ANSWER- To optimize data
ht ht ht ht ht ht ht ht ht ht ht ht ht
retrievals
ht
Define: Functional Dependency - ANSWER- Each value of a column relates to at
ht ht ht ht ht ht ht ht ht ht ht ht
MOST one value of another column
ht ht ht ht ht ht
Dependence of one column on another ht ht ht ht ht
,What term is used to describe: a value of one particular attribute associated with a
ht ht ht ht ht ht ht ht ht ht ht ht ht ht
specific single value of another attribute? - ANSWER- Functional Dependency
ht ht ht ht ht ht ht ht ht ht
Rules/Appearance of First Normal Form - ANSWER- - All non-key columns ht ht ht ht ht ht ht ht ht ht
depend on primary key
ht ht ht ht
- Each table cell contains one value
ht ht ht ht ht
- A table with no duplicate rows
ht ht ht ht ht
Rules/Appearance of Second Normal Form - ANSWER- - When all non-key ht ht ht ht ht ht ht ht ht ht
columns depend on the WHOLE primary key
ht ht ht ht ht ht ht
- Must be in 1NF
ht ht ht
- Non-key column can not depend on just one part of a composite key - a single
ht ht ht ht ht ht ht ht ht ht ht ht ht ht ht
primary key is automatically in 2NF
ht ht ht ht ht ht
Rules/Appearance of Third Normal Form - ANSWER- - All non-key columns ht ht ht ht ht ht ht ht ht ht
depend ONLY on the primary key
ht ht ht ht ht ht
- Tables are totally free of data redundancy
ht ht ht ht ht ht
What are the 4 ways that operational and analytical databases differ? - ANSWER-
ht ht ht ht ht ht ht ht ht ht ht ht
- Volatility
- Detail
- Scope
- History
Define: Volatility; How it applies to Operational? Analytical? - ANSWER- -
ht ht ht ht ht ht ht ht ht ht
Database updates in real time
ht ht ht ht ht
- Operational Data is Volatile ht ht ht
- Analytical Data is NOT Volatile ht ht ht ht
Define: Detail; How it applies to operational and analytical DB? - ANSWER- - A
ht ht ht ht ht ht ht ht ht ht ht ht ht
database that keeps record of individual transactions; line items
ht ht ht ht ht ht ht ht ht
- Operational: Detailed ht
- Analytical: Detailed ht
Define: Scope; How it applies to operational and analytical DB? - ANSWER- -
ht ht ht ht ht ht ht ht ht ht ht ht
How far a database can reach
ht ht ht ht ht ht
- Operational: incompatible ht
- Analytical: Enterprise-Wide/Summary ht
,