0% found this document useful (0 votes)
6 views

DBMS-Question Bank

The document is a question bank for the Database Management Systems course at Annapoorana Engineering College, covering various topics such as relational databases, database design, transactions, and implementation techniques. It includes multiple-choice questions, short answer questions, and detailed explanation prompts across different units. The document is structured to assess students' understanding of key concepts and practices in database management.

Uploaded by

aecsaranyadurai
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

DBMS-Question Bank

The document is a question bank for the Database Management Systems course at Annapoorana Engineering College, covering various topics such as relational databases, database design, transactions, and implementation techniques. It includes multiple-choice questions, short answer questions, and detailed explanation prompts across different units. The document is structured to assess students' understanding of key concepts and practices in database management.

Uploaded by

aecsaranyadurai
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

ANNAPOORANA ENGINEERING COLLEGE

(An Autonomous Institution)


(Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai)
Accredited by NAAC with 'A' Grade & Accredited by NBA (Civil, CSE & EEE)
2(f) & 12(B) Status as per UGC Act 1956
ISO 9001:2015 Certified Institution
NH-47, Sankari Main Road, Periyaseeragapadi, Salem-636308, Tamil Nadu.
www.aecsalem.edu.in

DEPARTMENT OF INFORMATION
TECHNOLOGY

22IT403- DATABASE MANAGEMENT SYSTEMS


QUESTION BANK
ANNAPOORANA ENGINEERING COLLEGE
(An Autonomous Institution)
(Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai)
Accredited by NAAC with 'A' Grade & Accredited by NBA (Civil, CSE & EEE)
2(f) & 12(B) Status as per UGC Act 1956
ISO 9001:2015 Certified Institution
NH-47, Sankari Main Road, Periyaseeragapadi, Salem-636308, Tamil Nadu.
www.aecsalem.edu.in

UNIT I

RELATIONAL DATABASES

Q.No. PART – A ( 1x 10=10)


CO BTL
1. ____________is the full form of RDBMS.
a) Relational Data Management System b) Relational Database
Management System CO1 K1
c) Relative Database Management System d) Regional Data Management
System

RDBMS is a _______________.
a) Database that stores data elements that are not linked
2. CO1
b) Database that accesses data elements that are not linked K1
c) Database that stores and allows access to data elements that are linked
d) None of the mentioned
______________is About ACID properties of RDBMS.
3.
a) Follows ACID properties b) Doesn’t follow ACID properties CO1 K1
c) Depends on the data stored in the database d) Can’t say
4. A relation in RDMBS is_________________.
a) Key b) Table c) Row d) Data Types CO1 K1
Dynamic hashing allows us to?
5. a) Accommodate the growth of the database b) Accommodate the
shrinkage of the database CO1 K1
c) Allows modification of hash function d) All of the mentioned.
___________constraints are not checked by RDMBS before creating the
6.
tables. CO1 K1
a) Not null b) Primary keys c) Data Structure d) Data integrity
7. _______________is the time of temporal data that record when a fact was
recorded in a database. K1
a) Enter time b) Exit time c) Valid time d) Transaction time CO1
8. ________ deletes a data item from a database.
a) Insert(RDBMS) b) Drop(RDBMS) c) Delete(RDBMS) d) None of CO1 K1
the mentioned
9. _____________ is a predicate that we expect the database to always satisfy CO1 K1
a) Reason b) Mandate c) Assertion d) Verify
10. ______________is a good database management practice?
a) Adding redundant attributes b) Not specifying primary keys CO1 K1
c) Removing redundant attributes d) None of the mentioned
Q.No. PART – B(5 x 3=15)
ANNAPOORANA ENGINEERING COLLEGE
(An Autonomous Institution)
(Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai)
Accredited by NAAC with 'A' Grade & Accredited by NBA (Civil, CSE & EEE)
2(f) & 12(B) Status as per UGC Act 1956
ISO 9001:2015 Certified Institution
NH-47, Sankari Main Road, Periyaseeragapadi, Salem-636308, Tamil Nadu.
www.aecsalem.edu.in

