DBMS imp questions SEM-1
DBMS imp questions SEM-1
Unit-1
Shorts:
1) What is DBMS? What are the goals of DBMS?
2) Define Database.
3) Quote examples for composite attributes.
4) What is Data model?
5) Define aggregation.
6) Write about Database Schema Vs Database state.
7) What is Relationship type? Give an example for binary relationship.
8) List the database applications.
Longs:
1) Compare and contrast file system Vs Database systems.
2) Explain Database users and functions of DBA.
3) Construct an ER diagram for online E-commerce application such as
Amazon. Incorporate all the features of entity relationship model.
4) List the disadvantages of file system.
5) Construct an ER diagram for collage admission systems. Try to
incorporate basic and advanced features of ER model.
6) Explain ER diagram and Relationships with example.
7) Outline DBMS Architecture with a neat sketch.
8) Prepare ER diagram for Library Database.
9) What is the importance of three schema architecture in Database
design.
10) Define data model. Explain various types of data model.
11) Construct ER diagram for a hospital with a set of patients and a set
of medical doctors . Associate with each patient a log of the various tests
and examinations conducted.
Unit-2
Shorts:
1) What is meant by Cardinality and degree of relation?
2) What are set operations on relation?
3) Write an example of candidate key.
Longs:
1) What is domain constraint explain with an example.
2) Define view. Explain how to create views.
3) Discuss the operators used in Relational Algebra to write queries for
data access.
4) Illustrate the use of join operation in Relational Algebra.
5) What is an integrity constraint? Discuss different integrity constraints
and their enforcement by DBMS.
6) Give the structure of Relational model.
7) Explain syntax and semantics of tuple relational calculus.
8) Why are constraints to be imposed on database design?
9) Explain Domain relational calculus.
10) Explain set manipulators in SQL.
Unit-3
Shorts:
1) Define trigger and list its 3 parts.
2) Discuss about 1NF,2NF,3NF.
3) State advantages of normal forms.
4) Explain simple query structure in SQL.
5) What is multi valued dependency?
6) Define functional dependency.
7) What is an active database?
Longs:
1) What is meant by partial functional dependency? Explain second normal
form.
2) Elaborate normalization. Explain any two normal forms with an example.
3) Differentiate Nested queries and Co-related queries with an example.
11) Consider the following schema.
Sailors(sid:int,sname:string,rating:int,age:int)
Reserves(sid:int,bid:int,day:date)
Boats(bid:int,bname:string,color:string)
a) Write a nested query to find the names of sailors who have reserved
both red and green boat.
b) Write a nested query to find the names of sailors who have reserved
all the boats.
4) Consider the following database schema in SQL.
EMP (eid,ename,ecity)
COMPANY (Cno,cname,ccity)
WORKS (eid,Cno,Salary)
a) Find the employees from Hyderabad.
b) Find the companies located in Warangal.
c) Find the employees working at Karimnagar.
d) Find the name of the employees getting maximum salary.
e) List the employee ids getting more than average salary of all the
employees.
5) Explain the problems caused by redundancy and suggest methods to
reduce redundancy.
6) Illustrate five aggregate operators of SQL.
7) Explain third normal form and BCNF with an example.
8) What is a trigger? Develop a trigger to allow DOB of employee greater
than his date of join.
9) What is decomposition? Explain the problems related to decomposition.
10) Differentiate row level and statement level triggers.
Unit-4
Shorts:
1) Define locking protocol.
2) Define transaction.
3) Give an example for serial schedule.
4) Define checking point.
5) What is starvation?
6) What is dirty read problem in concurrent execution of transaction?
7) What is serial schedule? Are all serial schedules recoverable?
8) List properties of transaction.
9) Define Compatibility function.
Longs:
1) Discuss about non-recoverable and recoverable schedules.
2) Illustrate concurrent execution of transaction with an example.
3) Explain ACID properties and illustrate them with an example.
4) Why concurrency control mechanism required in transaction
processing? Explain.
5) What are desirable properties of transaction.
6) Explain two phase locking technique used in concurrency control
mechanism.
7) Analyze deadlock recovery techniques.
8) Explain shadow copy scheme in detail.
9) How to perform undo operation in recovery algoritm?
10) Describe time stamp based protocol for concurrency control using
a suitable schedule.
11) Explain multiple granularity with ann example.
12) How to recover a system with concurrent transactions from crash?
Explain with illustrations.
Unit-5
Shorts:
1) What is a primary memory on disk?
2) What is a sparse index?
3) What is dense index?
4) Identify different indexing techniques.
5) Define hashing.
6) How indexing helps accessing the database fast?
7) Which indexing is better for SELECT operation hash based or Tree based?
8) List different types of failures.
Longs:
1) Discuss about different categories of Storage.
2) Explain B+ trees? Discuss about this dynamic index structure.
3) Classify different types of Failures in DBMS. Explain.
4) Find out the cost of basic file operations for Tree based indexing file
organization.
5) Discuss the file operations based on hash based indexing.
6) Compute the cost of search and insert operations for hash based
indexing file organization.
7) Explain tree based indexing file organization.
8) Explain linear hashing in detail.
9) Explain Clustered Vs Un clustered indexing.
10) Differentiate between linear probing and linear hashing.
11) Differentiate between primary and secondary index.