A7-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

Similar documents
DATABASE MANAGEMENT SYSTEMS

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

CS2255 DATABASE MANAGEMENT SYSTEMS QUESTION BANK UNIT I

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

A7-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

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

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

2011 DATABASE MANAGEMENT SYSTEM

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

DATABASE MANAGEMENT SYSTEM SHORT QUESTIONS. QUESTION 1: What is database?

Data about data is database Select correct option: True False Partially True None of the Above

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

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

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

Mahathma Gandhi University

CMSC 461 Final Exam Study Guide

Distributed Database Systems By Syed Bakhtawar Shah Abid Lecturer in Computer Science

Basant Group of Institution

15CS53: DATABASE MANAGEMENT SYSTEM

MaanavaN.Com DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING QUESTION BANK

Final Review. Zaki Malik November 20, 2008

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

CS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010

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

DATABASE MANAGEMENT SYSTEM

ROEVER ENGINEERING COLLEGE

Unit 2. Unit 3. Unit 4

Midterm Exam (Version B) CS 122A Spring 2017

SYED AMMAL ENGINEERING COLLEGE

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

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

Assignment Session : July-March

Database Management Systems Paper Solution

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

CPS510 Database System Design Primitive SYSTEM STRUCTURE

CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam

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

VIEW OTHER QUESTION PAPERS

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

CIS 330: Applied Database Systems. ER to Relational Relational Algebra

MIDTERM EXAMINATION Spring 2010 CS403- Database Management Systems (Session - 4) Ref No: Time: 60 min Marks: 38

Why Study the Relational Model? The Relational Model. Relational Database: Definitions. The SQL Query Language. Relational Query Languages

Review for Exam 1 CS474 (Norton)

Database Management

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

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

Course Outline Faculty of Computing and Information Technology

CT13 DATABASE MANAGEMENT SYSTEMS DEC 2015

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

Lecture #8 (Still More Relational Theory...!)

Midterm 2: CS186, Spring 2015

II B.Sc(IT) [ BATCH] IV SEMESTER CORE: RELATIONAL DATABASE MANAGEMENT SYSTEM - 412A Multiple Choice Questions.

Functional Dependencies CS 1270

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

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

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

SYED AMMAL ENGINEERING COLLEGE

Solved MCQ on fundamental of DBMS. Set-1

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

Administrivia. CS186 Class Wrap-Up. News. News (cont) Top Decision Support DBs. Lessons? (from the survey and this course)

Relational Algebra. Note: Slides are posted on the class website, protected by a password written on the board

Fundamentals, Design, and Implementation, 9/e Copyright 2004 Database Processing: Fundamentals, Design, and Implementation, 9/e by David M.

B.H.GARDI COLLEGE OF MASTER OF COMPUTER APPLICATION. Ch. 1 :- Introduction Database Management System - 1

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

Solutions to Final Examination

CSE 444, Winter 2011, Midterm Examination 9 February 2011

Database Management Systems (Classroom Practice Booklet Solutions)


Database Management Systems (CS 601) Assignments

Goals for Today. CS 133: Databases. Final Exam: Logistics. Why Use a DBMS? Brief overview of course. Course evaluations

; Spring 2008 Prof. Sang-goo Lee (14:30pm: Mon & Wed: Room ) ADVANCED DATABASES

Midterm Exam #2 (Version A) CS 122A Winter 2017

Principles of Data Management. Lecture #9 (Query Processing Overview)

Midterm Exam #1 Version A CS 122A Winter 2017

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

Relational Algebra. Study Chapter Comp 521 Files and Databases Fall

CMP-3440 Database Systems

EGCI 321: Database Systems. Dr. Tanasanee Phienthrakul

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

Lecture 2 SQL. Instructor: Sudeepa Roy. CompSci 516: Data Intensive Computing Systems

M2-R3: BUSINESS SYSTEMS. NOTE: There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions.

Relational Query Languages. Preliminaries. Formal Relational Query Languages. Example Schema, with table contents. Relational Algebra

CSE344 Final Exam Winter 2017

Chapter 4. The Relational Model

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

