Q4. What are data model? Explain the different data model with examples. Q8. Differentiate physical and logical data independence data models.

Similar documents
DATABASE MANAGEMENT SYSTEMS. Question Bank:

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur

IT2305 Database Systems I (Compulsory)

IT2304: Database Systems 1 (DBS 1)

BCA. Database Management System

DBMS Questions. 3.) For which two constraints are indexes created when the constraint is added?

Physical Database Design and Tuning

1. Physical Database Design in Relational Databases (1)

Instant SQL Programming


10CS54: DATABASE MANAGEMENT SYSTEM

Bridge from Entity Relationship modeling to creating SQL databases, tables, & relations

Relational Databases

CS 377 Database Systems. Database Design Theory and Normalization. Li Xiong Department of Mathematics and Computer Science Emory University

Scheme G. Sample Test Paper-I

LiTH, Tekniska högskolan vid Linköpings universitet 1(7) IDA, Institutionen för datavetenskap Juha Takkinen

DBMS / Business Intelligence, SQL Server

Lesson 8: Introduction to Databases E-R Data Modeling

Database Design and Normalization

Question 1. Relational Data Model [17 marks] Question 2. SQL and Relational Algebra [31 marks]

Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model

Chapter 1: Introduction

Databases What the Specification Says

CSC 742 Database Management Systems

Databases and BigData

Elena Baralis, Silvia Chiusano Politecnico di Torino. Pag. 1. Physical Design. Phases of database design. Physical design: Inputs.

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT. COURSE CURRICULUM COURSE TITLE: DATABASE MANAGEMENT (Code: ) Information Technology

City University of Hong Kong. Information on a Course offered by Department of Computer Science with effect from Semester A in 2014 / 2015

Oracle Database: SQL and PL/SQL Fundamentals NEW

Introduction to Databases

Chapter 10 Functional Dependencies and Normalization for Relational Databases

B2.2-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

The Relational Model. Why Study the Relational Model? Relational Database: Definitions. Chapter 3

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

Oracle Database 11g SQL

not necessarily strictly sequential feedback loops exist, i.e. may need to revisit earlier stages during a later stage

CIS 631 Database Management Systems Sample Final Exam

14 Databases. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to:

MySQL for Beginners Ed 3

Databases -Normalization III. (N Spadaccini 2010 and W Liu 2012) Databases - Normalization III 1 / 31

Oracle 10g PL/SQL Training

DATABASE NORMALIZATION

Theory of Relational Database Design and Normalization

SQL Databases Course. by Applied Technology Research Center. This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases.

Chapter 10. Functional Dependencies and Normalization for Relational Databases

THE BCS PROFESSIONAL EXAMINATION Diploma. October 2004 EXAMINERS REPORT. Database Systems

INTRODUCTION TO DATABASE SYSTEMS

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer

Theory of Relational Database Design and Normalization

Review: Participation Constraints

A. TRUE-FALSE: GROUP 2 PRACTICE EXAMPLES FOR THE REVIEW QUIZ:

Introduction to Computing. Lectured by: Dr. Pham Tran Vu

Database Systems. National Chiao Tung University Chun-Jen Tsai 05/30/2012

7.1 The Information system

The Entity-Relationship Model

CS2Bh: Current Technologies. Introduction to XML and Relational Databases. The Relational Model. The relational model

Chapter 1: Introduction. Database Management System (DBMS) University Database Example

CHAPTER 2 DATABASE MANAGEMENT SYSTEM AND SECURITY

Concepts of Database Management Seventh Edition. Chapter 7 DBMS Functions

Chapter 5: Logical Database Design and the Relational Model Part 2: Normalization. Introduction to Normalization. Normal Forms.

MOC 20461C: Querying Microsoft SQL Server. Course Overview

SQL Server for developers. murach's TRAINING & REFERENCE. Bryan Syverson. Mike Murach & Associates, Inc. Joel Murach

TYPICAL QUESTIONS & ANSWERS

Introduction to Database Management Systems

Section of DBMS Selection & Evaluation Questionnaire

Oracle Database: SQL and PL/SQL Fundamentals NEW

The University of British Columbia

Oracle Database: SQL and PL/SQL Fundamentals