1. Define database management system and its applications. CO1 K1

2. List the features of a database. CO1 K1

3. Define high level/conceptual data model. CO1 K1

4. List the categories of data models. CO1 K1

5. State conceptual level schema. CO1 K1

Q.No. PART – C(15 x 5=75)

1. CO1 K1
List and explain the limitations of file processing system

2. Define relational algebra. Explain various relational algebraic operations K1


CO1
with example.
3. CO1 K1
What are the various data types in SQL? Explain them with example.
4. CO1 K1
What is data model? Explain various data models with example
5. CO1 K1
List and explain various database languages with example.
ANNAPOORANA ENGINEERING COLLEGE
(An Autonomous Institution)
(Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai)
Accredited by NAAC with 'A' Grade & Accredited by NBA (Civil, CSE & EEE)
2(f) & 12(B) Status as per UGC Act 1956
ISO 9001:2015 Certified Institution
NH-47, Sankari Main Road, Periyaseeragapadi, Salem-636308, Tamil Nadu.
www.aecsalem.edu.in

UNIT II

DATABASE DESIGN

Q.No. PART – A (1 x 10=10) CO BTL

1. _____________ is generally used for performing tasks like creating the


structure of the relations, deleting relation? CO2 K1
a)DML(Data Manipulation Language) b)Query c)Relational Schema
4)DDL(Data Definition Language)
2. ________________provides the ability to query information from the
database and insert tuples into, delete tuples from, and modify tuples in
CO2
the database? K1
a)DML(Data Manipulation Language) b)DDL(Data Definition
Language)
c) Query d)Relational Schema
3. One to many relationships means?
a)One class may have many teachers b)One teacher can have many
CO2
classes K1
c) Many classes may have many teachers d)Many teachers may have
many classes.

4. A Database Management System is a type of


________________software.
CO2 K1
a)It is a type of system software b) It is a kind of application software
c)It is a kind of general software d)Both A and C

5. The term "FAT" is stands for_______________.


a)File Allocation Tree b)File Allocation Table K1
CO2
c)File Allocation Graph d)All of the above
6. _______________can be used to extract or filter the data & information
from the data warehouse? K1
CO2
a)Data redundancy b)Data recovery tool c)Data mining d)Both B
and C
7. _______________refers to the copies of the same data (or information)
occupying the memory space at multiple places.
CO2 K1
a)Data Repository b)Data Inconsistency c)Data Mining d)Data
Redundancy

8. ______________refers to the "data about data"? K1


a)Directory b)Sub Data c)Warehouse d)Meta Data
ANNAPOORANA ENGINEERING COLLEGE
(An Autonomous Institution)
(Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai)
Accredited by NAAC with 'A' Grade & Accredited by NBA (Civil, CSE & EEE)
2(f) & 12(B) Status as per UGC Act 1956
ISO 9001:2015 Certified Institution
NH-47, Sankari Main Road, Periyaseeragapadi, Salem-636308, Tamil Nadu.
www.aecsalem.edu.in

CO2

9. ________________refers to the level of data abstraction that describes CO2 K1


exactly how the data actually stored?
a)Conceptual Level b)Physical Level c)File Level d)Logical Level
10 To which of the following the term "DBA" referred?
a)Data Bank Administrator b)Database Administrator K1
CO2
c)Data Administrator d)None of the above
Q.No. PART – B(3 x 5 = 15)

1. Discuss about 2NF. CO2 K2

2. Define weak entity.Show with example. CO2 K3

3. Write about transitive functional dependency. CO2 K1

4. List the types of integrity constraints in ERmodel CO2 K1

5. Write about Functional dependency. CO2 K2

Q.No. PART – C(15 x 5 = 75)

Write a short note on.


1. K1
(i)Data Model and its Types. CO2
(ii)E-R Diagram for Banking System.
CO2
2. Give detail Explanation about Query processing / Optimization overview K1
with example.
3. CO2
K2
Explain the various components of ER diagram with examples Briefly.

