Вы находитесь на странице: 1из 1

Code No: R5410410 R5

IV B.Tech I Semester(R05) Supplementary Examinations, November 2010


DATA BASE MANAGEMENT SYSTEMS
(Common to Electronics & Communications Engineering, Electronics & Instrumentation
Engineering, Electronics & Control Engineering and Electronics & Computer Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????

1. (a) Why would choose a database system instead of simply storing data in operating system files ?
When would it make sense not to use a database system?
(b) What is logical data independence and why is it important? [8+8]
2. (a) What is a foreign key constraint? Why are such constraints important? What is referential
integrity?
(b) How many distinct tuples are in a relation instance with cardinality 22? [8+8]
3. (a) Write the three algorithms for Indices?
(b) Write queries for the following using the given information. [9+7]
Emp Name DOB DOJ Emp Salary Bonus DOR
Buelin 06-12-1983 07-08-2005 15000 600 07-08-2055
Andy 12-01-1970 06-12-1973 20000 1200 06-12-2043
Lubber 07-08-1985 12-04-2006 13000 500 12-04-2056
Zobra 08-02-1960 07-03-1982 25000 1500 07-03-2032
i. Find months between employee DOJ and DOR from emp-schema? SQL) Select months between
(?12-jan-05?, 05-jul-60?) from emp Schema;
ii. Create new salary table using the ampno, empname, and empsalary from existing table?
SQL) Create table salary as select empno, empname, empsalary from emp schema;
iii. Arrange empnames in ascending and descending order? SQL) select empname from emp schema
order by empname desc; SQL) select empname from emp schema order by empname asc;
4. (a) What is Normaliztion?give types of normalization
(b) What are the advantages of normalized relations over the un normalized relations? [8+8]
5. (a) What is a transaction? explain the terms related to transaction: Atomicity, Consistency, Isolation
& Durability [8]
(b) Write briefly on terms
i. Blind write
ii. Dirty read
iii. Recoverable schedule
iv. Unrepeatable read. [8]
6. (a) Discuss the Undo & redo operations & recovery techniques that use each. [6]
(b) How the use of 2PL would prevent interference between the two transactions.
[5]
(c) Explain 3 main properties of ARIES Algorithm [5]
7. Give an example of a database application in which the reserved-space method of representing variable-
length records is preferable to the pointer method. Explain your answer. [16]
+ +
8. Explain about the B− tree and the structure of B− tree in detail with an example.
[16]

?????

Вам также может понравиться