0% found this document useful (0 votes)
192 views3 pages

Testbank 3

1. The document contains multiple choice questions about database management system (DBMS) architecture and concepts. 2. It asks about components of the query processor and storage manager, data definition language (DDL) and data manipulation language (DML), record-oriented versus set-oriented querying, impedance mismatch problems, and object-relational mapping. 3. The questions cover relational, hierarchical, network, object, and NoSQL DBMS architectures as well as online transaction processing (OLTP) versus online analytical processing (OLAP) systems.

Uploaded by

Jan jan1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
192 views3 pages

Testbank 3

1. The document contains multiple choice questions about database management system (DBMS) architecture and concepts. 2. It asks about components of the query processor and storage manager, data definition language (DDL) and data manipulation language (DML), record-oriented versus set-oriented querying, impedance mismatch problems, and object-relational mapping. 3. The questions cover relational, hierarchical, network, object, and NoSQL DBMS architectures as well as online transaction processing (OLTP) versus online analytical processing (OLAP) systems.

Uploaded by

Jan jan1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

MC Which of these is part of the Query Processor in the Architecture of a DBMS?

DDL compiler incorrect DML compiler correct Transaction


Manager incorrect Security Manager incorrect
MC Which of these is not a part of the Storage Manager in the DBMS Architecture?
Connection Manager correct Transaction Manager incorrect Buffer
Manager incorrect Recovery Manager incorrect
MC Statement A: The DDL compiler compiles data definitions specified in DDL. It
is possible that there is only 1 DDL with 3 instruction sets. <br><br> Statement B:
The first step of the DDL compiler is to translate the DDL
definitions.<br><br>Which sentence(s) is/are right? Only A correct Only B
incorrect A and B incorrect Neither A or B incorrect
MC Statement A: There is no query processor available in procedural DML.
<br><br> Statement B: With procedural DML, the DBMS determines the access path and
navigational strategy to locate and modify the data specified in the
query.<br><br>Which sentence(s) is/are right? Only A correct Only B
incorrect A and B incorrect Neither A or B incorrect
MC Evaluate the following statements: <br><br> 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. <br> 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. <br> 3. Set-at-a-time DML means that the query gets set
beforehand and then gets processed by the DBMS. <br> 4. Set-at-a-time DML means
that many records can be retrieved in one DML statement. 1 and 3 are right
incorrect 2 and 3 are right incorrect 1 and 4 are right incorrect 2 and
4 are right correct
MC Statement A: The impedance mismatch problem can be solved by using middleware
to map data structures between the DBMS and the DDL statements. <br><br> Statement
B: An object-oriented host language such as Java combined with a document-oriented
DBMS such as MongoDB does not require mapping objects to documents and vice versa.
<br><br> Which sentence(s) is/are correct? Only A incorrect Only B
incorrect A and B incorrect Neither A or B correct
MC Statement A: The Query Parser optimizes and simplifies a query and then
passes it on to the Query Executor. <br><br> Statement B: In the DBMS architecture,
the Storage Manager takes care of concurrency control. <br><br> Which sentence(s)
is/are correct? Only A incorrect Only B correct A and B
incorrect Neither A or B incorrect
MC Complete the following sentence, choosing the right words on place <b>A</b>
and <b>B</b>.<br><br>When during crash recovery, aborted transactions need to be
undone, that is a task of the ...<b>A</b>... <br> The part of the Storage manager
that guarantees the ACID properties is the ...<b>B</b>... A: Lock manager, B:
Recovery manager incorrect A: Lock manager, B: Lock manager incorrect A:
Recovery manager, B: Buffer manager incorrect A: Recovery manager, B: Transaction
manager correct
MC CODASYL is an example of... A Hierarchical DBMS incorrect A Network
DBMS correct A Relational DBMS incorrect An Object-Oriented DBMS incorrect
MC Which of the following DBMS types is not a classification based on a data
model? Hierarchical DBMS incorrect Network DBMS incorrect Cloud DBMS
correct Object-Relational DBMS incorrect
MC Statement A: In a Hierarchical DBMS, DML is declarative and set oriented with
a query processor. <br><br> Statement B: In a relational DBMS, there is data
independence between the conceptual and internal data model. <br><br> Which
statement(s) is/are correct? Only A incorrect Only B correct A and
B incorrect Neither A or B incorrect
MC 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... n-tier DBMS incorrect Cloud DBMS incorrect
Client-Server DBMS incorrect Federated DBMS correct
MC 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.
<br><br> 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.<br><br> Which statement(s) is/are correct? Only A incorrect Only B
incorrect A and B correct Neither A or B incorrect
MC 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.<br><br> 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. <br><br>Which statement(s)
is/are correct? Only A correct Only B incorrect A and B
incorrect Neither A or B incorrect
MC Which of the following are part of the Query Processor? DDL compiler
incorrect DML compiler correct Connection manager incorrect
Transaction manager incorrect
MC Which of the following DBMSs have a query processor? Hierarchical
incorrect Network incorrect Relational correct CODASYL
incorrect
MC Which statement is CORRECT? The DML compiler extracts the DML statements
from the host language, converts it into the internal representation and checks for
syntactical and semantical correctness. incorrect Procedural DML is also called
'set-at-a-time' DML. incorrect SQL can be used as DDL, but not as DML.
incorrect The DDL compiler parses DDL statements, checks them for
syntactical correctness, translates them into internal format and then registers
the data definitions into the catalog. correct
MC Which statement is CORRECT? The recovery manager keeps track of all the
database operations in a logfile. correct The connection manager sets up a
database connection and verifies the logon credentials and the privileges.
incorrect The query rewriter optimizes the query based on the current
database state. incorrect The lock manager is responsible to ensure the ACID
properties. incorrect
MC Which statement is CORRECT? In the network data model, the DML is
declarative. incorrect An RDBMS has full separation between the logical and
internal data model. correct The federated DBMS architecture is a
straightforward extension of the client-server architecture. Often a client with
GUI functionality, an application server, a database server and a web server are
present in this setup. incorrect XML-enabled DBMSs allow to store XML data.
However, we cannot query the XML data. incorrect
MC Which statement is CORRECT? In an OODBMS, an object encapsulates both data
and functionality. However, an impedance mismatch can occur when working with an
object-oriented programming language. incorrect An object-relational DBMS
(ORDBMS) extends an OODBMS with relational concepts. incorrect NoSQL includes all
databases that do not use SQL. They are created to be more scalable and deal with
stable data structures. incorrect An in-memory DBMS stores all data in
internal memory instead of slower external storage such as disk-based storage.
correct
MC Which statement is CORRECT? In procedural DML, the application developer
needs to know the details of the DBMS to be able to write efficient queries.
correct The query optimizer is not important to differentiate a DBMS upon
in terms of competitiveness. incorrect CODASYL is an example of a hierarchical
DBMS. incorrect The heterogeneity of NoSQL databases is quite low. incorrect
MC Which statement is NOT CORRECT? Certain DBMS utilities are often
available, such as performance monitoring, reorganization utility, user management
and backup and recovery. incorrect The buffer manager often uses the 80/20
rule that states that 20% of the time, 80% of the data is used. correct When
implementing procedural DML, the system usually does not have a query processor.
incorrect The impedance mismatch problem can refer to the mapping between
object-oriented and relational concepts. This can be solved by using middleware
that maps the data structures to one-another. incorrect
MC Which statement is NOT CORRECT? In the hierarchical data model, the
logical and internal data model are intertwined. incorrect A cloud DBMS
architecture is advisable for smaller companies. incorrect Native XML DBMSs
take the logical structure from an existing XML document and turn this into a
physical database. incorrect An OLTP DBMS is mainly used for strategic and
tactical decision making. correct

You might also like