VIEW OTHER QUESTION PAPERS

Similar documents
DATABASE MANAGEMENT SYSTEMS

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Example Examination. Allocated Time: 100 minutes Maximum Points: 250

CS2255 DATABASE MANAGEMENT SYSTEMS QUESTION BANK UNIT I

1. (a) Briefly explain the Database Design process. (b) Define these terms: Entity, Entity set, Attribute, Key. [7+8] FIRSTRANKER

A7-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

Sankalchand Patel College of Engineering, Visnagar B.E. Semester III (CE/IT) Database Management System Question Bank / Assignment

Babu Banarasi Das National Institute of Technology and Management

Total No. of Questions :09] [Total No. of Pages : 02. II/IV B.Tech. DEGREE EXAMINATIONS, NOV/DEC Second Semester CSE/IT DBMS

CS6302- DATABASE MANAGEMENT SYSTEMS- QUESTION BANK- II YEAR CSE- III SEM UNIT I

B.C.A DATA BASE MANAGEMENT SYSTEM MODULE SPECIFICATION SHEET. Course Outline

Northern India Engineering College, New Delhi Question Bank Database Management System. B. Tech. Mechanical & Automation Engineering V Semester

Techno India Batanagar Computer Science and Engineering. Model Questions. Subject Name: Database Management System Subject Code: CS 601

Contact Hours / week: 4 Total hours: 64. Table of Contents Architecture 3 Data Modeling Using the Entity-

2011 DATABASE MANAGEMENT SYSTEM

Name :. Roll No. :... Invigilator s Signature : DATABASE MANAGEMENT SYSTEM

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Database Systems CSE Comprehensive Exam Spring 2005

NJIT Department of Computer Science PhD Qualifying Exam on CS 631: DATA MANAGEMENT SYSTEMS DESIGN. Summer 2012

Total No. of Questions :09] [Total No. of Pages : 02

SYED AMMAL ENGINEERING COLLEGE

GUJARAT TECHNOLOGICAL UNIVERSITY

ADVANCED DATABASES ; Spring 2015 Prof. Sang-goo Lee (11:00pm: Mon & Wed: Room ) Advanced DB Copyright by S.-g.

A7-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

Database Management Systems Paper Solution

Rajiv GandhiCollegeof Engineering& Technology, Kirumampakkam.Page 1 of 10

1. (a) Explain the Transaction management in a database. (b) Discuss the Query Processor of Database system structure. [8+8]

CS348: INTRODUCTION TO DATABASE MANAGEMENT (Winter, 2011) FINAL EXAMINATION

CS/B.Tech/CSE/New/SEM-6/CS-601/2013 DATABASE MANAGEMENENT SYSTEM. Time Allotted : 3 Hours Full Marks : 70

VALLIAMMAI ENGINEERING COLLEGE

Draw A Relational Schema And Diagram The Functional Dependencies In The Relation >>>CLICK HERE<<<

Database Management Systems (Solutions for Vol 1_Classroom Practice Questions)

PESIT Bangalore South Campus

CMSC 461 Final Exam Study Guide

Name :. Roll No. :... Invigilator s Signature : DATABASE MANAGEMENT SYSTEM

Birkbeck. (University of London) BSc/FD EXAMINATION. Department of Computer Science and Information Systems. Database Management (COIY028H6)

McGill April 2009 Final Examination Database Systems COMP 421

COSC Dr. Ramon Lawrence. Emp Relation

. : B.Sc. (H) Computer Science. Section A is compulsory. Attempt all parts together. Section A. Specialization lattice and Specialization hierarchy

Functional Dependencies CS 1270

CSE 444 Midterm Exam

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

Database Management Systems (Classroom Practice Booklet Solutions)

Examination paper for TDT4145 Data Modelling and Database Systems

Normalization. Murali Mani. What and Why Normalization? To remove potential redundancy in design

III/IV B.Tech (Regular) DEGREE EXAMINATION. Answer ONE question from each unit. 1. Answer all questions (1X12=12 Marks) a What is a relational model?

Unit- III (Functional dependencies and Normalization, Relational Data Model and Relational Algebra)

Queen s University Faculty of Arts and Science School of Computing CISC 432* / 836* Advanced Database Systems

Schema And Draw The Dependency Diagram

ROEVER ENGINEERING COLLEGE

Query Processing & Optimization. CS 377: Database Systems

CS 564 Final Exam Fall 2015 Answers

Unit 2. Unit 3. Unit 4

COURSE PLAN. Computer Science and Engineering. COURSE DETAILS Name Of The Programme:: B.Tech Batch:: Systems

Note: Select one full question from each unit

UNIT 3 DATABASE DESIGN

CSE 444, Winter 2011, Midterm Examination 9 February 2011

Database Systems. Answers

E.G.S. PILLAY ENGINEERING COLLEGE (An Autonomous Institution, Affiliated to Anna University, Chennai) Nagore Post, Nagapattinam , Tamilnadu.

COMP Instructor: Dimitris Papadias WWW page:

DBS 2006: 1 st week. DBS 2006: Plan. DB Life-Cycle: Requirement analysis. Data modelling: Conceptual Design. Logical Schema Design

CSE 444 Midterm Exam

1. Considering functional dependency, one in which removal from some attributes must affect dependency is called

Bachelor in Information Technology (BIT) O Term-End Examination

MaanavaN.Com DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING QUESTION BANK

VARDHAMAN COLLEGE OF ENGINEERING Shamshabad , Hyderabad B.Tech. CSE IV Semester (VCE - R11) T P C 3+1* -- 4 (A1511) DATABASE MANAGEMENT SYSTEMS

The Relational Model. Week 2

IMPORTANT: Circle the last two letters of your class account:

D.K.M COLLEGE FOR WOMEN(AUTONOMOUS),VELLORE DATABASE MANAGEMENT SYSTEM QUESTION BANK

1 (10) 2 (8) 3 (12) 4 (14) 5 (6) Total (50)

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Winter 2009 Lecture 4 - Schema Normalization

Database Systems. Lecture2:E-R model. Juan Huo( 霍娟 )

Midterm 2: CS186, Spring 2015

Functional dependency theory

KINGDOM OF SAUDI ARABIA-JAZAN UNIVERSITY COLLEGE OF COMPUTER SCIENCE & INFORMATION SYSTEMS 221 INFS 3 DATABASE SYSTEMS-1 REVIEW QUESTIONS


Database Applications (15-415)

M S Ramaiah Institute of Technology Department of Computer Science And Engineering

QUIZ 1 REVIEW SESSION DATABASE MANAGEMENT SYSTEMS

Score. 1 (10) 2 (10) 3 (8) 4 (13) 5 (9) Total (50)

DATABASE MANAGEMENT SYSTEM

CSCC43H: Introduction to Databases

The Relational Model. Chapter 3. Comp 521 Files and Databases Fall

IMPORTANT: Circle the last two letters of your class account:

Relational Database design. Slides By: Shree Jaswal

15CS53: DATABASE MANAGEMENT SYSTEM

Entity-Relationship Modelling. Entities Attributes Relationships Mapping Cardinality Keys Reduction of an E-R Diagram to Tables

CSE 344 Final Examination

Course Outline Faculty of Computing and Information Technology

DATABASE DESIGN I - 1DL300

Chapter 8: Relational Database Design

CS 5300 module6. Problem #1 (10 Points) a) Consider the three transactions T1, T2, and T3, and the schedules S1 and S2.

MIS Database Systems Entity-Relationship Model.

8) A top-to-bottom relationship among the items in a database is established by a