4. Give an example of a relation that is in 3NF but not in BCNF. How will CO2 K2
you convert that relation into BCNF? (15)

5. K2
Explain FNF, SNF, TNF and DCNF with an example CO2
ANNAPOORANA ENGINEERING COLLEGE
(An Autonomous Institution)
(Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai)
Accredited by NAAC with 'A' Grade & Accredited by NBA (Civil, CSE & EEE)
2(f) & 12(B) Status as per UGC Act 1956
ISO 9001:2015 Certified Institution
NH-47, Sankari Main Road, Periyaseeragapadi, Salem-636308, Tamil Nadu.
www.aecsalem.edu.in

UNIT III

TRANSACTIONS

BT
Q.No. PART – A (1 x 10=10) CO
L

1. An operation is part of a transaction if it is ___ related.


CO3 K1
a)Logically b)Analytically c)Reasonably d)None

2. To access the contents of the database, ___ user performs transactions.


a)Single b)Two c)Three d)Multiple
CO3 K1

3. Number of operations of transactions is: CO3


K1
a)3 b)4 c)5 d)6
4. _______________ is an operation of transactions? CO3
K1
a)Read b)Write c)Commit d)All of the above

5. X is read from a database and stored in a buffer in main memory with the
CO3 K1
______________ operation.
a)Read b)Write c)Commit d)Rollback
6. Writing the data from the buffer back to the database is accomplished by using the
_____ operation.
a)Read b)Write c)Commit d)Rollback CO3 K1

7. ______________ is used to permanently save the work. CO3 K1


a)Read b)Write c)Commit d)Rollback
8. An undo operation is called a _________________.
a)Rollback b)Commit c)Write d)Read
CO3 K1

9. Number of properties of transactions is_____________. CO3


K1
a)4 b)5 c)6 d)7

10. In a database, prior to and after a transaction, properties are used to ensure
_____________. K1
a)Consistency b)Redundancy c)Latency d)Anonymity CO3

Q.No. PART – B(3 x 5=15)

1. Summarize the properties of transaction. CO3 K2


ANNAPOORANA ENGINEERING COLLEGE
(An Autonomous Institution)
(Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai)
Accredited by NAAC with 'A' Grade & Accredited by NBA (Civil, CSE & EEE)
2(f) & 12(B) Status as per UGC Act 1956
ISO 9001:2015 Certified Institution
NH-47, Sankari Main Road, Periyaseeragapadi, Salem-636308, Tamil Nadu.
www.aecsalem.edu.in

2. What is meant by log-based recovery? CO3 K1

3. Define deadlock. CO3 K1

4. Give the states of transaction. CO3 K2

5. Differentiate strict two-phase locking protocol and rigorous two-phase locking CO3 K4
protocol.
Q.No. PART – C

(i)What is concurrency control?Explain the two phase locking protocol with an


1. CO3 K2
example.
(ii)Discuss about conflict serializability and view serializability.

2. CO3 K3
Write Short Notes On Transaction Concept and Transaction State

3. (i)When is a transaction said to be deadlocked? CO3


(ii)Explain the deadlock prevention methods with an example? K2

4. (i)Differentiatestricttwophaselockingprotocolandrigoroustwophaselockingprotocol. K2
(ii)How the timestamps are implemented? Explain. CO3

(i)What is deadlock? How does it occur?


5. CO3 K3
(ii)How transactions are to be written to Avoid deadlock and guarantee correct
execution. Illustrate with suitable example.
ANNAPOORANA ENGINEERING COLLEGE
(An Autonomous Institution)
(Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai)
Accredited by NAAC with 'A' Grade & Accredited by NBA (Civil, CSE & EEE)
2(f) & 12(B) Status as per UGC Act 1956
ISO 9001:2015 Certified Institution
NH-47, Sankari Main Road, Periyaseeragapadi, Salem-636308, Tamil Nadu.
www.aecsalem.edu.in

UNIT IV

IMPLEMENTATION TECHNIQUES

Q.No. PART – A (1 x 10=10) CO BTL

1. ____________________are contained in the File.


