Documente Academic
Documente Profesional
Documente Cultură
www.andhracolleges.com
1. (a) What is outer join ? What are its advantages over natural join? Give an
example.
(b) What is a domain constraint? Explain with an example.
2. (a) What are views? Discuss the problems encountered in modifying database
through views.
(b) What is an embedded SQL? Give examples.
3. (a) Construct a B tree of order 2 to maintain the keys 1,9,8,6,4,5 and 10.
[10+6]
[10+6]
(b) Show how 4 is replaced by 7 in the tree constructed in the above question.
[8+8]
4. (a) How does hybrid hash join improve upon the basic hash join algorithm.
(b) Give an example of how buffer replacement policies can affect the performance
of a join algorithm. [8+8]
www.andhracolleges.com
(b) Consider the following SQL queries for a bank DB
select T.branch name
from branch T,branch S
where T.assets> S.assets
and S.branch city = ”Chennai”
Write an efficient relational-algebra expression that is equivalent to this query.
Justify
(c) What is multiple equivalence. How is multiple transformation done by the
following query?
Πcustomer name ( σbranch city = ”Chennai”(branch X (account X depositor)))
[4+6+6]
www.andhracolleges.com
i. Conflict-serializable schedule
ii. View serializable schedule
iii. Strict schedule [3+3+4]
(b) State and Justify Thomas write rule and recoverability. [6]
⋆⋆⋆⋆⋆
www.andhracolleges.com
Seminar Topics - Scholarships - Admission/Entrance Exam Notifications
2 ofUSA-UK-Australia-Germany-France-NewZealand
2 Universities List
www.andhracolleges.com
1. (a) What is DBMS? Explain the advantages of DBMS.
(b) What is a data model? Explain the relational data model.
2. (a) What are views? Discuss the problems encountered in modifying database
through views.
(b) What is an embedded SQL? Give examples.
[2+5=7]
[3+6=9]
3. (a) Which of the three basic file organizations would you choose for a file where
the most frequent operations are as follows,
[10+6]
www.andhracolleges.com
(b) When must we create a nonclustering index despite the advantages of a clus-
tering index? Explain. [8+8]
5. (a) Discuss the reasons for converting SQL queries into relational algebra queries
before optimization is done.
(b) What is meant by query execution plan? Explain its significance. [10+6]
A → BC F →A
C →A
D →E E →D
8. (a) When a system recovers from a crash ? In what order must transaction be
Undone and Redone? Why is this order important?
www.andhracolleges.com
(b) What is a log in the content of DBMS? How does check pointing eliminate
some of the problems associated with log based recovery? [8+8]
⋆⋆⋆⋆⋆
www.andhracolleges.com
Seminar Topics - Scholarships - Admission/Entrance Exam Notifications
2 ofUSA-UK-Australia-Germany-France-NewZealand
2 Universities List
www.andhracolleges.com
1. (a) Distinguish between DDL and DML.
(b) Explain various integrity constraints.
[2+2+2+3]
[7]
3. (a) Which of the three basic file organizations would you choose for a file where
the most frequent operations are as follows,
i. Search for records based on a range of field values.
ii. Perform insert and scans where the order of records does not matter.
iii. Search for a record based on a particular field value.
(b) Define dense index.
www.andhracolleges.com
(c) How does multi level indexing improve the performance of searching an index
file. [6+4+6]
4. (a) Design a variant of the hybrid merge join algorithm for the case where both
relations are not physically sorted, but both have a sorted secondary index on
the join attributes.
(b) Show that with n relations, there are (2(n-1)) ! / (n-1) ! different join orders.
[8+8]
5. (a) Discuss the reasons for converting SQL queries into relational algebra queries
before optimization is done.
(b) What is meant by query execution plan? Explain its significance. [10+6]
6. (a) Construct an E-R diagram for university registrar’s office. The office maintains
data about each class, including the instructor, the enrollment and the time
and place of the class meetings. For each student class pair, a grade is recorded.
Determine the entities and relationships that exist between the entities. Also
construct the tabular representation of the entities and relationships.
(b) What is an entity type? What is an entityset? Explain the difference between
the entity, entity type and entityset? [10+6]
Seminar Topics - Scholarships - Admission/Entrance Exam Notifications
1 ofUSA-UK-Australia-Germany-France-NewZealand
2 Universities List
www.andhracolleges.com
⋆⋆⋆⋆⋆
www.andhracolleges.com
Seminar Topics - Scholarships - Admission/Entrance Exam Notifications
2 ofUSA-UK-Australia-Germany-France-NewZealand
2 Universities List
www.andhracolleges.com
1. (a) What is join ? Explain the several variants of join.
(b) Define the division operation in relational algebra. Show that it can be derived
from the primitive operations defined in the relational algebra.
2. (a) Explain with an example about Aggregate functions and grouping in SQL.
www.andhracolleges.com
4. (a) Explain external sort - merge algorithm.
(b) Discuss about estimation of the size of joins.
[5+5+6]
6. (a) Let R=(A,B,C,D,E) and let M be the following set of multivalued dependencies
A− >> BC
B− >> CD
E− >> AD
List the nontrivial dependencies in M+
(b) Describe the properties of normalized and unnormalized relations. [10+6]
⋆⋆⋆⋆⋆
www.andhracolleges.com
www.andhracolleges.com
Seminar Topics - Scholarships - Admission/Entrance Exam Notifications
2 ofUSA-UK-Australia-Germany-France-NewZealand
2 Universities List