Multiple Choice Questions: Principles of Database Management
Multiple Choice Questions: Principles of Database Management
Multiple Choice Questions: Principles of Database Management
a. DDL compiler
b. DML compiler
c. Transaction Manager
d. Security Manager
2. Which of these is NOT a part of the Storage Manager in the DBMS Architecture?
a. Connection Manager
b. Transaction Manager
c. Buffer Manager
d. Recovery Manager
3. Statement A: The DDL compiler compiles data definitions specified in DDL. It is possible that
there is only 1 DDL with 3 instruction sets.
Statement B: The first step of the DDL compiler is to translate the DDL definitions.
a. Only A
b. Only B
c. A and B
d. Neither A or B
a. Only A
b. Only B
c. A and B
d. Neither A or B
1
Principles of Database Management Lecture 2
1. Record-at-a-time DML means that the query gets recorded from the user at the time the user
inputs the query and then gets processed.
2. Record-at-a-time DML means that navigating the database starts with positioning on one
specific record and going from there onwards to other records.
3. Set-at-a-time DML means that the query gets set beforehand and then gets processed by the
DBMS.
4. Set-at-a-time DML means that many records can be retrieved in one DML statement.
6. Statement A: The impedance mismatch problem can be solved by using middleware to map
data structures between the DBMS and the DDL statements.
a. Only A
b. Only B
c. A and B
d. Neither A or B
7. Statement A: The Query Parser optimizes and simplifies a query and then passes it on to the
Query Executor.
Statement B: In the DBMS architecture, the Storage Manager takes care of concurrency
control.
a. Only A
b. Only B
2
Principles of Database Management Lecture 2
c. A and B
d. Neither A or B
When during crash recovery, aborted transactions need to be undone, that is a task of the …
A…
The part of the Storage manager that guarantees the ACID properties is the …B…
a. a Hierarchical DBMS
b. a Network DBMS
c. a Relational DBMS
d. an Object-Oriented DBMS
10. Which of the following DBMS types is NOT a classification based on a data model?
a. Hierarchical DBMS
b. Network DBMS
c. Cloud DBMS
d. Object-Relational DBMS
11. Statement A: In a Hierarchical DBMS, DML is declarative and set oriented with a query
processor.
Statement B: In a relational DBMS, there is data independence between the logical and
internal data model.
a. Only A
b. Only B
c. A and B
d. Neither A or B
3
Principles of Database Management Lecture 2
12. If you want to use a DBMS architecture that can access multiple data sources itself and
provides a uniform interface hiding the low-level details, the most appropriate DBMS would
be a…
a. n-tier DBMS
b. Cloud DBMS
c. Client-Server DBMS
d. Federated DBMS
13. Statement A: An OLTP system is able to cope with real-time, simultaneous transactions which
the database server is able to process in a huge volume.
Statement B: An OLAP system uses large amounts of operational data to run complex queries
on and provide insights for tactical and strategical decision making.
a. Only A
b. Only B
c. A and B
d. Neither A or B
14. Statement A: Native XML DBMSs map the hierarchical structure of an XML document to a
physical storage structure, because they are able to use the intrinsic structure of an XML
document.
Statement B: XML-enabled DBMSs are able to store XML data in an integrated and transparent
way, because they are able to use the intrinsic structure of an XML document.
a. Only A
b. Only B
c. A and B
d. Neither A or B
4
Principles of Database Management Lecture 2
c. A weak entity type cannot have a key attribute type of its own. Therefore, a weak
entity type borrows an attribute type of its owner entity type.
d. The ER model allows to enforce consistency across multiple relationship types.
16. Given the ER model above, which of the following statements is CORRECT?
a. A movie always has as many lead actors as there actors in the movie.
17. In the movie ER model above, we focus on the binary relationship ‘PRODUCES’. Suppose we
add an attribute type that indicates the time that each producer spent on producing each
movie called ‘WORKING HOURS’. Which of the following scenarios is possible?
a. We can migrate the attribute type ‘WORKING HOURS’ to the ‘MOVIE’ entity type.
b. We can migrate the attribute type ‘WORKING HOURS’ to the ‘PRODUCER’ entity type.
5
Principles of Database Management Lecture 2
c. We can migrate the attribute type ‘WORKING HOURS’ to either one of the linked
entity types.
d. We can add the attribute type ‘WORKING HOURS’ to the relationship type PRODUCES.
6
Principles of Database Management Lecture 2
a) The ER model does not enforce that a supplier can only have purchase orders outstanding
b) The ER model has both weak and existence dependent entity types.
d) According to the ER model, there can be suppliers than supply no products and have no
Open Question
Make an ER model for company organizing courses as follows:
For each course, the following data is recorded: coursenr, coursename. A course is uniquely
identified by the coursenr.
Some prerequisite knowledge may be required to follow a certain course. So one may have
to follow one or more courses first, before one can be enrolled for a certain course. E.g., in
7
Principles of Database Management Lecture 2
order to enroll for the course “Advanced Microsoft Excel”, one must first follow “Basic
Microsoft Excel”.
Various sessions of a course can be organized, each on a specific date at a specific location.
E.g., the course “Basic Microsoft Excel” can be organized in Bruges on January 8th, 2019, but
also in Leuven on January 15th, 2019.
For each lecturer, the following data is recorded: lecturernr, lecturername. A lecturer has a
unique lecturernr.
A lecturer can teach multiple sessions of courses. A session of a course can be taught by
several lecturers.
For each student, the following data is recorded: studentnr, studentname. A student has a
unique studentnr.
A student can be enrolled for more than one session. For each session his/her result is
recorded.