Professional Documents
Culture Documents
r059210506 Data Base Management Systems
r059210506 Data Base Management Systems
1
II B.Tech I Semester Supplementary Examinations, February 2007
DATA BASE MANAGEMENT SYSTEMS
( Common to Computer Science & Engineering, Information Technology
and Computer Science & Systems Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆
3. For the following relational database, give the expressions in SQL. [16M]
student (stuno, stuname, major,level,age)
Class(Classname, meets at, Room, fid)
Faculty(fid,fname,deptid)
(a) Find the names of all students who are enrolled in two classes that meet at
the same time?
(b) Find the age of the oldest student who is either a history major or is enrolled
in a course taught by I.Teach?
(c) Find the names of all classes that either meet in room R128 or have five or
more students enrolled?
(d) Find the names of faculty members who teach in every room in which some
class in taught?
(e) Find the names faculty name for whom the combined enrolment of the course
that they teach is less then five?
(f) Print the level and the average of students for that level?
(g) Print the level and the average of students for that level, for each level except
JR?
(h) Find the names of student who are enrolled in the maximum number of classes
4. (a) Define BCNF. How does BCNF differ from 3NF? Explain with an example.
(b) Explain 3nf? Give one example? [8+8]
5. (a) Define the concept of schedule for a set of concurrent transaction. Give a
suitable example. [8M]
1 of 2
Code No: R059210506 Set No. 1
(b) Explain read-only, write-only & read-before-write protocols in serialazability.
[8M]
⋆⋆⋆⋆⋆
2 of 2
Code No: R059210506 Set No. 2
II B.Tech I Semester Supplementary Examinations, February 2007
DATA BASE MANAGEMENT SYSTEMS
( Common to Computer Science & Engineering, Information Technology
and Computer Science & Systems Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆
3. (a) What are the SQL constructs to modify the structure of tables, views and to
destroy the tables and views?
(b) Explain new insertion, deletion and updating of database is performed in the
relational algebra. [8+8]
5. (a) How does the recovery manager ensure atomicity of transaction? How does it
ensure durability [7M]
(b) Define the terms
i. Conflict serialazable schedule
ii. View serialazable schedule
iii. Strict schedule [9M]
⋆⋆⋆⋆⋆
1 of 1
Code No: R059210506 Set No. 3
II B.Tech I Semester Supplementary Examinations, February 2007
DATA BASE MANAGEMENT SYSTEMS
( Common to Computer Science & Engineering, Information Technology
and Computer Science & Systems Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆
1. Discuss the basic issues in the design of an E-R database schema. [16]
3. For the following relational database, give the expressions in SQL. [16M]
student (stuno, stuname, major,level,age)
Class(Classname, meets at, Room, fid)
Faculty(fid,fname,deptid)
(a) Find the names of all students who are enrolled in two classes that meet at
the same time?
(b) Find the age of the oldest student who is either a history major or is enrolled
in a course taught by I.Teach?
(c) Find the names of all classes that either meet in room R128 or have five or
more students enrolled?
(d) Find the names of faculty members who teach in every room in which some
class in taught?
(e) Find the names faculty name for whom the combined enrolment of the course
that they teach is less then five?
(f) Print the level and the average of students for that level?
(g) Print the level and the average of students for that level, for each level except
JR?
(h) Find the names of student who are enrolled in the maximum number of classes
6. (a) can a second end checkpoint record be encountered during the Analysis phase.
[5M]
(b) How is checkpointing done in ARIES. [6M]
1 of 2
Code No: R059210506 Set No. 3
(c) What are the similarities & difference between checkpoint & fuzzy dumps.
[5M]
⋆⋆⋆⋆⋆
2 of 2
Code No: R059210506 Set No. 4
II B.Tech I Semester Supplementary Examinations, February 2007
DATA BASE MANAGEMENT SYSTEMS
( Common to Computer Science & Engineering, Information Technology
and Computer Science & Systems Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆
3. For the following relational database, give the expressions in SQL. [16M]
Sailor schema (sailor id, sailorname, rating, Age)
Reserves (sailor id, Boat)id, day)
Boat Schema(Boat id, boatname, color)
1 of 2
Code No: R059210506 Set No. 4
(b) Explain about lock based concurrency control mechanism in brief. [7M]
6. (a) What are the two tables used in crash recovery along with log record. Explain
with suitable example. [8M]
(b) What are the different fields of log record. Explain each in brief. [8M]
8. What is the difference between primary index and a secondary index? Explain in
detail. [16]
⋆⋆⋆⋆⋆
2 of 2