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

QUESTIONSBANK-DBMS

Uploaded by

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

QUESTIONSBANK-DBMS

Uploaded by

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

QUESTION BANK

UNIT-I

1. Define DBMS and list the applications of database systems.[BTL1, CO1]

2. Discuss about data abstraction in DBMS.[BTL2, CO1]


3. Explain the advantages of DBMS. [BTL2, CO1]
4. With a neat diagram explain Structure of DBMS. [ BTL3, CO1]
5. Construct ER-Diagram for a Hospital Management System. [ BTL5, CO1]
6. Construct an entity relationship diagram using conceptual database design for
University database .[ BTL5, CO1]
7. List and explain various types of attributes with examples. [ BTL3, CO1]
8. Differentiate between file system and DBMS. [ BTL4, CO1]
9. Explain different types of relationships in the ER model. [ BTL2, CO1]
10. Explain about Generalization, Specialization and Aggregation with examples.
[ BTL2, CO1]

UNIT-II

1. Discuss about various DDL commands with examples. [ BTL2, CO2]


2. Define a View. Explain about the fundamental operations. [ BTL1, CO2]
3. What is an integrity Constraint? Discuss about different types of integrity
constraints over relations. [BTL2, CO2]
4. Define a key. Explain the different types of keys with example. [ BTL2, CO2]
5. Explain logical database design with example. [ BTL2, CO2]
6. Consider the following Relations and answer the queries. [ BTL3, CO2]

<--An instance of S3 of Sailors-> An instance of B1


of Boats

Bid Bname Color

101 Interlake Blue

102 Interlake Red

103 Clipper Green

104 Marine Red


<- An instance of R2 of Reserves->

a) Find the name and age of the youngest sailor.


b) Find the names of sailors with the highest rating.
c) Find the names of Boats starting with ‘C’ and ending with ‘r’.
d) Write a query to find the total number of boats available.
e) Find the sids of sailors who are having ratings above 7.
7. Consider the Relation table given below and answer the following queries.[BTL2,
CO3]

An instance of S3 of Sailors
Sid Sname Ratin Age
g
22 Dustin 7 45.0
29 Brutus 1 33.0
31 Lubber 8 55.5
32 Andy 8 25.5
58 Rusty 10 35.0
64 Horatio 7 35.0
71 Zorba 10 16.0
74 Horatio 9 35.0
85 Art 3 25.5
95 Bob 3 63.5

An instance of R2 of Reserves
Sid Bid Day
22 101 10/10/9
8
22 102 10/10/9
8
22 103 10/8/98
22 104 10/7/98
31 102 11/10/9
8
31 103 11/6/98
31 104 11/12/9
8
64 101 9/5/98
64 102 9/8/98
74 103 9/8/98

An instance of B1 of Boats

Bi Bname Colo
d r
10 Interlak Blue
1 e
10 Interlak Red
2 e
10 Clipper Gree
3 n
10 Marine Red
4

a. Find all sailors with rating above 7.


b. Find the names of sailors who have reserved boat number 103.
c. Write a query to find the total number of boats available.
d. Find the names of sailors who have reserved a red or a green boat.
e. Find sid of sailors who have reserved a red boat.
8. Consider the following Relations and answer the queries [ BTL3, CO2]
An instance of S3 of Sailors
Sid Sname Ratin Age
g
22 Dustin 7 45.0
29 Brutus 1 33.0
31 Lubber 8 55.5
32 Andy 8 25.5
58 Rusty 10 35.0
64 Horatio 7 35.0
71 Zorba 10 16.0
74 Horatio 9 35.0
85 Art 3 25.5
95 Bob 3 63.5

An instance of R2 of Reserves
Sid Bid Day
22 101 10/10/9
8
22 102 10/10/9
8
22 103 10/8/98
22 104 10/7/98
31 102 11/10/9
8
31 103 11/6/98
31 104 11/12/9
8
64 101 9/5/98
64 102 9/8/98
74 103 9/8/98

An instance of B1 of Boats

Bi Bname Colo
d r
10 Interlak Blue
1 e
10 Interlak Red
2 e
10 Clipper Gree
3 n
10 Marine Red
4
a)Find the names of sailors who have reserved a red boat
b)Find the names of the Sailors who have reserved at least one boat.
c)Find the ages of sailors whose name begins and ends with B and has at least 3
characters.
d)Find the names of sailors who have reserved a red and a
green boat.
e)Find the sailors with the highest rating.

UNIT-III

1. Explain about the different DML commands with examples. [ BTL3, CO3]
2. Explain the following Operators in SQL with examples: [ BTL3, CO3]

i) EXCEPT ii) INTERSECT iii) UNION.

3. What is the need for schema refinement? Explain third and fourth normal
forms with examples.[ BTL3, CO3]

4. Define Normalization and advantages with examples.[ BTL2, CO3]

5. What is functional dependency? Explain different types of functional


dependencies in detail.[ BTL4, CO3]
6. What is redundancy? What are the problems caused by redundancy explain
with suitable examples? [ BTL2, CO3]
7. Compute the candidate keys for relation schema R = {A, B, C, D, E} given the
functional dependencies. [ BTL5, CO3]

F= {A -> BC ,CD -> E, B -> D,E -> A }

8. When is the decomposition of a relation schema R into two relation schemas


R1 and R2 said to be lossless-join decomposition? Why is this property so important?
Give a necessary and sufficient condition to test whether decomposition is lossless-
join. [ BTL1, CO3]

9. Consider the following database schema and answer the following queries. [
BTL4, CO3]

Student (Snum: integer, Sname : string, major: string, level: string, age: integer)

Class (Cname: string, meets_at: time, room: string, fid: integer)

Enrolled (Snum: integer, Cname: string)

Faculty (Fid: integer, Fname: string, deptid: integer)

a) List the students’ numbers taught by faculty member “Mohan”.

b) Find the list of faculty ids taking class in same room.

c) Find the student details of CSE major.

10. Discuss different types of aggregate operators with examples in SQL.[ BTL2, CO3]

11. Explain different types of joins with example queries.[ BTL3, CO3]

12. Explain about Multivalued Dependencies with an example. Compare 3NF and
BCNF.[ BTL3, CO3]
UNIT IV

1. What is a transaction? Explain the properties of a transaction.[ BTL2, CO4]


2. Give an overview of validation-based protocol.[ BTL3, CO4]
3. Explain Multiple granularity Concurrency Control protocol.[ BTL6, CO4]
4. Demonstrate the Timestamp - Based Concurrency Control protocol . How is it used
to ensure serializability?[ BTL3, CO4]
5. Explain about Conflict Serializability and View Serializability with an
example.[ BTL4, CO4]
6. Explain two phase locking protocol and strict two-phase locking protocols.
[ BTL4, CO4]
7. Discuss about various TCL commands with examples[ BTL1, CO4]
8. What is serializability? Explain. [BTL-2, CO4]
9. How do you implement Atomicity and Durability? [ BTL3, CO4]

10. Discuss Deferred database modification and Immediate database modification.


[ BTL1, CO4]

UNIT V

1. Explain about Triggers with an example.[CO-5, BTL-2]


2. Discuss about active databases.[ BTL2, CO5]
3. Explain about Stored Procedures with an example[ BTL2, CO5]
4. What is DBA? Write about DBA Responsibilities[ BTL3, CO5]
5. Explain the basic DCL commands with examples.[ BTL3, CO5]
6. Differentiate between Grant and Revoke commands.[ BTL4, CO5]

You might also like