Review -Chapter 4. Review -Chapter 5

In This Lecture. Exam revision. Main topics. Exam format. Particular topics. How to revise. Exam format Main topics How to revise

The Relational Model. Chapter 3

Introduction to Database Systems. Announcements CSE 444. Review: Closure, Key, Superkey. Decomposition: Schema Design using FD

VU Mobile Powered by S NO Group All Rights Reserved S NO Group 2013

The Relational Model. Chapter 3. Database Management Systems, R. Ramakrishnan and J. Gehrke 1

Database Applications (15-415)

Database Management


The University of British Columbia Computer Science 304 Practice Final Examination

UNIT: 1 INTRODUCTION AND CONCEPTUAL MODELLING

SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF COMPUTING DEPARTMENT OF CSE COURSE PLAN

Schema Refinement and Normal Forms

Relational Model. Topics. Relational Model. Why Study the Relational Model? Linda Wu (CMPT )

Transcription:

A7-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS NOTE: 1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions. 2. PART ONE is to be answered in the TEAR-OFF ANSWER SHEET only, attached to the question paper, as per the instructions contained therein. PART ONE is NOT to be answered in the answer book. 3. Maximum time allotted for PART ONE is ONE HOUR. Answer book for PART TWO will be supplied at the table when the answer sheet for PART ONE is returned. However, candidates, who complete PART ONE earlier than one hour, can collect the answer book for PART TWO immediately after handing over the answer sheet for PART ONE. TOTAL TIME: 3 HOURS TOTAL MARKS: 100 (PART ONE 40; PART TWO 60) PART ONE (Answer all the questions) 1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the tear-off answer sheet attached to the question paper, following instructions therein. (1 x 10) 1.1 In a relational database a referential integrity constraint is specified with the help of A) Primary key B) Foreign key C) Secondary key D) Consistency checking 1.2 A view of a database that appears to an application program is known as A) Report B) Structure C) Subschema D) Scheme 1.3 Which of the following is not a logical database structure? A) Network B) Relational C) Chain D) Tree 1.4 The tables generated on compilation of data definition language (DDL) are stored in A) Data abstraction B) Data dictionary C) Data file D) Meta file 1.5 Suppose a relational table R (A, B, C, D, E) have three distinct rows, then cardinality and degree of this relation is A) 5, 3 B) 3, 5 C) 3, 3 D) 5, 5 A7-R3 Page 1 of 5 July, 2008

1.6 Every Boyce-Code Normal Form (BCNF) is in A) Third Normal Form (3NF) B) First Normal Form (1NF) C) Second Normal Form (2NF) 1.7 Two schedules are conflict equivalent if A) Involve the same actions of the same transactions B) Every pair of conflicting actions is ordered the same way C) Both A) and B) 1.8 The decomposition of R into X and Y is lossless-join w.r.t. F if and only if the closure of F contains A) X Y X B) X Y Y C) Both A) and B) 1.9 Consider the functional dependencies: - A B, BC D, then closure of AC i.e. (AC) + is A) A B) AB C) AC D) ABCD 1.10 A multi-level indexing may lead to A) Binary tree B) Deadlock C) Transaction failure D) B-Tree A7-R3 Page 2 of 5 July, 2008

