B.Tech II Year I Semester (R15) Supplementary Examinations May/June-2019
DATABASE MANAGEMENT SYSTEMS
(Common to CSE & IT)
Time: 3 hours Max. Marks: 70
Note: 1. Question Paper consists of two parts (Part-A and Part-B)
2. Answering all sub questions from Part-A is compulsory
3. Answer any THREE questions from Part-B
PART – A (22 Marks)
-
- What is a database management system? Briefly explain the purpose of DBMS. (2M)
- Define weak entity set with example. (2M)
- What is a view? What are its advantages? (3M)
- Define functional dependency. (2M)
- Explain the purpose of embedded SQL. (2M)
- How to achieve atomicity? Explain briefly. (3M)
- Write about shadow paging. (3M)
- What are the advantages and disadvantages of B-tree index? (5M)
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
PART – B (48 Marks)
-
Explain E-R diagram components and give the E-R diagram for university database system.
-
Consider the following database:
employee(employee-name, street, city)
company(company-name, city)
works(employee-name, company-name, salary)
manages(employee-name, manager-name)
--- Content provided by FirstRanker.com ---
- Give an expression in SQL for each of the following queries:
- Find the names of all employees who work for SP FirstRanker.com National FirstRanker.com Insurance FirstRanker.com Company.
- Find the names of all employees who live in the same city and on the same street as do their managers.
- Find the names of all employees who earn more than every employee of Small Bank Corporation.
- Assume that the companies may be located in several cities. Find all companies located in every city in which Small Bank Corporation is located.
--- Content provided by FirstRanker.com ---
-
Consider relation R = {A, B, C, D, E, H} and the set of functional dependencies {A → B, BC → E, ED → H, A → C, C → D}
- Compute the closure of A+.
- Is {A} a candidate key for R?
- Is {BC} a candidate key for R?
--- Content provided by FirstRanker.com ---
-
Explain in detail about different normal forms with examples.
-
Explain the following:
- Transaction state diagram.
- ACID properties.
--- Content provided by FirstRanker.com ---
-
Explain the following:
- Static Hashing.
- Dynamic Hashing.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
WWW.FirstRanker.com
--- Content provided by FirstRanker.com ---