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

Final-DBMS Question Bank

This document contains 32 questions about database management systems (DBMS). The questions cover a wide range of topics including DBMS architecture, entity relationship diagrams, SQL, database normalization, functional dependencies, locking protocols, distributed databases, NoSQL databases and more.

Uploaded by

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

Final-DBMS Question Bank

This document contains 32 questions about database management systems (DBMS). The questions cover a wide range of topics including DBMS architecture, entity relationship diagrams, SQL, database normalization, functional dependencies, locking protocols, distributed databases, NoSQL databases and more.

Uploaded by

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

DBMS QUESTION BANK

1. Describe the architecture of DBMS, with diagram.

2. Explain the Basic concepts of ER models(Diagrams) in DBMS.

3. Draw and explain ER diagram for college Management system.

4. What is Difference between Traditional file system and DBMS Approach.

5. List the various users of DBMS and explain its functions. Also explain the roles & responsibilities
of DBA.

6. Explain aggregate function and string functions in SQL.

7. Write set operations in SQL?

8. Explain various DDL, DML commands in details.

9. Consider the relational database, where the primary keys are underlined.
Give an expression in SQL for each of the following queries:
Employee(person_name,street,city)
Works(person_name,company_name,salary)
Company(company_name,city)
Manages(person_name,manager_name)

a. Find the names of all employees who work for the First Bank Corporation.

b. Find the names of all employees who live in the same city and on the same street
as do their managers.

c. Find the names, street address, and cities of residence of all employees who work
for First Bank Corporation and earn more than $10,000 per annum.

d. Find the names of all employees who earn more than every employee of Small Bank
Corporation.

e. Find the company that has the most employees.

f. Find those companies whose employees earn a higher salary, on average,


than the average salary at First Bank Corporation.

g. Find the names of all employees in this database who live in the same city as the company for
which they work

h. Give all employees of First Bank Corporation a 10 percent salary raise.

i. Delete all tuples in the works relation for employees of Small Bank Corporation.
10. Consider the relational schema
Lives (person_name, street, city)
Works (person_name, company_name, salary)
Located-in (company_name, city)
Manages (person_name, manager_name)
Write SQL to find the following.

i) Find the name, street, city of all employees who work for 'IBM' and earn more
than Rs. 15,000/-
ii) Find the name of all companies located in "Nagpur".
iii) Find those who lives and works in same city.

11. Consider the following relational database


SALESPERSON (Name, Percent_of_Quota, salary)
ORDER (Number, Custname, salespersonname, amount)
CUSTOMER (Name, city, Industrytype)
for each of the query given below, give the expression in SQL.

i) Find the names and quota percentages of salespeople who have an order with
ASIAN CONSTRUCTION in descending order of quota percentage.
ii) Find the quota percentage of salespeople who have an order with a customer
in MUMBAI.
iii) Find the names of salespeople who have two or more orders.
iv) Find the names of salespeople who have an order with all customers.

12. Explain the terms :


(i) Candidate keys (ii) Super key (iii) Alternate key
(iv) Primary key (v) Foreign key.

13. List and Explain the different data base languages?

14. What is Normalization? Explain 1NF, 2 NF and 3 NF.

15. Compute the closure of the following set


F of FD's for the relation R = (A, B, C, D, E) where A → BC , CD → E, B → D , E → A 
List all candidate key of R.

16. Given a relation R( A, B, C, D) and Functional Dependency set


FD = { AB → CD, B → C }, determine whether the given R is in 2NF?
If not convert it into 2 NF.
17. Given a relation R( P, Q, R, S, T) and Functional Dependency set
FD = { PQ → R, S → T }, determine whether the given R is in 2NF?
If not convert it into 2 NF.

18. Given a relation R( X, Y, Z, W, P) and Functional Dependency set


FD = { X → Y, Y → P, and Z → W}, determine whether the given R is in 3NF?
If not convert it into 3 NF.

19. Given a relation R( P, Q, R, S, T, U, V, W, X, Y) and Functional Dependency set


FD = { PQ → R, P → ST, Q → U, U → VW, and S → XY},
determine whether the given R is in 3NF? If not convert it into 3 NF.

20. Given a relation R( P, Q, R, S, T, U, V, W, X) and Functional Dependency set FD = {


PQ → R, QS → TU, PS → VW, and P → X },
determine whether the given R is in which normal form?

21. Explain the different phases involved in Query processing.

22. What is Query Optimization? Give various technique of Query Optimization.

23. Define functional dependency. Explain the rules of Inference or Armstrong axioms with
supporting rules.

24. Difference between Indexing and Hashing in DBMS

25. Explain in details TCL and DCL commands.

26. Give the reasons for the occurrence of deadlock. Suggest its prevention method.

27. What is locking protocol? Explain two phase locking protocol with the help of example.

28. Explain two phase commit protocol in detail.

29. Describe different types of failures that occurs in the system? How they are recovered.

30. What is serializability? Explain conflict & view serializability.

31 Write a short note on any two.


i) Distributed database.
ii) Web database.
iii) Data warehouse
iv) Data Mining.

32. Explain NoSQL Database.

You might also like