0% found this document useful (0 votes)
39 views3 pages

Database Management Systems

Very good

Uploaded by

namanpatra04
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
39 views3 pages

Database Management Systems

Very good

Uploaded by

namanpatra04
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 3
Course Title: Database Management Systems Duration: 03 Hours fe = DAYANANDA SAGAR UNIVERSITY none USN No:! V Semester B.Tech Examinations - December 2019 / January 2020 4 Course Code: 16€8302 / 16CT303 Date: 20-12-2019 Time: 10:00 AM to 01:00 PM Max Marks: 60 Note: 1. Answer 5 full questions choosing one from each Section 2. Each Section carries 12 Marks 3. Draw neat sketches wherever necessary 4, Missing Data may be suitably assumed SECTION -1 1a. What is database? Explain the implicit properties of a Database. (05 Marks) 1b. What is a participation role? When it is necessary to use role names in the description of relationship types? (07 Marks) OR 2.a. Describe the three schema architecture with block diagrams. Why do we need mapping between schema levels? (05 Marks) 2b. A database is being constructed to keep truck of the teams and games of a sports league. A team has a number of players, not all of whom participate in each game (partial participation). It is desired to keep track of the players participating in each game and the result of the game. Design on ER diagram for this application convert the ER diagram into tables (Relational schema) (07 Marks) SECTION - 2 3.a. Explain the different relational model constraints and possible violation during update operations. (06 Marks) 3.b, Write relational algebra for the following schema EMPLOYEE (NAME,SSN, ADDRESS, SEX, DNO, SUPERSSN, SALARY) DEPARTMENT (DNAME, DNO, MGRSSN , MGR_ START_DATE) ore a (06 Marks) PROJECT (PNAME, PNO, PLOCATION, DNO) WORKSON (SSN, PNO, HOURS) DEPENDENT ( SSN, DEPENDENT NAME, SEX, BDATE, RELATIONSHIP) Page 1 of 3 4a 4b. 5a. 5b. 6b. 7a. 7b. 70. (i) Retrieve the name of the employee and their superssn name ( boss name) (ii) Retrieve the name of the manager who have more than two dependents (iii) Find the name of employees who work on all the projects controlled by department 5 OR List the data types that are allowed for SQL2 attributes. (04 Marks) Write the sql query for the following db. Schema WORKS(PNAME,CNAME,SALARY) LIVES(PNAME,STREET,CITY) LOCATED_IN(CNAME, CITY) MANAGER(PNAME, MGRNAME) Find the name of all persons who live in the city ‘bangalore’ Retrieve the names of all persons-of ‘infosys’ whose salary is between Rs 500000 and 90000 Find the name of all persons who lives and work in same city List the names of the people who work for "tech M" along with the cities, they live in. (08 Marks) SECTION -3 What is functional dependency? (04 Marks) What is the need of normalization? Explain the first, secound and third normal forms with examples. (08 Marks) OR Consider the following two sets of functional dependencies F= {A-0C, AC-+D, E->AD, EH} and G= {A->CD, EAH} check whether they are equivalent. (06 Marks) For the following FD set E : {B-»A, D-A, ABD} find the minimal cover of E. (06 Marks) SECTION - 4 Define transaction. (02 Marks) Explain properties of a trarisaction with state transition diagram. (06 Marks) Explain ACID properties of a transaction. (04 Marks) oR Page 2 of 3 8b. 9a. 9b. 10.b. Briefly explain two phase locking. Write a note on Steal/Nosteal approach. SECTION - 5 With syntax explain Trigger. Consider the following schema stud (usn,name,marks) totalstud(noof stud, Total_marks), create a trigger which inserts the record in totalstud automatically when there is a insertion, updation and deletion. OR Write a note on database connectivity. Explain with syntax procedure in sql. (08 Marks) (04 Marks) (06 Marks) (06 Marks) (06 Marks) (06 Marks) Page 3 of 3

You might also like