Database Concepts Introduction
- 28Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is a primary problem with storing data in a simple two-dimensional list?
What is a primary problem with storing data in a simple two-dimensional list?
28 questions
- 1
What is a primary problem with storing data in a simple two-dimensional list?
- A
It cannot store numeric data.
- B
It requires a database management system to create.
- C
It prevents users from querying the data.
- D
It introduces data redundancy and multiple themes.
Correct answer
DIt introduces data redundancy and multiple themes.
Explanation
Storing data in a list leads to redundancy and mixing multiple business concepts (themes) in one table, which can cause data anomalies.
- A
- 2
Which of the following is NOT one of the three types of data anomalies associated with lists?
- A
Update anomaly
- B
Query anomaly
- C
Insertion anomaly
- D
Deletion anomaly
Correct answer
BQuery anomaly
Explanation
The three data anomalies are insertion, deletion, and update anomalies. Query anomaly is not a recognized type.
- A
- 3
In the context of list-based data storage, what is an update anomaly?
- A
The need to modify multiple rows to change a single fact.
- B
The inability to add new data without inserting a full row.
- C
The accidental loss of information when deleting a row.
- D
The presence of duplicate rows that cause conflicting values.
Correct answer
AThe need to modify multiple rows to change a single fact.
Explanation
An update anomaly occurs when changing a single piece of information (e.g., a project manager's email) requires updating multiple rows because of redundancy.
- A
- 4
What happens in a deletion anomaly when using a list?
- A
Deleting a row causes the loss of unrelated data.
- B
Only one column can be deleted at a time.
- C
Deleting a row leaves null values in other rows.
- D
The database automatically creates a backup.
Correct answer
ADeleting a row causes the loss of unrelated data.
Explanation
A deletion anomaly occurs when deleting a row also removes information about a different business entity (e.g., deleting a student row also loses advisor information).
- A
- 5
Why does storing data in a list cause an insertion anomaly?
- A
Inserting a row always requires a primary key.
- B
Data cannot be inserted into a list with duplicate values.
- C
New rows cannot be added if they contain null values.
- D
Adding a new entity (e.g., a department) requires also providing data for unrelated attributes, leading to empty cells.
Correct answer
DAdding a new entity (e.g., a department) requires also providing data for unrelated attributes, leading to empty cells.
Explanation
An insertion anomaly occurs when adding a new entity (like a department) forces you to include unrelated attributes (like student and advisor) that are missing, resulting in incomplete data.
- A
- 6
What does the acronym CRUD stand for in the context of database interaction?
- A
Create, Read, Update, Delete
- B
Compile, Run, Undo, Debug
- C
Copy, Retrieve, Upload, Drop
- D
Connect, Request, Update, Display
Correct answer
ACreate, Read, Update, Delete
Explanation
CRUD stands for Create, Read, Update, and Delete, which are the four basic operations for interacting with data.
- A
- 7
Which of the following is NOT a purpose of a database?
- A
Organizing data into a structured format
- B
Replacing the need for SQL
- C
Providing a repository for storing data
- D
Offering a mechanism for interacting with data
Correct answer
BReplacing the need for SQL
Explanation
A database provides a repository, organizational structure, and interaction mechanisms. SQL is a tool used with databases, not a purpose of a database itself.
- A
- 8
What are the four basic operations for interacting with data in a database?
- A
Create, Read, Update, Delete
- B
Input, Output, Modify, Erase
- C
Add, View, Change, Remove
- D
Insert, Select, Update, Delete
Correct answer
ACreate, Read, Update, Delete
Explanation
The four basic operations are Create, Read, Update, and Delete, collectively known as CRUD.
- A
- 9
In a relational database, what do columns represent?
- A
Metadata about the database
- B
Instances of an entity
- C
Relationships between tables
- D
Different attributes of an entity
Correct answer
DDifferent attributes of an entity
Explanation
In relational databases, columns represent different attributes (properties) of an entity, while rows represent instances of that entity.
- A
- 10
How are records in different tables linked in a relational database?
- A
Using embedded sub-tables within each row
- B
Using pointers that reference memory addresses
- C
Using matched pairs of values, such as a customer ID
- D
Using alphabetical sorting of row contents
Correct answer
CUsing matched pairs of values, such as a customer ID
Explanation
Records are linked by matched pairs of values (e.g., a customer ID attribute that appears in both tables) to associate rows across tables.
- A
- 11
What operation is used in a relational database to combine data from multiple tables back into a single list?
- A
Join
- B
Union
- C
Merge
- D
Concatenate
Correct answer
AJoin
Explanation
A join operation is used to reassemble data from separate tables into a combined result set by linking related rows.
- A
- 12
Which statement best describes the relational database approach to handling multiple business concepts?
- A
Multiple business concepts are merged into a single table using special delimiters.
- B
All business concepts are stored in one large table to simplify queries.
- C
Each business concept is stored in its own separate table, with relationships established between them.
- D
Business concepts are stored as separate files linked by file names.
Correct answer
CEach business concept is stored in its own separate table, with relationships established between them.
Explanation
In a relational database, each business concept (e.g., employee, department) is stored in its own table, and relationships between tables are created to model real-world associations.
- A
- 13
What does each row in a relational database table represent?
- A
A single attribute of an entity
- B
A database constraint
- C
A relationship between two entities
- D
An instance of an entity
Correct answer
DAn instance of an entity
Explanation
Each row in a table represents an instance of the entity (e.g., one specific employee), while columns represent attributes of that entity.
- A
- 14
Which of the following is a component of a database system?
- A
Web server
- B
Compiler
- C
Spreadsheet
- D
DBMS
Correct answer
DDBMS
Explanation
The four components of a database system are users, database applications, the DBMS, and the database itself.
- A
- 15
What role does the DBMS play in a database system?
- A
It serves as a gatekeeper between applications and the database.
- B
It replaces the need for application software.
- C
It generates user interfaces automatically.
- D
It directly stores all data in a single file.
Correct answer
AIt serves as a gatekeeper between applications and the database.
Explanation
The DBMS acts as an intermediary (gatekeeper) that controls access to the database, ensuring data integrity and security.
- A
- 16
In a database system, which component interacts directly with the DBMS?
- A
The operating system
- B
Database applications
- C
End users
- D
Database administrators only
Correct answer
BDatabase applications
Explanation
Database applications (such as websites or mobile apps) interact with the DBMS to access the database; end users interact with the applications, not directly with the DBMS.
- A
- 17
What is metadata in the context of a database?
- A
Duplicate data used for backup
- B
Data that describes other data, such as the structure of tables
- C
Temporary data used during queries
- D
The actual data stored in the tables
Correct answer
BData that describes other data, such as the structure of tables
Explanation
Metadata are data about the data, describing the structure (e.g., column names, data types) and other properties of the database.
- A
- 18
Which of the following is NOT a function of a database management system?
- A
Directly generating graphical user interfaces for end users
- B
Enforcing referential integrity constraints
- C
Providing backup and recovery mechanisms
- D
Creating and administering databases
Correct answer
ADirectly generating graphical user interfaces for end users
Explanation
While a DBMS can provide tools for building applications, it does not directly generate user interfaces; that is typically done by database applications.
- A
- 19
What is the purpose of a referential integrity constraint?
- A
To ensure that every table has a primary key
- B
To prevent users from deleting any data
- C
To ensure that values in one table have matching values in another table
- D
To automatically index all columns
Correct answer
CTo ensure that values in one table have matching values in another table
Explanation
Referential integrity ensures that foreign key values in one table match primary key values in another table, maintaining consistency across related tables.
- A
- 20
Which of the following is a type of constraint that a DBMS can enforce?
- A
Referential integrity constraint
- B
Selectivity constraint
- C
User interface constraint
- D
Query optimization constraint
Correct answer
AReferential integrity constraint
Explanation
A DBMS can enforce many constraints, including referential integrity, which ensures data consistency between related tables.
- A
- 21
What is an example of overhead data maintained by a DBMS?
- A
The actual business data in the tables
- B
The SQL queries executed by users
- C
User preferences stored in application tables
- D
Indexes used to improve query performance
Correct answer
DIndexes used to improve query performance
Explanation
Indexes are overhead data structures that the DBMS maintains to speed up data retrieval; they are not part of the business data.
- A
- 22
Which of the following is a characteristic of a personal database system?
- A
Supports multiple databases simultaneously
- B
Typically used by a single user at a time
- C
Designed to support thousands of simultaneous users
- D
Can be geographically distributed across multiple servers
Correct answer
BTypically used by a single user at a time
Explanation
Personal database systems (e.g., Microsoft Access) are small, simple, and intended for single-user use, unlike enterprise-level systems.
- A
- 23
Which of the following is an enterprise-level database management system?
- A
FileMaker Pro
- B
Microsoft Excel
- C
SQL Server
- D
Microsoft Access
Correct answer
CSQL Server
Explanation
SQL Server is an enterprise-level DBMS designed for large-scale, multi-user environments. Access is a personal DBMS.
- A
- 24
What is a key difference between personal and enterprise-level database systems?
- A
Enterprise systems can be spread across multiple physical servers.
- B
Personal systems support more users than enterprise systems.
- C
Enterprise systems are typically used by a single user.
- D
Personal systems offer more advanced security features.
Correct answer
AEnterprise systems can be spread across multiple physical servers.
Explanation
Enterprise-level databases are often distributed across multiple servers to handle large workloads and many concurrent users, while personal databases are typically on a single machine.
- A
- 25
What does SQL stand for?
- A
Sequential Query Language
- B
Simple Query Language
- C
Structured Query Language
- D
Standard Query Language
Correct answer
CStructured Query Language
Explanation
SQL stands for Structured Query Language, the primary language used to interact with relational databases.
- A
- 26
Which SQL statement is used to retrieve data from a database?
- A
RETRIEVE
- B
FETCH
- C
GET
- D
SELECT
Correct answer
DSELECT
Explanation
The SELECT statement is used in SQL to query and retrieve data from the database.
- A
- 27
In the SQL SELECT statement example from the lecture, how are tables linked together?
- A
Using a special JOIN keyword that automatically detects relationships
- B
Using matched pairs of values such as customer number and course number
- C
Using alphabetical order of table names
- D
Using the ORDER BY clause
Correct answer
BUsing matched pairs of values such as customer number and course number
Explanation
The example linked the customer table to the enrollment table using customer numbers, and the course table to the enrollment table using course numbers—matched pairs of values.
- A
- 28
Why is learning SQL valuable according to the lecture?
- A
It is the only language that can create databases.
- B
It simplifies the process of designing user interfaces.
- C
It provides a consistent way to work with virtually any modern database.
- D
It allows you to bypass the DBMS and access data directly.
Correct answer
CIt provides a consistent way to work with virtually any modern database.
Explanation
SQL is supported by most relational databases (SQL Server, Oracle, MySQL, etc.), so learning it enables you to work with many different database systems with a short learning curve.
- A

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