CO4 K1
a)Rows b)Columns c)Records d)Tables

2. We can access records by using the __________________ key. CO4 K1


a)Primary b)Foreign c)Alternate d)Composite

3. Based on the type of file organization for a given set of records, we can determine
the _____________ of access.
CO4 K1
a)Type b)Frequency c)Both A and B d)None of the above
4. Records are organized _________________ based on logical relationships. CO4 K1
a)Analytically b)Logically c)Reasonably d)None
5. Defining how a __________________ is mapped onto a block of hard disk space
is done using this method.
CO4 K1
a)Database b)File Record c)Data d)None
6. Organizing your files according to their blocks and putting those blocks onto a
storage medium is referred to as ________________. K1
CO4
a)Data organization b)File organization c)Recursive organization d)None

7. Using multiple files and storing ______________ record in each is the first
method of mapping a database to a file. K1
CO4
a)Multiple b)Only a Single c)Two d)Three

8. Our files can also be organized so that different lengths of _________________


can be included. K1
CO4
a)Database b)Records c)Data d)None
9. The implementation of files of fixed length records is simpler than that of files of
_______________ length records. K1
CO4
a)One b )Single c)Simple d)Variable
10. Transactions on the records should be performed quickly and easily, whether they
are _______________ them.
CO4 K1
a)Inserting b)Deleting c)Updating d)All of the above
ANNAPOORANA ENGINEERING COLLEGE
(An Autonomous Institution)
(Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai)
Accredited by NAAC with 'A' Grade & Accredited by NBA (Civil, CSE & EEE)
2(f) & 12(B) Status as per UGC Act 1956
ISO 9001:2015 Certified Institution
NH-47, Sankari Main Road, Periyaseeragapadi, Salem-636308, Tamil Nadu.
www.aecsalem.edu.in

Q.No. Part-B(3 x 5=15)

1. Illustrate hash indexing. CO4 K3

2. Define mirroring. CO4 K1

3. Differentiate B Tree and B+ Tree Index. CO4 K4

4. State the need of Query Optimization. CO4 K1

5. Examine about query evaluation plan. CO4 K1

Q.No. PART – C(15 x 5 = 75)

1.
(i)Describe the ordered indices with example.
(ii)Describe the different methods of implementing variable length records. CO4 K2

(i)Examine about RAID system.


2. K1
(ii)How does it improve performance and reliability? Discuss the level 3 and of CO4
level 4 RAID.
(i)Analyze about the B+Tree file organization in detail. CO4
3. (ii)IdentifyaB+treetoinsertthefollowingkeyelements(orderofthetreeis3)5, 3,4, 9,7, K4
15, 14,21, 22, 23.
4. CO4 K1
Discuss about join order optimization and heuristic optimization algorithm
(i)Explain how reliability can be improved through redundancy.
5. (ii)How records are represented and organized in a file. Explain it with suitable K4
CO4
example.
ANNAPOORANA ENGINEERING COLLEGE
(An Autonomous Institution)
(Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai)
Accredited by NAAC with 'A' Grade & Accredited by NBA (Civil, CSE & EEE)
2(f) & 12(B) Status as per UGC Act 1956
ISO 9001:2015 Certified Institution
NH-47, Sankari Main Road, Periyaseeragapadi, Salem-636308, Tamil Nadu.
www.aecsalem.edu.in

UNIT V

ADVANCED TOPICS

Q.No. PART – A (1 x 10=10) CO BTL


1. A distributed database has which of the following advantages over a centralized
database?
a) Software cost b) Software complexity CO5 K1
c) Slow Response d) Modular growth

2. An autonomous homogenous environment is which of the following?