Entity-Relationship Model

The University of British Columbia Computer Science 304 Practice Final Examination

Final Examination. Course: CS 5703 Spring 1995.

FINAL EXAM REVIEW. CS121: Introduction to Relational Database Systems Fall 2018 Lecture 27

EECS-3421a: Test #2 Queries

Database Applications (15-415)

Transcription:

VIEW OTHER QUESTION PAPERS

E B4E0562 Reg No.: Name: Total Pages: 2 APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY FOURTH SEMESTER B.TECH DEGREE EXAMINATION, JULY 2017 Course Code: CS208 Course Name: PRINCIPLES OF DATABASE DESIGN (CS, IT) Max. Marks: 100 Duration: 3 Hours Limit answers to the required points. PART A Answer all questions. Each carries 3 marks. 1 What are the responsibilities of the DBA? (3) 2 Define the following terms: (3) i) Data model ii) Database schema iii) Meta-data 3 Consider the following ER diagram. Using this ER diagram create a relational database (primary keys are underlined). (3) 4 What are the different ways of classifying a DBMS? (3) PART B Answer any two questions. Each carries 9 marks. 5 With the help of a neat diagram explain the three-schema architecture of DBMS. (9) 6 Explain the following terms briefly: - (9) i) Participation constraint ii) Overlap constraint iii) Covering constraint 7 Consider the following database with primary keys underlined Suppliers ( sid, sname, address) Parts ( pid, pname, color) Catalog ( sid, pid, cost) sid is the key for Suppliers, pid is the key for Parts, and sid and pid together form the key for Catalog. The Catalog relation lists the prices charged for parts by Suppliers. Write relational algebra for the following queries: - i) Find then names of suppliers who supply some red part ii) Find the sids of suppliers who supply some red or green part iii) Find the sids of suppliers who supply some red part and some green part. (9) Page 1 of 2

