Part Bunit 1
Part Bunit 1
1. Explain the system structure of a database system with neat block diagram. (R) (DEC 2007),
(MAY 2010) (MAY 2012)
2. What is a data model? Explain various data model for describing the design of a database at the
logical level. (U) (APRIL 2008), (MAY 2010)
3. Explain the different between physical and logical data independence with an example. (U)(APRIL 2008)
5. Describe the three-schema architecture. Why do we need mapping between schema Levels? How
do different schema definition languages support this architecture? (R) (DEC 2008)
6. What is the notation used in E-R diagram? Explain the E-R model structure
with Example.(U)(NOV 2014)
7. Explain the role and functions of the database administrator. (R)
iv. Views
10 .Develop an Entity Relationship model for a library management system. Clearly State the
problem Definition, Description, Business Rule and any assumption you make. (AP)
(MAY 2009) (NOV 2014)
(iii) Develop a View that will keep track of the department number, the number of
employees in the department, and the total basic pay expenditure for each
department.
(iv) Develop an SQL query to list the details of employees who have worked in more
than three projects on a day.
15. Explain how dangling tuple may arise and also explain problems that they Cause. (U)
(MAY 2008)
16. Briefly present a survey on Integrity and Security. (U) (MAY 2012)
17. Create an EMPLOYEE table and write the steps for various functions in an SQL Like
add, update, delete, save and join the various attributes of an EMPLOYEE Table.
(C)(MAY 2007)
18. Explain the use of trigger with your own example. (U) (MAY 2010)
19. What is a view? How can it be created? Explain with an example. (R) (MAY 2010)
20. Briefly present a survey on Integrity and Security. (U) (MAY 2012)
21. Consider a student registration database comprising of the given
below table schema.(AP)(Nov/Dec2015)
Student File
Course File
Professor File
Professor Number Name Office
Registration File
Consider a suitable example of tuples/records for the above mentioned tables and
write DML statements (SQL) to answer for the queries listed below:
22. Let relations r1(A,B,C)and r2(C,D,E) have the following properties r1 has 20000
tuples r2 has 45000 tupes ,25 tuples of r1, fit on one block and 30 tuples of r2 fit on one block
.Estimate the number of block transfers and seeks required,using each of the following join
strategies for r1∞r2:
a. Nested loop join
b. Block Nested loop join
c. Merge join
23. Consider the relation schema given in fig1.Design and draw an ER diagram
that capture the information of this schema.(5)(Apr/May-2017)
Employee(empno,name,office,age)
Books(isbn,title,authors,publisher)
Loan (empno, isbn,date)
Write the following queries in relational algebra and SQL.
a. Find the names of employees who have borrowed a book published by McGraw-
PAR Explain the E-R model structure with
T
1. What is the
notation used in (U)(NOV 2014)
E-R diagram? 2. Develop an Entity Relationship model for a library management system. Clearly
State the problem
Definition, Description, Business Rule and any assumption you make. (AP)
(MAY 2009) (NOV 2014)
3. Develop an Entity Relationship model preparation staff (chef) and
finalize the customer‗s bill. The Food preparation staffs (Chefs), with their
touch-display interfaces to the system, are able to view orders sent to the kitchen
by waiters. During preparation, they are able to let the waiter know the status of
each item, and can send notifications when items are completed. The system
should have full accountability and logging facilities, and should support
Supervisor actions to account for exceptional circumstances, such as a meal
being refunded or walked out on. (AP) (Dec2015)
4. Distinguish between lossless-join decomposition and dependency preserving
decomposition(7)
5. State and explain the architecture of DBMS.Draw the ER diagram for banking
systems.(Home loan Application)(13)(Nov/Dec-2017)
PART – B
3. What is Deadlock? List and discuss the four conditions for Deadlock. (R)
A
=
0
t
h
e
n
B
:
=
B
+
1
;
W
r
i
t
e
(
B
)
.
T2:read(B);
Read (A);
If B=0 then A:=A+1;
Write (A).
Add lock and unlock instruction to transactions T1 and T2,so that they
observe the two phase locking protocol. Can the execution of these
transactions result in a deadlock?(AP)
(NOV 2016)
PART B
2. What are the steps involved in query processing? How would you estimate
the cost of the query? (U) (MAY 2007)
9. Eplain how the RAID systems improve performance and reliability. (U)(DEC
2007)
10. Describe the structure of B+ tree and list the characteristics of a B+tree.(U)
PART B
Transaction Id Items
T1 HotDogs,Buns,Ketchup
T2 HotDogs,Buns
T3 HotDogs,Coke,Chips
T4 Chips,Coke
T5 Chips,Ketchup
T6 HotDogs,Coke,Chips