PREVIOUS YEAR QUESTION PAPER

CS8303 – Database Management Systems

Anna University

Regulation 2012 Semester 3 2013

Question Paper Details

University Anna University
Degree B.E. Computer Science and Engineering
Department Computer Science and Engineering
Regulation Regulation 2012
Semester 3
Subject Code CS8303
Subject Name Database Management Systems
Exam Session November / December 2013
Duration 3 Hours
Maximum Marks 100

View Question Paper PDF

Access the previous year question paper for your examination preparation.

View / Download PDF

How to Use This Question Paper

More Question Papers

Browse other previous year question papers for this subject.

View All Subject Question Papers

Question Paper Intelligence

Automatically extracted historical question data. Academic accuracy and examination rules require verification.

4Extracted entries
100Maximum marks (metadata)
180Duration (minutes)
0Choice candidates

Part-wise extracted questions

Part A2
Part B2

Question type candidates

Other Or Unclassified3
Definition1

Section marks — arithmetic candidates

Part A20 marks
Part B80 marks

Examination marks pattern

PartRequired answersMarks per answerSection total
A10220
B51680

Estimated time allocation

Proportional to section marks. This estimate uses the full exam duration without a separate reading or revision reserve.

Section time budget

Part A36.0 min
Part B144.0 min

Question navigator

Extracted questions

Part A — 9

When it is preferable to use a dense index rather than a sparse index? oan உள உ ON =

Other Or Unclassified
Part A — 10

Define data mining.

Definition
Part B — 11

i. Describe the system structure of a database system with neat block diagram. (12) ர்‌. List out the differences between logical data independence and physical data independence. ்‌ (4)

Other Or Unclassified

Source quality review required

Part B — 12a

a) i. Construct an ER-diagram for keeping track of the exploits of your favorite sports team. You should store the matches played, the scores in each match, the players in each match, and individual player statistics for each match. (8) ii. Consider the relational database: - , employee(empname, street, city) works(empname, companyname, salary) company(companyname, city) manages(empname, managername) Write each of the following queries in Relational Algebra. e Find the names of all employees who work for City Bank Corporation (1) e Delete the tuples in the works relation for employees of Union Bank Corporation (2) e Give all managers in this database a 10 percent salary raise. (2) e Assume the companies may be located in several cities. Find all companies located in every city in which State Bank Corporation is located. (3) 13. 14. b) b) a) [OR] i. Consider the following relation Car_sale (car#, salesman, date_sold, commission, discount_ amount, color, manufacturing_location) Assume that the car may be sold by multiple salesman and hence (car#, salesman) is the primary key. Additional functional dependencies are: date_sold -> discount_amount, salesman-> commission, discount_amount ->commission car#, salesman ->> color, car#, salesman ->> manufacturing_location. Based on the given primary key, is the relation in 1NF, 2NF, 3NF and BCNF, 4NF? Why and why not? How would you successfully normalize it completely? (10) ii. Why 3NF is preferable than BCNF? Explain with a suitable example. (6) i. Consider the following relations which keep track of airline flight information: Flights(flno: integer, from: string, to: string, distance: integer, departs: time, arrives: time, price: real) Aircraft(aid: integer, aname: string, cruisingrange: integer) Certified(eid: integer, aid: integer) Employees(eid: integer, ename: string, salary: integer) Note that the Employees relation describes pilots and other kinds of employees as well; every pilot is certified for some aircraft, and only pilots are certified to fly. Write each of the following queries in SQL. உ Find the names of aircraft such that all pilots certified to operate them have salaries more than $80,000. (2) e Find the aids of all aircraft that can be used on routes from Los Angeles to Chicago. _ (2). உ Compute the difference between the average salary of a pilot and the average salary of all employees (including pilots). (2) உ Print the names of employees who are certified only on aircrafts with cruising range longer than 1000 miles. (3). e For each pilot who is certified for more than three aircraft, find the eid and the maximum cruising range of the aircraft for which she or he is certified.(3) ii. How is the security enforced in databases? (4) | | (OR) i. Explain the significance of triggers with other integrity constraints supported by i Discuss about views in SQL and the problems that may arise when updating the views with a suitable example. (8) i. Illustrate the locking protocols for concurrency control. (12) ii. Consider the precedence graph given below. Is the corresponding schedule is conflict serializable? State the reasons. (4) 15. த 8) b) [OR] i Illustrate the two Phase Commit protocol for recovery. (8) ii. Explain the deadlock prevention strategies. (8) i. Describe the steps involved in Query processing. | (6) ii. Let the relations r1(A,B,C) and r2(C,D,E) have the following properties : r1 has 20,000 tuples, r2 has 45,000 tuples, 25 tuples of r1 fiton one block, and 30 tuples of r2 fit on one block. Estimate the number of block accesses required, using each of the following join strategies for ₹1 29 r2: (10) உ Nested-loop join . e Block nested -loop join உ Merge Join e Hash Join [OR] i. Explain the architecture of a typical data warehouse and describe the various gomponents of data warehouse. (10) ii. Illustrate the guidelines for tuning the database. . (6)

Other Or Unclassified

Source quality review required

Advanced Examination Analysis

Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.