E B4E0562 PART C Answer all questions. Each carries 3 marks. 8 What are the basic data types available for attributes in SQL? (3) 9 List the aggregate functions in SQL. (3) 10 Let E = {B A, D A, AB D} is a set of Functional Dependencies. Find a (3) minimal cover for E. 11 Define Boyce-Codd normal form(bcnf). Give an example of a relation that is in (3) 3NF but not in BCNF. PART D Answer any two questions. Each carries 9 marks. 12 Consider the following relations for bank database (Primary keys are underlined): Customer (customer-name, customer-street, customer-city) Branch (branch-name, branch-city, assets) Account (account-number, branch-name, balance) Depositor (customer-name, account-number) Loan (loan-number, branch-name, amount) Answer the following in SQL: i) Create tables with primary keys and foreign keys ii) Create an assertion for the sum of all loan amounts for each branch must be less than the sum of all account balances at the branch. (5) 13 Given R(A,B,C,D,E) with the set of FDs, F = {AB CD, ABC E, C A}. i) Find any two candidate keys of R ii) What is the normal form of R? Justify your answer. (3) (6) 14 a) What are Armstrong s axioms? (3) b) Write an algorithm to compute the attribute closure of a set of attributes (X) (3) under a set of functional dependencies (F). c) Explain three uses of attribute closure algorithm. (3) PART E Answer any four questions. Each carries 10 marks. 15 What are the different types of single-level ordered indices? Explain. (10) 16 a) What is a B + -tree? (2) b) Describe the structure of both internal and leaf nodes of a B + -tree of order p (8) 17 Differentiate between static hashing and dynamic hashing. (10) 18 How concurrency is controlled using Timestamp Ordering algorithm. (10) 19 Explain the concepts behind the following: - i) Log-Based Recovery ii) Deferred Database Modification. (5) (5) 20 a) What are the components of GIS? (3) b) Explain the characteristics of data in GIS. (3) c) What are the constraints in GIS? **** Page 2 of 2 VIEW OTHER QUESTION PAPERS

E E4810 Pages: 4 Reg No.: Name: APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY FOURTH SEMESTER B.TECH DEGREE EXAMINATION, APRIL 2018 Course Name: PRINCIPLES OF DATABASE DESIGN (CS, IT) Max. Marks: 100 Duration: 3 Hours Limit answers to the required points. PART A Answer all questions, each carries 3 marks. 1 List any three categories of database users, highlighting any one important Marks (3) characteristic of each category. 2 In a relationship of degree 2, how can we decide if an attribute of the (3) relationship can be moved to one of the entity sets? 3 Give suitable examples for multi-valued, composite and multi-valued composite (3) attributes. 4 Given the relations PROFESSOR(PID,PNAME, DEPT, SALARY) and (3) STUDENT(ROLLNO, NAME, CLASS, ADVISER) where ADVISER is a foreign key to PROFESSOR, write one equivalent relational algebra expressionfor each of the following: i. PNAME ( SALARY ii. SNAME( DEPT= C Course Code: CS208 Y>30000 (PROFESSOR)) CSE (STUDENT PROFESSOR)) ADVISER=PID PART B Answer any two full questions, each carries 9 marks. 5 a) Distinguish between total and partial participation constraints with the help of real examples. b) Describe the real-world situation described by the following ER diagram. (3) c) Re-draw the ER diagram in 5(b) replacing the (min,max) notation with the conventional notation showing cardinality and participation. 6 The relational schema for a library describing members, books and issue information is given below. Foreign keys have the same name as primary keys. BOOKS(ACC-NO, ISBN, TITLE, EDITION, YEAR) (2) Page 1 of 4

E E4810 Pages: 4 MEMBERS(MEMBERID, MEMBERNAME, MEMBERTYPE) ISSUEDTO(ACC-NO, MEMBERID, DATE OF ISSUE) Write relational algebra expressions for the following queries: a) Accession Number(s) and Name(s) of third edition books published in (2) 2018. b) Names and dates of issue of books taken by a member with name PRIYA. (3) c) Names of books not taken by any member. 7 a) Use the standard synthesis procedure to generate the set of relations corresponding to the ER diagram below. Identify primary and foreign keys of the generated relations. b) What is meant by referential integrity? How is it implemented using (5) foreign key? Illustrate using a real example. PART C Answer all questions, each carries 3 marks. 8 Consider two tables STUDENT(ROLLNO,NAME,CLASS) and (3) ENROLLMENT(ROLLNO,COURSENAME) where ROLLNO in ENROLLMENT is a foreign key referring to STUDENT. It is required that every time a STUDENTT tuple is deleted, all the ENROLLMENT tuples referring Page 2 of 4

