DBMS QUESTION BANK
DBMS QUESTION BANK
DBMS QUESTION BANK
3thSem. CSE
Question-Bank
12. Consider the following employee database, primary keys are under-lined :
1) Find the names of all employees who work for First Bank Corporation.
4) Find the names, street addresses, and cities of residence of all employees who work for First Bank
Corporation and earn more than $10,000.
5) Find all employees in the database who live in the same cities as the companies for which they work.
6) Find all employees in the database who do not work for First Bank Corporation.
7) Find the company and number of employees in company that has more than 30 employees.
13. Explain the three level Architecture of DBMS. Explain features of DBMS.
14. Who is DBA? Explain the responsibility of DBA.
15. Explain Database Languages (DDL, DML).
16. Define: (1) Data (2) Entity (3) Meta Data (4) Super key (5) Not Null (6) Primary key (7) Foreign key
17. Draw an Entity relationship diagram for the Hospital Management System.
18. Draw an Entity relationship diagram for the College Management System.
19. Consider following schema and write SQL for given statements.
Client_master (client_no, name, address, city, pincode, state)
Product_master (product_no, name, profitpercent, unitmeasure, sellprice, costprice)
Salesman_master (Salesman_no, name, address, city, pincode, state, salary, remarks)
1) Find out the names of all clients.
2) List are all the clients who are located in Mumbai.
3) Delete all salesman from salesman_master whose salaries are equal to Rs 3500.
4) Destroy the table client_master along with data.
5) List the name of all clients having ‘a’ as the second letter in their names.
6) Count the number of products having cost price is less than or equal to 500.
7) Calculate the average, min, max sell price of product.
20. Define view. Write syntax to create view. Give an example of view.
21. What is Relational Algebra? Enlist and Explain the fundamental operation of relational algebra.
22. Explain difference b/w strong entity set and weak entity set.
23. Explain disadvantages of file processing systems compare to DBMS
24. Describe GRANT and REVOKE commands with example.
25. List and Explain Aggregate functions of SQL with example.
26. What is constraint? Explain types of constraints.
27. What is Transaction? List and explain ACID property of transaction.
28. Consider following set F of functional dependencies on schema R (A, B, C) and compute canonical
cover for F. ( A->BC, B->C, A->B, AB->C).
29. Why should normalization be performed on a table and what are its benefits. Explain 1nf, 2nf, 3nf
and BCNF.
30. What is redundant functional dependency? Explain trivial and non trivial functional dependency
with example.
31. Explain system recovery procedure with checkpoint record concept.
32. Explain log based recovery model.
33. Explain conflict serializability and view serializability with example.
34. Consider schema R= (A, B, C, G, H, I) and set F of FD ( A->B, A->C, CG->H, CG->I, B->H) prove AG-> I.
holds.
35. Compute the closure set F of FD for relational schema R(A, B, C, D, E) (A->BC, CD->E, B->D, E->A).
List the candidate keys for R.
36. Elaborate Normalization. Explain any two normal forms with suitable example(s ).
37. What is Normalization? Normalize below given relation up to 3NF.
STUDENT: Stu Name City Pin code Project ID Project Course Content
Stu ID Name
S101 Ajay Surat 326201 P101 health programming C++,
Java,C
S102 Vijay Pune 325456 P102 social WEB HTML,PHP
,ASP