2. Each statement below is either TRUE or FALSE. Choose the most appropriate one and ENTER in the tear-off sheet attached to the question paper, following instructions therein. (1 x 10) 2.1 Relational data model is the most widely used model today. 2.2 A weak entity can be identified uniquely only by considering super key of owner entity. 2.3 Views can be used to present necessary information (or a summary), while hiding details in underlying relation(s). 2.4 Relations do not contain any duplicate topics. 2.5 A relation is said to be in the third normal form if it is already in the second normal form and every determinant is a candidate key. 2.6 The difference of two relations A and B is a new relation which consists of all the topics of A which are not in B. 2.7 Transaction that holds a shared lock can not be upgraded to hold an exclusive lock. 2.8 The decomposition of R into UV and R - V is lossless-join if U V holds over R. 2.9 If R is decomposed into X, Y and Z, and we enforce the FDs that hold on X, on Y and on Z, then only some FDs that were given to hold on R must also hold. 2.10 Concurrency control protects against simultaneous access to a single record by multiple users. 3. Match words and phrases in column X with the closest related meaning/ word(s)/phrase(s) in column Y. Enter your selection in the tear-off answer sheet attached to the question paper, following instructions therein. (1 x 10) X 3.1 Natural join A. Granularity 3.2 Integrity provisions B. A description of a particular Y collection of data, using a given data 3.3 Microsoft Access C. Equivalent to Cartesian product 3.4 Entity-Relationship Model D. DBA 3.5 Normalization E. Deadlock detection 3.6 Assertions F. Hierarchical model 3.7 Audit Trail G. Used to design the database structure for a particular application 3.8 Schemas H. Ensures that data remains consistent with itself 3.9 Wait-for graph I. Rationalizes the structure of the tables in the entity-relationship model 3.10 Locking level J. Changes should be stored K. Duplicate columns are removed L. Relational model M. Database schema constraints N. Duplicate rows are removed O. Relation A7-R3 Page 3 of 5 July, 2008

4. Each statement below has a blank space to fit one of the word(s) or phrase(s) in the list below. Enter your choice in the tear-off answer sheet attached to the question paper, following instructions therein. (1 x 10) A. COMMIT B. ROLLBACK C. Attribute D. Data Dictionary E. Triggers F. Nested query G. DBMS H. Normalization I. Tuple J. NULL K. Schema L. E-R diagram M. CANCEL 4.1 A(n) is a named column of a relation. 4.2 is a software system that enables users to define, create and maintain the database and provides controlled access to this database. 4.3 is when a SELECT statement embedded within another SELECT statement. 4.4 A(n) is a row of a relation. 4.5 The command in SQL marks the finalization of a database transaction. 4.6 is the process of organizing data to minimize redundancy and remove ambiguity. 4.7 The is a SQL command which cancels/undoes the proposed changes in a pending database transaction and marks the end of the transaction. 4.8 are special type of stored procedures executed automatically when certain events take place. 4.9 The SQL keyword is used to represent a missing value. 4.10 is a catalog of all the attributes for a data set, along with all the constraints placed on the attribute values during the data definition phase. A7-R3 Page 4 of 5 July, 2008

PART TWO (Answer any FOUR questions) 5. a) What is the difference between logical data independence and physical data independence? b) Explain the procedure to perform ER-to Relational mapping with the help of a suitable example. c) Compare the following: Weak-entity set Vs Strong entity set Super key Vs Foreign key 6. a) Consider the following Sailors and Reserves relations R (sid, bid, day) S (sid, sname, rating, age) I) Formulate the following queries using relational algebra: i) Find names of sailors who ve reserved boat #XXX. ii) Find sailors who ve reserved a red or a green boat. iii) Find the names of sailors who ve reserved all boats. II) Formulate the following queries using SQL: i) Find sid s of sailors who ve reserved a red or a green boat. ii) Find names of sailors who ve reserved boat #XXX. iii) Find sailors whose rating is greater than that of some sailor called XYZ. b) Explain, how referential integrity is enforced in SQL. (12+3) 7. a) What is the purpose of VIEW operation in SQL? Explain how is it created. List its advantages. b) Suppose we have a relation ABCD with some FD s F as follows: F = AB C, C D, D A. Compute closures A+, C+, (AB)+, (AC)+ and all FD s(functional dependencies) that follow from F. c) Explain BCNF with the help of an example. 8. a) State the conditions for the two schedules to be equivalent. Define a serializable schedule. b) Explain, how cascaded rollback can be avoided? c) Define necessary conditions for the occurrence of deadlock. How it can be avoided? (6+3+6) 9. a) Explain the basic objectives of database security. Who is responsible for overall security? Discuss two main approaches to DBMS security. b) Explain timestamp based concurrency control algorithm. c) What causes a transaction to fail? List the tasks of recovery manager. Discuss recovery using log records. A7-R3 Page 5 of 5 July, 2008