a) The same DBMS is at each node and each DBMS works independently.
b) The same DBMS is at each node and a central DBMS coordinates database
access. CO5 K1
c.) A different DBMS is at each node and each DBMS works independently.
d) A different DBMS is at each node and a central DBMS coordinates database
access.
3. A transaction manager is which of the following?
a) Maintains a log of transactions b) Maintains before and after database CO5 K1
images c)Maintain appropriate concurrency control d) All of the above.
4. Location transparency allows for which of the following?
a) Users to treat the data as if it is at one location
b) Programmers to treat the data as if it is at one location CO5 K1
c)Managers to treat the data as if it is at one location
d) All of the above.
5. A heterogeneous distributed database is which of the following?
a) The same DBMS is used at each location and data are not distributed across all
nodes.
b) The same DBMS is used at each location and data are distributed across all
nodes. CO5 K1
c)A different DBMS is used at each location and data are not distributed across all
nodes.
d) A different DBMS is used at each location and data are distributed across all
nodes.
6. Some of the columns of a relation are at different sites is which of the following?
a)Data Replication b)Horizontal Partitioning CO5 K1
c) Vertical Partitioning d)Horizontal and Vertical Partitioning
7. __________________is true concerning a global transaction.
a)The required data are at one local site and the distributed DBMS routes requests K1
ANNAPOORANA ENGINEERING COLLEGE
(An Autonomous Institution)
(Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai)
Accredited by NAAC with 'A' Grade & Accredited by NBA (Civil, CSE & EEE)
2(f) & 12(B) Status as per UGC Act 1956
ISO 9001:2015 Certified Institution
NH-47, Sankari Main Road, Periyaseeragapadi, Salem-636308, Tamil Nadu.
www.aecsalem.edu.in

as necessary.
b) The required data are located in at least one nonlocal site and the distributed
DBMS routes requests as necessary. CO5
c)The required data are at one local site and the distributed DBMS passes the
request to only the local DBMS.
d) The required data are located in at least one nonlocal site and the distributed
DBMS passes the request to only the local DBMS.

8. A homogenous distributed database is which of the following?


a) The same DBMS is used at each location and data are not distributed across all
nodes.
b) The same DBMS is used at each location and data are distributed across all
nodes. CO5 K1
c.)A different DBMS is used at each location and data are not distributed across all
nodes.
d.)A different DBMS is used at each location and data are distributed across all
nodes.

9. Replication should be used when which of the following exist?


a)When transmission speeds and capacity in a network prohibit frequent refreshing
CO5 K1
of large tables.
b)When using many nodes with different operating systems and DBMSs and
database designs.
c)The application's data can be somewhat out-of-date.
d)All of the above.
10 Storing a separate copy of the database at multiple locations is which of the
following?
CO5 K1
a) Data Replication b) Horizontal Partitioning
c) Vertical Partitioning d)Horizontal and Vertical Partitioning
Q.No. PART – B(3 x 5=15)

1. Give the definition for Distributed Database Systems. CO5 K2


2. Discriminate the meaning of homogenous and heterogeneous DDBMS. CO5 K4
3. What is the difference between Information Retrieval and DBMS. ? CO5 K1
4. Define Replication and Fragmentation. CO5 K2
5. Compare ODL and OQL. CO5 K4
Q.No. PART – C(15 x 5 = 75)

Give XML representation of University database system and also explain about
1.
DTD and XML schema. CO5 K5
ANNAPOORANA ENGINEERING COLLEGE
(An Autonomous Institution)
(Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai)
Accredited by NAAC with 'A' Grade & Accredited by NBA (Civil, CSE & EEE)
2(f) & 12(B) Status as per UGC Act 1956
ISO 9001:2015 Certified Institution
NH-47, Sankari Main Road, Periyaseeragapadi, Salem-636308, Tamil Nadu.
www.aecsalem.edu.in

(i)Compare homogeneous and heterogeneous databases.


2. CO5
(ii)Explain about distributed data storage. K4
Analyze about the DTD for an XML representation of the following nested-
relational
schema.
Emp=(ename,ChildrenSetsetof(Children),SkillsSetsetof(Skills)) Children = (name, CO5
3. K4
Birthday)
Birthday=(day,month,year)
Skills= (type,ExamsSetsetof(Exams)).
Exams=(year,city)
Generalize about Object Definition Language and Object Query Language in
4. CO5
object database. K6

5. Examine and describe in what ways the information can be retrieved. CO5 K1

You might also like