Part I: Entity Relationship Diagrams and SQL (40/100 Pt.)

Contents RELATIONAL DATABASES

Oracle SQL. Course Summary. Duration. Objectives

Database Management Systems. Chapter 1

There are five fields or columns, with names and types as shown above.

The Relational Model. Ramakrishnan&Gehrke, Chapter 3 CS4320 1

SQL DDL. DBS Database Systems Designing Relational Databases. Inclusion Constraints. Key Constraints

Modern Systems Analysis and Design

Normal Form vs. Non-First Normal Form

Schema Design and Normal Forms Sid Name Level Rating Wage Hours

Answer Key. UNIVERSITY OF CALIFORNIA College of Engineering Department of EECS, Computer Science Division

Would-be system and database administrators. PREREQUISITES: At least 6 months experience with a Windows operating system.

COSC344 Database Theory and Applications. Lecture 9 Normalisation. COSC344 Lecture 9 1

Physical Data Organization

Comp 5311 Database Management Systems. 16. Review 2 (Physical Level)

Chapter 7: Relational Database Design

SQL Server. 1. What is RDBMS?

The Relational Model. Why Study the Relational Model? Relational Database: Definitions

Demystified CONTENTS Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals CHAPTER 2 Exploring Relational Database Components

AV-005: Administering and Implementing a Data Warehouse with SQL Server 2014

Chapter 15 Basics of Functional Dependencies and Normalization for Relational Databases

RELATIONAL DATABASE DESIGN

FHE DEFINITIVE GUIDE. ^phihri^^lv JEFFREY GARBUS. Joe Celko. Alvin Chang. PLAMEN ratchev JONES & BARTLETT LEARN IN G. y ti rvrrtuttnrr i t i r

Schema Refinement and Normalization

Recovery System C H A P T E R16. Practice Exercises

Functional Dependency and Normalization for Relational Databases

Database Design Final Project

BCS THE CHARTERED INSTITUTE FOR IT BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT DATABASE SYSTEMS

Oracle Database: SQL and PL/SQL Fundamentals

Lecture 6. SQL, Logical DB Design

Fundamentals of Database System

Transcription:

FAQs Introduction to Database Systems and Design Module 1: Introduction Data, Database, DBMS, DBA Q2. What is a catalogue? Explain the use of it in DBMS. Q3. Differentiate File System approach and Database approach. Q4. What are data model? Explain the different data model with examples. Q5. Explain ER data model in brief with an example. Q6. What is representation data model? Explain. Q7. Explain the three schema architecture of DBMS. Q8. Differentiate physical and logical data independence data models. Q9. Explain briefly the steps involved in the development process of the database system. Q10. With a neat block diagram, explain the architecture of the RDBMS. Module 2: Entity Relationship Model Entity, Entity Set, Attribute, Relationship, Degree of a Relationship Q2. What are the different types of Attributes? Explain with examples. Q3. Give the diagrammatic notations for ER diagrams. Q4. What is the difference between weak entity and strong entity? Q5. What are Key Attributes? Explain the use of it in database system. Q6. Explain the different cardinality ratios possible in a binary relationship. Q7. Give example of an ER-diagram to show different cardinality ratios. Q8. What is a participation constraint? Differentiate between partial and total participation constraint with examples. Q9. Write a note on structural constraint in ER model. Q10. With an example, explain the attributes for a relationship type. Page 1 of 5

Q11. What are recursive relationships and what is use of role names in a recursive relationship. Q12. Discuss the design choices: Attributes Vs Relationships; Weak entity types Vs Composite multi valued attributes with an example. Q13. Write a note on ternary relationships. Module 3: Relational Data Model Relation, Relation scheme, Relational Instance, Super Key Q2. Differentiate between primary key and foreign key with an example. Q3. What are integrity constraints? Explain the different integrity constraints with examples. Q4. What are foreign keys and explain with an example, how are they useful in relating tables. Q5. What are the basic relational algebra operations? Explain. Q6. Give examples for different relational algebra operators. Q7. Write a note on Set operations on Relations. Q8. Give an example query to demonstrate cross product operation on relations. Q9. What are Join Operations? Explain the different types of join operations on relations. Q10. Show the usage of division operation on relations with an example. Q11. Discuss the different outer join operations on relations. Q12. Discuss the different steps to be performed to convert a given ER schema to relational schema. Module 3.1: Tuple Relational Calculus Q1. Differentiate between procedural query language and declarative query language. Q2. Explain the general form of a Tuple Relational Calculus expression and give its interpretation. Q3. Give some example TRC queries. Q4. What is the expressive power of TRC and Relational Algebra? Module 4: SQL standard Q1. What are the various components of SQL standard? Explain. Q2. How is Data defined in SQl? Explain with examples. Page 2 of 5

