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

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

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

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

Come And Join us At Worlds Top Study Site

Database Management

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

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

Fundamentals of Database Systems

CS403 - Database Management Systems Short Notes

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

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data.

DATABASE MANAGEMENT SYSTEMS

A7-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

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

Chapter 2: Intro to Relational Model

DBMS Chapter Three IS304. Database Normalization-Comp.

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

Applied Databases. Sebastian Maneth. Lecture 5 ER Model, normal forms. University of Edinburgh - January 25 th, 2016

Applied Databases. Sebastian Maneth. Lecture 5 ER Model, Normal Forms. University of Edinburgh - January 30 th, 2017

Database Management Systems Paper Solution

A l Ain University Of Science and Technology

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

Chapter 16. Relational Database Design Algorithms. Database Design Approaches. Top-Down Design


Schema Normalization. 30 th August Submitted By: Saurabh Singla Rahul Bhatnagar

Informal Design Guidelines for Relational Databases

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

Babu Banarasi Das National Institute of Technology and Management

The University of British Columbia

Vendor: CIW. Exam Code: 1D Exam Name: CIW v5 Database Design Specialist. Version: Demo

Lecture 11 - Chapter 8 Relational Database Design Part 1

Chapter 10. Normalization. Chapter Outline. Chapter Outline(contd.)

Mapping ER Diagrams to. Relations (Cont d) Mapping ER Diagrams to. Exercise. Relations. Mapping ER Diagrams to Relations (Cont d) Exercise

Systems Analysis and Design Methods Chapter 7: Data Modeling and Analysis

A l Ain University Of Science and Technology

1D0-541_formatted. Number: Passing Score: 800 Time Limit: 120 min File Version: 1.

DATA MODELING USING THE ENTITY-RELATIONSHIP MODEL. 1 Powered by POeT Solvers Limited

Chapter 9: Relational DB Design byer/eer to Relational Mapping Relational Database Design Using ER-to- Relational Mapping Mapping EER Model

Elmasri/Navathe, Fundamentals of Database Systems, Fourth Edition Chapter 10-2

Redundancy:Dependencies between attributes within a relation cause redundancy.

Midterm Exam (Version B) CS 122A Spring 2017

CS211 Lecture: Database Design

The Entity-Relationship Model (ER Model) - Part 2

Chapter 10. Chapter Outline. Chapter Outline. Functional Dependencies and Normalization for Relational Databases

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

Relational Data Model

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

The Entity Relationship Model

Chapter 2: Intro to Relational Model

A subquery is a nested query inserted inside a large query Generally occurs with select, from, where Also known as inner query or inner select,

Database Design Theory and Normalization. CS 377: Database Systems

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

High-Level Database Models (ii)

THE ENTITY- RELATIONSHIP (ER) MODEL CHAPTER 7 (6/E) CHAPTER 3 (5/E)

Chapter 3. The Relational database design

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

Course Outline Faculty of Computing and Information Technology

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

namib I A U n IVERS I TY

The Entity-Relationship Model

Steps in normalisation. Steps in normalisation 7/15/2014

The appendix contains information about the Classic Models database. Place your answers on the examination paper and any additional paper used.

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

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

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

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

Functional Dependencies and. Databases. 1 Informal Design Guidelines for Relational Databases. 4 General Normal Form Definitions (For Multiple Keys)

Module 2 : Entity-Relationship Model 15

Using High-Level Conceptual Data Models for Database Design A Sample Database Application Entity Types, Entity Sets, Attributes, and Keys

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Relational Database design. Slides By: Shree Jaswal

CS425 Fall 2016 Boris Glavic Chapter 2: Intro to Relational Model

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

THE RELATIONAL DATABASE MODEL

4. Entity Relationship Model

Review The Big Picture

Chapter 14. Database Design Theory: Introduction to Normalization Using Functional and Multivalued Dependencies

UNIT 3 DATABASE DESIGN

Unit 3 : Relational Database Design

Normalization. { Ronak Panchal }

We shall represent a relation as a table with columns and rows. Each column of the table has a name, or attribute. Each row is called a tuple.

FUNCTIONAL DEPENDENCIES

QUIZ 1 REVIEW SESSION DATABASE MANAGEMENT SYSTEMS

Normalisation. Normalisation. Normalisation

Essay Question: Explain 4 different means by which constrains are represented in the Conceptual Data Model (CDM).

EECS 647: Introduction to Database Systems

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

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

Chapter 8: Relational Database Design

Running Example Tables name location

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

Entity-Relationship Model. From Chapter 5, Kroenke book

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

Database Normalization. (Olav Dæhli 2018)

Wentworth Institute of Technology COMP2670 Databases Spring 2016 Derbinsky. Normalization. Lecture 9

RELATIONAL DATA MODEL

Database Management

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

Homework 3: Relational Database Design Theory (100 points)

High Level Database Models

Transcription:

Student Info StudentID: Center: ExamDate: MIDTERM EXAMINATION Spring 2010 CS403- Database Management Systems (Session - 4) Ref No: 1356458 Time: 60 min Marks: 38 BC080402322 OPKST 5/28/2010 12:00:00 AM For Teacher's Use Only Q No. 1 2 3 4 5 6 7 8 Total Marks Q No. 9 10 11 12 13 14 15 16 Marks Q No. 17 18 19 20 21 22 23 Marks

