What is DBMS? Describe the merits of using DBMS.
What is Data Model? What is the difference between hierarchical and network data model? what are its types?
Why indexing is essential in database? Differentiate dense index from sparse index with suitable example.
Discuss about materialized and pipelined evaluation of query expression in query optimization.
Explain with examples, how lost update and dirty read problems can occur in sentence of transactions?
How time stamp ordering protocol is used to ensure concurrency control?
What is the advantage and Disadvantage of using stored procedure? How can you create and execute stored procedure?
Attempt any TWO questions
[2x10=20]Design an ER diagram for Hospital System. Use your assumption for the selection attributes, entities and relationships. Show the use of total and partial participation along with the appropriate cardinalities.
Discuss the importance of normalization in DBMS. Describe 1NF, 2NF and 3NF with examples.
Consider a database system with following schemes:
Restaurant(Rname, Rlocation, Rfund)
Cook(Cname, Cspeciality)
Worksat(Cname, Rname, Workinghrs, Shift)
Food(Fname, Cname, Catagory)
Now write SQL statements and relational algebra statements for following Queries:
a) Select the name and location of all restaurants.
b) Find the working hours of cook named "Sita".
c) Select name of the foods cooked by "Ramesh".
d) Use join to select name of restaurants where food of category "breakfast" is available.
e) Find the name of cooks who work as "KFC"