NEW
Font size
WorksheetsQUIZ 3 - Data Design and Database Management
Total questions: 40
Worksheet time: 13mins
What is the primary purpose of a database management system (DBMS)?
To store data in a file-oriented system
To manage and analyze data efficiently
To create physical storage devices
To eliminate the need for data security
Which of the following best describes normalization?
The technique for coding data in binary
The method of storing data in physical media
The process of organizing data to reduce redundancy
The process of creating redundant data
What does a primary key do in a database?
Stores multiple values in a single field
Uniquely identifies a record in a table
Links two tables together
Represents a common field in multiple tables
In an entity-relationship diagram, what does cardinality represent?
The relationship between two entities
The number of fields in a table
The type of data stored in a field
The physical storage location of data
Which of the following is NOT a type of relationship in an entity-relationship diagram?
One-to-many
Many-to-many
Many-to-few
One-to-one
What is a foreign key?
A field that contains repeating values
A field that links two tables together
A field that cannot be null
A unique identifier for a record
Which coding scheme is commonly used on personal computers?
Unicode
Binary
ASCII
EBCDIC
What is the main advantage of using a DBMS over a file-oriented system?
Simpler data access methods
Better data security and integrity
Increased data redundancy
Lower cost of implementation
What does referential integrity ensure in a relational database?
Data can be duplicated across tables
Foreign key values must match primary key values
All data is stored in one table
All fields must be unique
Which of the following is a characteristic of data warehousing?
It stores data in a single file
It is used for real-time transaction processing
It integrates data from multiple sources
It only contains structured data
What is the purpose of a data manipulation language (DML)?
To ensure data security and integrity
To create user interfaces for databases
To control database operations like storing and retrieving data
To define the structure of a database
Which of the following describes a one-to-many relationship?
One instance of an entity cannot relate to any other entity
One instance of an entity relates to one instance of another entity
Many instances of one entity can relate to many instances of another entity
One instance of an entity can relate to many instances of another entity
What is the first step in the normalization process?
Creating the third normal form
Identifying functional dependencies
Eliminating repeating groups
Creating an unnormalized design
What is the role of a database administrator (DBA)?
To design user interfaces for databases
To ensure data security and manage the database
To write data manipulation languages
To create physical storage devices
Which of the following is a benefit of data mining?
It reduces the amount of data stored
It helps find patterns and relationships in large datasets
It simplifies data entry processes
It eliminates the need for data warehousing
What is the main function of a data definition language (DDL)?
To manipulate data within a database
To define the structure and schema of a database
To ensure data integrity and security
To perform data analysis and reporting
Which of the following is a common use case for data warehousing?
Real-time transaction processing
Historical data analysis and reporting
Data entry and validation
Creating user interfaces for applications
What is the purpose of a composite key in a database?
To uniquely identify a record using multiple fields
To link two tables together
To store multiple values in a single field
To ensure all fields in a table are unique
What is the purpose of denormalization in a database?
To reduce data redundancy
To improve query performance
To ensure data integrity
To create additional tables
Which SQL command is used to remove a table from a database?
DELETE
DROP
REMOVE
TRUNCATE
What is the main purpose of indexing in a database?
To ensure data is unique
To speed up data retrieval
To store data in a compressed format
To maintain referential integrity
What is the purpose of a data warehouse?
To store operational data
To support business intelligence activities
To manage real-time transactions
To create user interfaces for applications
Which of the following is a characteristic of a relational database?
Data is stored in a flat file
Data is organized in tables with relationships
Data cannot be queried
Data is stored in a hierarchical structure
What does SQL stand for?
Structured Query Language
Simple Query Language
Standard Query Language
Sequential Query Language
Which SQL command is used to modify existing records in a table?
UPDATE
EDIT
CHANGE
ALTER
What is the purpose of a transaction in a database?
To ensure data is stored permanently
To group multiple operations into a single unit
To create backups of the database
To optimize query performance
Which of the following is a common type of database model?
Hierarchical
Flat-file
Network
All of the above
Which of the following is a characteristic of a many-to-many relationship?
One instance of an entity can relate to multiple instances of another entity
One instance of an entity relates to exactly one instance of another entity
Many instances of one entity can relate to only one instance of another entity
One instance of an entity cannot relate to any other entity
What is the purpose of a unique constraint in a database?
To ensure that all values in a column are different
To link two tables together
To allow duplicate values in a column
To define the primary key of a table
Which SQL command is used to retrieve data from a database?
SELECT
GET
FETCH
RETRIEVE
What is the main advantage of using indexes in a database?
To increase data redundancy
To speed up data retrieval
To ensure data integrity
To simplify database design
What is the purpose of a stored procedure in a database?
To automate repetitive tasks
To create user interfaces
To store data in a file
To define the structure of a table
Which of the following is a benefit of using a relational database?
Data is stored in a flat file
Data can be easily queried and manipulated
It requires less storage space
It eliminates the need for data normalization
Which of the following is a type of database model?
Hierarchical model
Flat file model
Network model
All of the above
What is the main purpose of a data dictionary in a database?
To store user data
To define the structure of the database
To manage database security
To optimize query performance
Which SQL command is used to update existing records in a database?
UPDATE
MODIFY
CHANGE
ALTER
Which SQL command is used to create a new table in a database?
CREATE
ADD
INSERT
MAKE
What is the purpose of a foreign key in a relational database?
To uniquely identify a record
To establish a relationship between two tables
To store large amounts of data
To ensure data integrity within a single table
Which of the following is a common database normalization form?
First Normal Form (1NF)
Second Normal Form (2NF)
Third Normal Form (3NF)
All of the above
What is the role of a primary key in a relational database?
To link two tables together
To uniquely identify a record in a table
To store large amounts of data
To ensure data integrity within a single table