Q3. Discuss the different domain types in SQL-92 standard. Q4. Show with an example, how to specify the integrity constraints in SQL. Q5. Explain how to specify the referential integrity constraints in SQL. Q6. Show how to define a table in SQL with an example. Q7. Explain how to modify the defined table in SQL. Q8. What are the two possibilities that can be specified for DELETE operation in SQL? Explain. Q9. Explain with an example, how data manipulation is done using SQL. Q10. Explain how to write nested queries in SQL. Q11. What re the various set comparison operators used in SQL? Q12. What are correlated nested queries? Explain. Q13. What are uncorrelated nested queries? Explain. Q14. Explain the use of the following operators in SQL. EXISTS, NOT EXISTS Q15. What happens if a where clause is not there in a SQL query? Explain with an example. Q16. Explain the following operations: UNION, INTERSECTION, DIFFERENCE Q17. Mention the different aggregate functions used in SQL. Give examples. Q18. How data aggregation and grouping is done in SQL? Explain with an example. Q19. What is the use of HAVING clause in SQL queries? Give an example. Q20. Give some examples to show string operations in SQL. Q21. What are views? How to define Views in SQl? Q22. What are the operations allowed on Views? Give some examples to demonstrate it. Q23. Discuss the different restrictions on updating of views. Q24. How are data values inserted into tables? Give examples. Q25. Write a note on Embedded SQL. Page 3 of 5

Q26. What is Dynamic SQL? Explain. Module 5: Dependencies and Normal Forms Q1. How are Normal Forms related to database design? Explain in brief. Q2. Discuss the problems associated with the bad schema design. Q3. What are the different update anomalies? Explain with the help of examples. Q4. What are normal Forms? Explain. Q5. Give the definition of the following normal forms: 1NF, 2NF, 3NF Q6. What is Functional Dependency? Explain with help of an example. Q7. State the Armstrong s inference rules. Q8. What is fully functional dependency? Explain 2NF. Q9. What is transitive dependency? Explain 3NF. Q10. What is BCNF? How it is different from 3NF? Explain. Q11. Explain the desirable properties of Decomposition. Q12. Give the algorithm for testing the lossless property of decomposition. Q13. What is a minimal cover? Give the algorithm for computing the minimal cover. Q14. What is Multi-valued dependency? Explain 4NF. Module 6: Data Storage and Indexes Q1. Explain the structure of a disk. Q2. What are records? Discuss the different types of record usage in File system. Q3. How are data records packed into blocks? Explain. Q4. Explain the mapping of File Blocks onto the Disk Blocks. Q5. What are the different operations on Files? Explain. Q6. What is a Primary File organization? Explain. Q7. What are sequential files? Explain. Page 4 of 5

Q8. Write a short note on Hashing. Q9. What is Indexing? Differentiate between primary indexing and secondary indexing. Q10. Write a short note on B+ trees. Module 7: Transaction processing and Error recovery Transaction, Read operation, Write operation, DBMS Buffer Q2. What is concurrency control? Why it is needed? Q3. Explain the Lost update problem with an example. Q4. Explain the Temporary update problem with an example. Q5. Explain the incorrect summary problem with an example. Q6. Explain the different types of failures wrt transaction system. Q7. What is Recovery? Why is it required? Q8. Write the state transition diagram for transaction execution. Q9. What is System Log? Explain the use of it. Q10. Explain the meaning of commit point of a transaction. Q11. Discuss the desirable properties of a Transaction. Q12. What are the different types of Locks used in the concurrency control? Explain. Q13. Write a note on Two-phase Locking. Q14. Explain the following terms: REDO, UNDO, check points, rollbacks Q15. Discuss the different error recovery techniques. Page 5 of 5