E E4810 Pages: 4 to the deleted STUDENT tuple are also deleted. Write SQL statements to specify this foreign key requirement. 9 Illustrate use of assertions with an example. (3) 10 When do you say that two sets of functional dependencies are equivalent? (3) Give a brief explanation. 11 What is meant by transitive dependency? Given an example. (3) PART D Answer any two full questions, each carries 9 marks. 12 Consider the following relations: FACULTY(FNO, NAME, GENDER, AGE, SALARY, DNUM) DEPARTMENT(DNO, DNAME, DPHONE) COURSE(CNO, CNAME, CREDITS, ODNO) TEACHING(FNO, CNO, SEMESTER) DNUM is a foreign key that identifies the department to which a faculty belongs. ODNO is a foreign key identifying the department that offers a course. Write SQL expressions for the following queries: a) Course numbers and names of 3-credit courses offered by CS department. (2) b) Names of faculty members teaching maximum3 courses. (3) c) Names of departments along with number of courses offered by each of them, in the increasing order of number of courses; exclude departments which do not offer any course. 13 Given a relation R(A1,A2,A3,A4,A5) with functional dependencies A1 A2A4 and A4 A5, check if the decomposition R1(A1,A2,A3), R2(A1,A4), R3(A2,A4,A5)is lossless. (9) 14 a) For the relations listed below, write SQL statements for the updates that (5) follow. (Assume suitable domains for attributes.) ALBUMS(ALBUM-ID, ALBUM-NAME, PRODUCED-BY, YEAR) SONGS(SONG-ID, SONG-START, DURATION, ALBUM-ID) Update the year of the album with name SUHANA RATH to 2018. Delete the album YADON KI BAARISH along with all the songs in it. b) Briefly discuss 3NF and BCNF with suitable real examples. PART E Answer any four full questions, each carries 10 marks. 15 a) Distinguish between denseindex and sparseindex and give examples for each. Page 3 of 4

E E4810 Pages: 4 b) Consider an EMPLOYEE file with 10000 records where each record is of size 80 bytes. The file is sorted on employee number (15 bytes long), which is the primary key. Assuming un-spanned organization, block size of 512 bytes and block pointer size of 5 bytes, compute the number of block accesses needed for retrieving an employee record based on employee number if (i) No index is used (ii)multi-level primary index is used (6) 16 a) How is a B-Tree structurally different from a B+-Tree? (3) b) Write an explanatory note on clustering index by quoting an example. c) Show two non-canonical query trees for the following relational algebra expression: (3) ROLLNO, CID (COURSE ENROLL STUDENT)) COURSE.CID=ENROLL.CNO EROLL.ROLL#=STUDENT.ROLLNO 17 Consider three tables COURSE(CNO,CNAME,CREDITS), STUDENT(ROLLNO,NAME,ADDRESS,SEM) and ENROLLMENT (CNO,ROLLNO,GRADE). Foreign keys have the same name as primary keys. Identify one initial canonical query tree for the following SQL expression and show the steps to optimize it using heuristics. Assume that CNAME is a candidate key. SELECT S.NAME, S.ADDRESS, E.GRADE FROM COURSE C, STUDENT S, ENROLLMENT E WHERE S.ROLLNO =E.ROLLNO AND C.CNO = E.CNO AND CNAME= PDBD (10) 18 a) Determine if the following schedule is recoverable. Is the schedule cascadeless? Justify your answer. r1(x), r2(z), r1(z), r3(x), r3(y), w1(x), c1, w3(y), c3, r2(y), w2(z), w2(y), c2 (Note: ri(x)/wi(x) means transaction Ti issues read/write on item X; ci means transaction Ti commits.) b) Discuss the four ACID properties and their importance. (6) 19 a) Argue that two-phase locking protocol ensures serializability. (2) b) Illustrate how conflict serializability is checked using precedence graph with the help of an example. c) What is wrong with the following concurrent schedule? What is the solution? T1 issues read lock on Y and reads Y, T2 issues read lock X and reads X, T1 issues write lock on X, T2 issues write lock on Y. 20 a) Write explanatory notes on the following: (7) i) GIS ii) Big Data b) How does RDF support semantic web technology? (3) **** Page 4 of 4