B.TECH (C.S.E) Semester: Vth SUBJECT CODE: BCS-502 Subject Name: Data Base Management System ___________________________________________________ Time : 3 HOURS Maximum Marks: 70 NOTE: THE QUESTION PAPER CONTAINS THREE SECTIONS ATTEMPT ALL THE SECTIONS: SECTION- A NOTE: Attempt all parts of the following question. (14 Marks) Q. 1. Answer the following questions: (1x7 = 7 Marks) I. What DBMS? II. What is cursor? III. Explain generalization. IV. Define data abstraction. V. Write are the characteristics of SQL? VI. What is the purpose of views in SQL? VII. Differentiate between the weak and strong entity.
(01) P.T.O
Q. 2. Answer the following questions: (1x7 = 7 Marks)
I. What is Specialization? I. State the Armstrong inference rules. Provide suitable II. Define data redundancy. examples to describe each. III. What do you mean by attribute? OR IV. Mention the responsibilities of DBA. Define the following terms: V. Explain Natural Join With Example. (a). Integrity constraints (b). Foreign key VI. List the disadvantages of file system. VII. Explain trigger with suitable example. (c). DDL (d). DML
SECTION-B II. Discuss the various anomalies associates with relational
NOTE: Attempt all the questions. (7x2x2 = 28 Marks) database management system by giving suitable Q. 3. Answer the following: (7x2=14) examples. I. Compute the closure of the following set of functional dependencies for relation scheme. R= {A, B, C, D, E}. OR A→BC Discuss two phase locking protocol with suitable example. CD→E B→D SECTION-C E→A NOTE: Attempt any two questions. (14x2 = 28 Marks) Find the candidate key, prime attributes and non-prime Q. 5. Answer one of the following: (14x1=14) attribute. Write SQL statements for following: OR Student (Enrno, name, courseId, emailId, cellno) State 1NF, 2NF & 3NF and explain with examples. Course (courseId, course_nm, duration) (a) Add a column city in student table. II. Consider the following tables (b) Find out list of students who have enrolled in “computer” P Q R course. A B C A B C J (c) List name of all courses with their duration. a b c c b a J1 (d) List name of all students start with “a”. OR b c a b a c J2 With a neat diagram, explain the structure of database management system. c a b b c a J3 Q. 6. Answer one of the following: (14x1=14) Perform the following relational algebra operations. What is Entity set? And also define Relationship set. List (a).P U Q (b). P ∩ Q (c).P - Q (d). P × R and explain the symbols used to draw ER Diagram. OR OR What is a data model? Describe various data models. Describe the properties of the transaction. Explain serializability with suitable example. (02) P.T.O (03) P.T.O Q. 4. Answer the following: (7x2=14)