Question No: 1 ( Marks: 1 ) - Please choose one User rights information is stored in Physical database Catalog Logical database Buffer Question No: 2 ( Marks: 1 ) - Please choose one Making a change to the conceptual schema of a database but not affecting the existing external schemas is an example of Physical data independence. Concurrency control. Logical data independence. Functional dependency Question No: 3 ( Marks: 1 ) - Please choose one Which of the following is NOT a feature of Context DFD? one process (which represents the entire system) all sources/sinks (external entities) data flows linking the process to the sources and sinks (external entities) sub-processes (which explain and decomposed the major process into small processes) Question No: 4 ( Marks: 1 ) - Please choose one A relation (from the relational database model) consists of a set of tuples, which implies that all tuples in a relation must be distinct. relational model supports multi-valued attributes whose values can be represented in sets. for any two tuples, the values associated with all of their attributes may be the same. all tuples in a particular relation may have different attributes.

Question No: 5 ( Marks: 1 ) - Please choose one Choose the symbol that corresponds to a discriminator attributes. Question No: 6 ( Marks: 1 ) - Please choose one Identify the constraint that limits the values that can be placed in a column. NOT NULL CHECK FOREIGN KEY UNIQUE No Idea Question No: 7 ( Marks: 1 ) - Please choose one Given are the relations of student and Instructor Consider the following table obtained using Student and Instructor relations.

Which relational algebra operation could have been applied on the pair of relations Student and Instructor to obtain the above data? Instructor Student Student Instructor Instructor Student Student Instructor Question No: 8 ( Marks: 1 ) - Please choose one Identify the correct statement with respect to normalization. Normalization is a formal technique that can be used only at the starting phase of the database design. Normalization can be used as a top-down standalone database design technique. The process of normalization through decomposition must achieve the lossless join property at any cost whereas the dependency reservation property is sometimes sacrificed. The process of normalization through decomposition must achieve the dependency reservation property at any cost whereas the lossless join property is sometimes sacrificed. Question No: 9 ( Marks: 1 ) - Please choose one Consider the relation Interview(CandidateNo, InterviewDate, InterviewTime, StaffNo, RoomNo) and the following functional dependencies. FD1 : CandidateNo, InterviewDate -> InterviewTime, StaffNo, RoomNo FD2 : RoomNo, InterviewDate, InterviewTime -> StaffNo, CandidateNo FD3 : StaffNo, InterviewDate -> RoomNo Which of the following is correct? The relation Interview is in 3NF The relation Interview is in BCNF. The FD3 violates 3NF. The FD2 violates 2NF. Question No: 10 ( Marks: 1 ) - Please choose one Identify the INCORRECT statement among the given. An entity may be an object with a physical existence like a car, a house or an Employee. One cannot consider something which has conceptual existence like a course in a degree

program as an entity. Age can be considered as a single value attribute of a person. An entity type describes the schema or intension for a set of entities which share the same structure. Question No: 11 ( Marks: 1 ) - Please choose one Structural constraints of a relationship type refer to identifying the owner entity type relevant to a given entity type whether the existence of an entity depends on it being related to another entity via the relationship type. the role that a participating entity from the entity type plays in each relationship instance. the constraints applicable in granting access to tables, columns and views in a database schema. Question No: 12 ( Marks: 1 ) - Please choose one A collection of concepts that can be used to describe the structure of a database Database DBMS Data model Data Question No: 13 ( Marks: 1 ) - Please choose one An entity can be logically connected to another by defining a. hyperlink common attribute primary key superkey Question No: 14 ( Marks: 1 ) - Please choose one The constraint specifies whether each entity supertype occurrence must also be a member of at least one subtype. specialization uniqueness inheritance completeness Question No: 15 ( Marks: 1 ) - Please choose one Database management systems, operating systems, applications and utilities are all examples of. hardware

software computer infrastructure input and output Question No: 16 ( Marks: 1 ) - Please choose one Which of the following concepts is applicable with respect to 2NF? Full functional dependency Any kind of dependency Transitive dependency Non-transitive dependency Question No: 17 ( Marks: 2 ) What do you know about Insertion anomaly? Insertion anomaly indicates that we cannot insert a fact about one entity until we have an additional fact about another entity. Question No: 18 ( Marks: 2 ) Define domain of an attribute. In computing, the attribute domain is the set of values allowed in an attribute. For the relational model it is a requirement that each part of a tuple be atomic. The consequence is that each value in the tuple must be of some basic type, like a string or an integer. For the elementary type to be atomic it cannot be broken into more pieces. Question No: 19 ( Marks: 2 ) 1... 2... Label the following diagram Question No: 20 ( Marks: 3 ) Why do the relational data model considered as simple? The relational model for database management is a database model based on first-order predicate logic The relational model provide a declarative method for specifying data and queries: we directly state what information the database contains and what information we want from it, and let the database management system software take care of describing data structures for storing the data and retrieval procedures for getting queries answered Question No: 21 ( Marks: 3 ) What is the intersection operation in relational algebra?

The intersection operation also has the requirement that both the relations should be union compatible, which means they are of same degree and same domains. It is represented by. If R and S are two relations and we take intersection of these two relations then the resulting relation would be the set of tuples, which are in both R and S. Just like union intersection is also commutative. R _ S = S _ R INTERSECTION Example Question No: 22 ( Marks: 5 ) The following diagram describes a part of an ER diagram. Considering the above diagram, which of the given statements are True and which are False. i-entity2 is a weak entity. True

ii-cardinality ratio for Entity1:Entity2 in Rel1 is 1:N. True iii-attrib6 represents an attribute which is having composite nature. False iv-attrib3 is a kind of a derived attributes. True v-entity2 is participating totally in the Rel1 relationship. Question No: 23 ( Marks: 5 ) How to implement one-to-many relationship while designing tables? If the primary key in a parent table matches multiple foreign keys in a child table, then the relationship is one-to-many. This relationship is common in database applications. For example, an application for a sports league might access a team table and a player table. Each team has multiple players, and each player belongs to a single team. Every row in the child table (player) has a foreign key identifying the player's team. This foreign key matches the team table's primary key. When designing such entity beans, you must decide whether both tables are represented by entity beans, or just one.