FIRST PUBLISH OCTOBER 2024
CS430 Midterm 1 Exam Questions and
Answers
Match the component of a DBMS to its associated responsibility.
A. Query optimizer
B. File and access methods layer
C. Buffer manager
D. Disk space manager
E. Transaction manager
Page 1/16
, ©GRACEAMELIA 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED
FIRST PUBLISH OCTOBER 2024
F. Lock manager
G. Recovery manager - Ans:✔✔-A. Uses information about how the data is stored to produce an efficient
execution plan for evaluating the query.
B. Supports the concept of a file, which in a DBMS is a collection of pages or a collection of records.
C. Brings pages in from disk to memory as needed in response to read requests.
D. Deals with management of space on disk, where the data is stored.
E. Ensures that transactions request and release locks according to a suitable locking protocol.
F. Keeps track of requests for locks and grants locks on database objects when they become available.
Page 2/16
, ©GRACEAMELIA 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED
FIRST PUBLISH OCTOBER 2024
G. Responsible for maintaining a log and restoring the system to a consistent state after a crash.
The types of access for a data manipulation language are: - Ans:✔✔-Insertion and deletion of data
Retrieval of information
What are the components of the query processor? - Ans:✔✔-DML Compiler
DDL Interpreter
Query Evaluation Engine
A transaction is a single operation that performs multiple logical functions within a database. - Ans:✔✔-
False
A data dictionary contains ____________________, data about data. - Ans:✔✔-metadata
Match the database users to their definition.
Page 3/16