Database Concepts Introduction
- 39Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
Why is storing data in a list considered problematic?
39 questions
- 1
Why is storing data in a list considered problematic?
Model answer
It causes data redundancy and mixes multiple business themes or concepts in a single table, leading to data anomalies.
Explanation
Lists store redundant data and combine unrelated attributes, making updates, deletions, and insertions prone to errors and data loss.
- 2
What is data redundancy?
Model answer
Data redundancy is the unnecessary duplication of data in a database, wasting storage space and potentially causing inconsistencies.
Explanation
When the same data appears multiple times across rows, it increases storage needs and risks update anomalies.
- 3
Name the three types of data anomalies that can occur when data is stored in a list.
Model answer
The three types are update anomalies, deletion anomalies, and insertion anomalies.
Explanation
These anomalies arise from redundancy and multiple themes in a list, causing problems during data modifications.
- 4
Explain an update anomaly with an example from the lecture.
Model answer
An update anomaly occurs when changing one piece of information (e.g., a student's advisor) requires updating multiple attributes (e.g., advisor name and email) across several rows. For example, changing an advisor to Valdez requires updating four columns: advisor last name, email, department, and admin last name.
Explanation
Because the same advisor's information appears in multiple rows, a single change must be propagated to all rows, risking inconsistency if any is missed.
- 5
Describe a deletion anomaly as illustrated in the lecture.
Model answer
When deleting a student record, information about the advisor and department may also be lost if that advisor only appears in that row. For example, deleting student Chip Marino removed the only record of Advisor Tran.
Explanation
Since the list stores multiple themes together, removing a row can unintentionally delete essential data about other entities.
- 6
What is an insertion anomaly? Give an example.
Model answer
An insertion anomaly occurs when adding new data forces the creation of incomplete records. For instance, adding a new Biology department requires inserting a row with missing student and advisor fields.
Explanation
Because the table structure forces all columns to be filled, adding a new department with no associated students or advisors leaves many empty cells, wasting space and violating data completeness.
- 7
What are the three key purposes of a database?
Model answer
A database provides a repository for storing data, an organizational structure for that data, and a mechanism for interacting with the data.
Explanation
These purposes go beyond simple storage, enabling efficient organization and manipulation of data.
- 8
What does the acronym CRUD stand for?
Model answer
CRUD stands for Create, Read, Update, and Delete.
Explanation
These are the four basic operations for interacting with data in a database.
- 9
List the four basic operations for interacting with data.
Model answer
The four operations are: querying (reading), creating, modifying (updating), and deleting data.
Explanation
These correspond to CRUD: Create, Read, Update, Delete.
- 10
What is a business concept or theme in the context of databases?
Model answer
A business concept is a collection of attributes naturally related to one type of business entity, such as employee, department, product, customer, or location.
Explanation
Separating data by business concept avoids mixing unrelated attributes and helps prevent anomalies.
- 11
Provide three examples of business concepts.
Model answer
Examples include employees, departments, and customers.
Explanation
Other examples are products, orders, and locations.
- 12
How does a relational database store data?
Model answer
It stores data in tables, which are two-dimensional grids with columns representing attributes and rows representing individual instances of an entity.
Explanation
For example, an employee table has columns like ID, name, phone; each row is a specific employee.
- 13
What do columns represent in a relational database table?
Model answer
Columns represent attributes or properties of an entity.
Explanation
Attributes are characteristics like employee ID or name.
- 14
What does a row in a relational database table represent?
Model answer
A row represents an instance of an entity, such as a specific employee.
Explanation
Each row contains the attribute values for one occurrence of the entity.
- 15
How are relationships between tables established in a relational database?
Model answer
Relationships are established using matched pairs of values, typically by placing a foreign key in one table that references the primary key in another table.
Explanation
For example, a customer ID in a project table can link to the customer ID in a customer table.
- 16
What is a join operation in a relational database?
Model answer
A join operation combines related rows from two or more tables based on matching values, reassembling the data into a single list.
Explanation
Joins are used to retrieve data that has been normalized across multiple tables.
- 17
List two advantages of using a relational database over a list.
Model answer
Relational databases minimize data redundancy and allow modeling of natural relationships among business concepts.
Explanation
Additional advantages include providing a foundation for reports and user interface forms.
- 18
What is the primary tool for performing CRUD operations in relational databases?
Model answer
The Structured Query Language (SQL) is the primary tool.
Explanation
SQL allows users to create, read, update, and delete data.
- 19
In the SQL SELECT example, what does the ON clause do?
Model answer
The ON clause links tables using matched pairs of values, such as customer numbers or course numbers.
Explanation
It specifies the condition for joining rows from different tables.
- 20
How does storing data in separate tables solve the multiple themes problem?
Model answer
Each table represents a single business theme, so attributes of different concepts (e.g., employees and departments) are stored separately, avoiding mixing unrelated data.
Explanation
This separation eliminates redundancy and the anomalies associated with lists.
- 21
What are the four components of a database system?
Model answer
The components are users, database applications, a database management system (DBMS), and the database itself.
Explanation
All four work together: users interact with applications, which communicate through the DBMS to the database.
- 22
Can a user of a database system be a non-human entity?
Model answer
Yes, users can be other software programs that need to access the database.
Explanation
For example, a web application can be a user of a database system.
- 23
How do database applications interact with the database?
Model answer
Database applications interact with the database through the DBMS, not directly.
Explanation
The DBMS acts as a gatekeeper, controlling all access to maintain data quality and security.
- 24
Why must database applications go through the DBMS to access data?
Model answer
The DBMS maintains data quality and security by controlling all data operations, preventing unauthorized or corrupting access.
Explanation
Direct access could compromise data integrity.
- 25
What is a DBMS?
Model answer
A DBMS (database management system) is a software program that creates, processes, and administers databases, acting as an intermediary between the database and applications.
Explanation
It is not the database itself but a tool to manage it.
- 26
List three functions of a DBMS.
Model answer
A DBMS can create databases and tables, read/write/edit/delete data, and enforce constraints like referential integrity.
Explanation
Other functions include security, backup/recovery, and administering users.
- 27
What is metadata in the context of a database?
Model answer
Metadata is data that describes other data, such as the structure of the database (e.g., that an employee ID is an integer).
Explanation
Databases are self-describing because they contain metadata about their own structure.
- 28
What is referential integrity?
Model answer
Referential integrity ensures that a value in one table (e.g., a customer ID in a project table) has a matching value in the referenced table (e.g., customer table).
Explanation
It prevents orphan records and maintains data consistency across related tables.
- 29
Give an example of referential integrity enforcement.
Model answer
When adding a project with customer ID 5, the DBMS checks that customer 5 exists in the customer table; if not, the insertion is rejected.
Explanation
This ensures every foreign key value has a corresponding primary key.
- 30
What is data integrity?
Model answer
Data integrity refers to the overall quality, consistency, and accuracy of data in a database.
Explanation
Referential integrity is one mechanism to maintain data integrity.
- 31
What is a personal database system?
Model answer
A personal database system is a small, simple database typically used by a single user, such as Microsoft Access.
Explanation
It may combine DBMS and application features but is not suitable for medium or large businesses.
- 32
What is an enterprise-level database system?
Model answer
An enterprise-level database system supports many concurrent users (thousands to tens of thousands), serves multiple applications, and can be distributed across multiple physical devices and geographic locations.
Explanation
Examples include SQL Server, Oracle, MySQL, and DB2.
- 33
How many concurrent users can an enterprise-level database system typically support?
Model answer
It can support thousands to tens of thousands of users concurrently.
Explanation
Enterprise systems are designed for high concurrency.
- 34
Can an enterprise-level database be spread across multiple computers?
Model answer
Yes, enterprise-level databases are commonly distributed across multiple physical computing devices.
Explanation
This allows for scalability and performance.
- 35
Can enterprise-level databases be geographically distributed?
Model answer
Yes, parts of a database may reside in different physical locations, such as corporate offices in different cities or countries.
Explanation
Geographic distribution supports global operations and disaster recovery.
- 36
Does an enterprise-level DBMS support more than one database?
Model answer
Yes, it can manage multiple databases, such as an operational database and a data warehouse, within the same DBMS.
Explanation
This allows centralized management of different data stores.
- 37
Name three examples of enterprise-level DBMS products.
Model answer
Examples include SQL Server, Oracle, and MySQL.
Explanation
Other examples include DB2 and SAP HANA.
- 38
What is MySQL?
Model answer
MySQL is a free and open-source enterprise-level database management system.
Explanation
It is widely used for web applications and is an example of an enterprise-level database.
- 39
Give an example of an ERP system that uses an enterprise-level database.
Model answer
SAP is an ERP system that typically has thousands of related tables.
Explanation
ERP systems like SAP rely on robust databases to manage complex business processes.

Ask anything
We've read this whole study set, so questions about it get the best answers.