Code No: 813AP R13
--- Content provided by FirstRanker.com ---
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
MCA III Semester Examinations, August - 2017
DATABASE MANAGEMENT SYSTEMS
Time: 3 Hours Max. Marks: 60
Note: This question paper contains two parts A and B.
--- Content provided by FirstRanker.com ---
Part A is compulsory which carries 20 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 8 marks and may have a, b, c as sub questions.
PART - A 5 x 4 Marks =20
- a) What is view? How does a view support logical data independence? [4]
- b) What aggregate operators does SQL supports? Explain. [4]
- c) What are the advantages of normalized relations over the unnormalized relations? [4]
- d) What is transaction? In what ways is it different from an ordinary program? Define ACID properties. [4]
- e) What is the difference between a primary index and a secondary index? What is a duplicate data entry in an index? Can a primary index contain duplicates? [4]
--- Content provided by FirstRanker.com ---
PART -B 5 x 8 Marks = 40
- a) Explain the difference between external, internal, and conceptual schemas. How are these different schema layers related to the concepts of logical and physical data independence? Which of the following plays an important role in representing information about the real world in a database? Explain briefly. [4+4]
- i) DDL
- ii) DML
- iii) Data model.
--- Content provided by FirstRanker.com ---
OR
b) Explain different constructs that adds expressiveness to the ER Model? - a) What are integrity constraints? Define the terms primary key constraint and foreign key constraints. [5+3]
- b) Consider the following schema:
Suppliers (sid: integer, sname: string, address: string)
--- Content provided by FirstRanker.com ---
Parts (pid: integer, pname: string, color: string)
Catalog (sid: integer, pid: integer, cost: real)
The key fields are underlined. The Catalog relation lists the prices charged for parts by suppliers. Write the following queries in relational algebra, tuple relational calculus, and domain relational calculus.
- a) Find the names of suppliers who supply some red part.
- b) Find the sids of suppliers who supply every part.
- c) Find the pids of parts supplied by at least two different suppliers.
- d) Find pairs of sids such that the supplier with the first sid charges more for some part than the supplier with the second sid. [8]
--- Content provided by FirstRanker.com ---
OR
- a) What is nested queries? What is correlation in nested queries? How would you use the operators IN, EXISTS, UNIQUE, ANY, and ALL in writing nested queries? Why are they useful? Illustrate your answer with example.
- b) Why can triggers be hard to understand? Explain the difference between triggers and integrity constraints, and describe when you would use triggers over integrity constraints and vice versa. What are triggers used for? [4+4]
- a) Define 1NF, 2NF, 3NF and BCNF. What is the motivation for putting a relation in BCNF? Consider a relation R with five attributes ABCDE. You are given the functional dependencies: A —>B, BC —> E, and ED —> A.
- List all keys for R.
- Is R in 3NF?
- Is R in BCNF? [5+3]
OR
--- Content provided by FirstRanker.com ---
- b) Differentiate functional dependency, multi valued dependency and join dependency. Explain 5NF with example. [8]
- a) Contrast timestamps used for deadlock prevention vs. concurrency control. Distinguish between 2PL and strict 2PL protocols. [3+5]
OR
- b) How does recovery manager ensure atomicity of transactions? When a system recovers from a crash? In what order must transaction be undone and redone? Why is this order important? [3+5]
- a) Explain the difference between hash indexes and tree indexes. Explain the different file organization methods. [3+5]
OR
- b) Explain the following.
- a) Indexed sequential access method.
- b) Extendable hashing. [4+4]
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
---00000---
This download link is referred from the post: JNTUH MCA 3rd Sem Last 10 Years 2023-2013 Question Papers R20-R09 || Jawaharlal nehru technological university
--- Content provided by FirstRanker.com ---