Essay Question: Explain 4 different means by which constrains are represented in the Conceptual Data Model (CDM).
|
|
- Ashlee Cunningham
- 5 years ago
- Views:
Transcription
1 Question 1 Essay Question: Explain 4 different means by which constrains are represented in the Conceptual Data Model (CDM). By specifying participation conditions By specifying the degree of relationship (1:1, 1:n, or n:m) By specifying entity unique identifiers By specifying additional constraints Question 2 Briefly explain the different options usually available when specifying the system action in response an attempted deletion of a referenced tuple that would result in violating of the referential integrity constraint. Restrict: Disallow the deletion. Cascade: propagate the deletion by deleting all referring tuples. Default: perform the deletion and apply a predefined default value in place of the deleted value in the referring tuples. Question 3 Briefly explain the main drawbacks of the client-multi-server approach of distributed database management The user must manage the connections to remote servers The user must be aware of where the data is located, thus losing the desirable property of location transparency Question 4 Explain three important advantages of SQL routines. SQL routines provide the following advantages: Security: only execute privileges can be given to users, without any other explicit privileges. This enhances security. Efficiency: SQL routines can be stored on the server side, thus resulting in lower network traffic
2 The separation of concerns: developers will spate the internal details of how a certain procedure is implemented from the way it is used. Question 5 Briefly explain what is meant by a lost dependency (also called a hidden dependency), and how this problem can be corrected. A lost dependency is a situation that arises due to the incompatibility of normalization and the preservation of all functional dependencies in the ER diagram. It results in not being able to directly represent some functional dependencies in the ER diagram, thus losing part of the problem specifications. This problem can be corrected by specifying constraints in the additional constraints section to restore the lost dependencies. Question 6 Explain what was the type of interface that was provided in the old file systems approach? The old file systems approach used a type of physical interface whereby the user/application developer had to know the physical locations of the various items in the file in order to retrieve the desired information. All information was retrieved based on their position in the file. Question 7 What was the main disadvantage of this old style of interface? The main disadvantage of such an interface was the high program maintenance overhead in response to changes in the file structure. Changes in the file structures would require re-coding all application programs that referred to affected areas of the original file, resulting in much wasted effort and expense. Question 8 Explain what is meant by logical interface, why it is an improvement over the interface utilized in the old file systems approach? A logical interface is one that does not require the user to refer to data items by location; rather, data items are retrieved based on their logical structure
3 and predefined names. It was an improvement over the interface utilized in the old file systems approach because it avoids having to re-code applications in response to changes in the file structures. Since items are referred to logically, the item references will remain valid in the face of physical file changes. Question 9 How (i.e. in what form) the logical interface is implemented in modern Relational Database Management Systems (RDBMS)? Give an example of a logical request to a relational database. It is implemented in modern relational databases through the relational model and its widely used language SQL. As an example, to retrieve the names and addressed of all students, we might issue the SQL statement: select name, address from student. Question 10 Explain what is meant by unproductive maintenance problem in the old file system approach and how the database approach addresses it. Unproductive maintenance occurs in the old file system approach when applications programs need to be maintained or re-written due to restructuring in the underlying file that is unrelated to the current application and does not lead to any improvements in it. It is usually related to additional requirements in other application programs, resulting in the need to restructure the underlying file(s). This problem is addressed in database management systems by introducing the concept of data independence in which application programs are independent of the file structures. Question 11 Describe briefly the differences between the Information Systems (IS), Information management (IM), and Information Technology (IT) strategies. Information Systems (IS) strategy is focused on the business improvement and what it can be brought about by application of appropriate information systems. The Information Management (IM) strategy focuses on people and the management aspects of the information systems. Finally, the Information Technology (IT) strategy focuses on what technologies should be used, and on the development aspects of the technology.
4 Question 12 Explain the statement: join is a refinement of Cartesian product. Suppose we wish to join tables S(A, B) and T(C, D) on attributes B and C. Write a simple SQL query to make the join using a refinement of Cartesian product. A Cartesian Product operation produces all possible pairs of tuples. We can achieve the effect of join by further restricting the result of the Cartesian product to ensure that the join attributes coming from both tables fulfill the join condition. SELECT * FROM S, T WHERE S.B = T.C; Question 13 The basic operation to normalize a table R regardless of which normal form is to identify an offending functional Dependency (FD) then to successively split it into two tables until all tables are normalized. Describe how this can be done in such a way to guarantee non-loss decomposition? We proceed in each step by projecting R: First, over the left- and right-hand sides of the FD to give S, and then over all the attributes of R except those which form the right-hand side of FD, to give T. This process guarantees non-loss decomposition by the theory of I.J.Heath. Question 14 Explain four different means by which the relational model can represent constraints. 1. By specifying primary keys 2. By specifying foreign keys 3. By specifying alternate keys 4. By specifying general constraints 5. By specifying domains
5 Question 15 In the pure relational model, explain why we can t represent a relationship type by a posted foreign key when both sides of the relationship have optional participation constraints. The pure relational model requires all fields to have a value. No matter which side we use to post a foreign key, we will not be able to guarantee the optional participation since this will require the posted foreign key to have no value. Question 16 Explain the statement: The HAVING clause is to groups what the WHERE clause is to rows. The having clause operates at the level of groups, meaning that each group if filtered individually by applying the condition in the HAVING clause to it. If the group as whole passes the test, it is included in the result, otherwise, it is rejected. The WHERE clause operates at the level of rows, meaning that each row is filtered individually by applying the condition in the WHERE clause to it. If it passes the test, it is included in the result. Question 17 A query written using subqueries can often be re-written using joins and vice versa. Discuss when are subqueries necessary, when are joins necessary, and what factors affect the choice when both options are feasible. A join is necessary when the final table includes data from both tables because fields in tables referred to only inside a subquery are inaccessible in the SELECT Clause. A subquery is necessary when a comparison is to be made with an aggregate function applied to the second table or lists of values from all the rows because this requires two levels of evaluation, not available in queries with joins only. When there is a genuine choice between a join and a subquery, there are two factors to consider: Which formulation seems more naturally based on the English request. Which formulation is likely to be most efficient Question 18 Explain the concept of isolation levels and why this is needed in databases where concurrent access is required? What is the highest isolation level? Isolation levels refer to the ability to define multiple levels of concurrency which differ in how strictly concurrently running transactions are isolated from each other
6 and to also define the level of concurrent access for a transaction. User-selectable isolation levels allow a choice between accuracy of data and speed of execution. The highest level of isolation is known as serializable isolation, which guarantees serializable execution of a transaction. Lower isolation levels may result in one of the concurrency problems occurring, but generally allow quicker execution. Question 19 Discuss the role played by the concept of separation of concerns in modern database management. The separation of concerns facilitates the design of database systems by allowing the designers to focus more on data representations, requirements and processing. The separation of concerns also simplifies the task for programmers developing user processes because it relives them from having to consider all the concerns simultaneously. It also results in facilitating ad hoc querying because the DBMS can translate a logical user query into the more complex physical requirements of the underlying computer system. Finally it leads to logical data independence which in turn results in reduced unproductive maintenance. Question 20 Which data quality issue(s): accuracy, completeness, timeliness, relevance, understandability and trust ability is (are) being compromised in each of the following situations? Explain why? i. The Student Information System does not record the history of the transactions on student marks, including the time and identity of the user who changed your marks in the system. Un-trusted. If an authorized person can maliciously alter students marks in the system without ever being identified, we lose trust in the system. ii. A system posts a notice for a cancelled lecture 5 minutes before the lecture starts Un-timely. Finding out a cancelled lecture only 5 minutes before the lecture is useless to avoid travel to the university. iii. Your request for your course marks returns the marks of all students in a different course. Irrelevant and un-trusted. Irrelevant because it is for a different class, and un-trusted because a system that reveals student marks to unauthorized persons does not convey trust. iv. The registrar wishes to choose a suitable room for a certain class. A request to the system returns a listing of all rooms in the first floor with the designation small or large. Incomplete and not understandable. How about other floors? And what do the terms
7 small or large mean? Question 21 Describe the three key activities of the waterfall model applied to database development. Explain, for each key activity, what document is produced at the end of the activity. 1. Establishing requirements: the users are interviewed and documents are examined to determine the user requirements. The end product is a requirements document that is important as it acts as a contract between the user and the developer. 2. Data analysis: is the process of converting the requirements document into a conceptual data model that is independent of the implementation environment. Its end product is the conceptual data model and it is important because its acts as a formal system specification throughout the development process to follow. 3. Database design: is the process of developing a system-specific design for the intended database. Its end product is the logical schema and it is important because it forms the basis of the subsequent system implementation. Question 22 Explain what is meant by weak entity types in a conceptual data model? A weak entity type is an entity type whose entities cannot exist without the existence of another identifying entity type. Question 23 Explain one key advantage of using SQL routines in database development. 1. Centralizing the location of functionality: Routines are held in a central place in the database and are made accessible to all applications. In case the definition of a routine needs to be changed, it will need to be updated only once, not in many places. 2. Improving security: Instead of granting access rights to all users, we can only grant execute right to the stored routines, which will help control the types of access allowed for the users. 3. Improving Efficiency: Routines that are defined within the database on the server side do not need to use communication networks between the client and the server, and therefore improving efficiency. Question 24 Explain what is meant by Data Type Definition (DTD) in the context of the extended Markup Language (XML).
8 A DTD is a way to define the structure or type of an XML document and to define which documents represent valid instances of this definition. Question 25 Explain what is meant by transaction management and why it is important in a multi-user E-nvironment? Transaction management aims to eliminate the interference between multiple operatio on the same data while allowing a maximum amount of availability. In especially important in multi-user environments because it allows multiple users to access and update the database efficiently without risk if interference among their transactions. Question 26 Explain why a compiled program including embedded SQL statements is not portable across different DBMSs from different Vendors? It would not be portable because the compiled SQL code would be specific to the DBMS for which it was compiled. The Open Data Base Connectivity (ODBC) approach has been developed to overcome this limitation. Question 27 Explain why a composite query involving a correlated nested sub-query can be inefficient. A composite query involving a correlated nested sub query can sometimes be inefficient because the subquery will need to be evaluated many times, once for each tuple considered in the outer query. For example, returning the employees whose salary is higher than the average salary of all employees in his/her department will require the average salary for each department to be evaluated once for each employee in it. Question 28 Explain when you would need to add a general constraint to a relational database definition in the theoretical database model. A general constraint would be needed if the constraint cannot be represented in the E-R model or if a relationship with a mandatory participation condition is implemented using a posted foreign key from the mandatory side to the other side.
9 Question 29 Explain when it would be necessary to use a subquery as opposed to using a join? A subquery is necessary when a comparison is to be made with an aggregate function applied to the second table or lists of values from all the rows. Question 30 Briefly explain the two possible outcomes of a transaction in a transaction management system, and why are transactions needed in a shared environment? The two possible outcomes are: 1. The transaction succeeds and all its statements are carried out, or 2. One of its statements fails resulting in all the changes made getting rolled back. Transactions are needed in a shared environment to prevent different processes from interfering with each other in such a way that incorrect results are produced. Question 31 Briefly explain the main benefits of producing a normalized database. 1. Reducing unnecessary redundancy 2. The elimination of insertion, deletion and update anomalies Question 32 Briefly explain the main phases of developing a database system using the waterfall model. 1. establishing requirements, produces the data requirement specifications 2. data analysis, produces the conceptual model 3. database design, resulting in the logical schema 4. implementation, resulting in an initial schema and database 5. testing against the requirements specifications, resulting in the released schema and database 6. maintenance, a continuous activity Question 33 Explain the main advantages of using procedures in database systems. 1. Improving security by giving only execution rights to procedures on critical data. 2. Improving performance since procedures can be stored on the server, eliminating the
10 need to transfer large data sets to/from the server. 3. Achieving a better measure for the separation of concerns. Explain the difference between cascade, default and restrict options when deleting a references tuple that would result in violating referential integrity. Question 34 Explain how the global and distribution schemas are used in a distributed database system? A global schema is like a logical schema for the entire database while a distribution schema is like a storage schema which defines where data is located. They are used to provide a single unified logical schema for the entire database and to help achieve location transparency, where the user is not required to be aware of where the data is located. Question 35 What is the different between a table and a relation? Mention the relatedrules Arelation is an abstract concept consisting of a set of tuples of attribute values in any Order. Provided that it obeys the following rules, a table might be aconcrete depiction of a relation Rule 1: atomic entries Rule 2: consistent column values Rule 3: unique column names Rule 4: distinct rows Rule 5: insignificance of order
11 AMSWER :
12
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,
Sub queries 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, Result of the inner query is passed to the main
More informationRajiv GandhiCollegeof Engineering& Technology, Kirumampakkam.Page 1 of 10
Rajiv GandhiCollegeof Engineering& Technology, Kirumampakkam.Page 1 of 10 RAJIV GANDHI COLLEGE OF ENGINEERING & TECHNOLOGY, KIRUMAMPAKKAM-607 402 DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING QUESTION BANK
More informationTechno India Batanagar Computer Science and Engineering. Model Questions. Subject Name: Database Management System Subject Code: CS 601
Techno India Batanagar Computer Science and Engineering Model Questions Subject Name: Database Management System Subject Code: CS 601 Multiple Choice Type Questions 1. Data structure or the data stored
More informationThe DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data.
Managing Data Data storage tool must provide the following features: Data definition (data structuring) Data entry (to add new data) Data editing (to change existing data) Querying (a means of extracting
More information8) A top-to-bottom relationship among the items in a database is established by a
MULTIPLE CHOICE QUESTIONS IN DBMS (unit-1 to unit-4) 1) ER model is used in phase a) conceptual database b) schema refinement c) physical refinement d) applications and security 2) The ER model is relevant
More informationDatabase Management
Database Management - 2011 Model Answers 1. a. A data model should comprise a structural part, an integrity part and a manipulative part. The relational model provides standard definitions for all three
More informationAssignment Session : July-March
Faculty Name Class/Section Subject Name Assignment Session : July-March 2018-19 MR.RAMESHWAR BASEDIA B.Com II Year RDBMS Assignment THEORY ASSIGNMENT II (A) Objective Question 1. Software that defines
More informationMIDTERM EXAMINATION Spring 2010 CS403- Database Management Systems (Session - 4) Ref No: Time: 60 min Marks: 38
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
More informationSankalchand Patel College of Engineering, Visnagar B.E. Semester III (CE/IT) Database Management System Question Bank / Assignment
Sankalchand Patel College of Engineering, Visnagar B.E. Semester III (CE/IT) Database Management System Question Bank / Assignment Introductory concepts of DBMS 1. Explain detailed 3-level architecture
More informationData about data is database Select correct option: True False Partially True None of the Above
Within a table, each primary key value. is a minimal super key is always the first field in each table must be numeric must be unique Foreign Key is A field in a table that matches a key field in another
More informationBabu Banarasi Das National Institute of Technology and Management
Babu Banarasi Das National Institute of Technology and Management Department of Computer Applications Question Bank (Short-to-Medium-Answer Type Questions) Masters of Computer Applications (MCA) NEW Syllabus
More informationCourse Outline Faculty of Computing and Information Technology
Course Outline Faculty of Computing and Information Technology Title Code Instructor Name Credit Hours Prerequisite Prerequisite Skill/Knowledge/Understanding Category Course Goals Statement of Course
More informationCS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam
CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam Question No: 1 ( Marks: 1 ) - Please choose one Which of the following is NOT a feature of Context DFD?
More informationVALLIAMMAI ENGINEERING COLLEGE
VALLIAMMAI ENGINEERING COLLEGE III SEMESTER - B.E COMPUTER SCIENCE AND ENGINEERING QUESTION BANK - CS6302 DATABASE MANAGEMENT SYSTEMS UNIT I 1. What are the disadvantages of file processing system? 2.
More informationReview -Chapter 4. Review -Chapter 5
Review -Chapter 4 Entity relationship (ER) model Steps for building a formal ERD Uses ER diagrams to represent conceptual database as viewed by the end user Three main components Entities Relationships
More informationUnit 2. Unit 3. Unit 4
Course Objectives At the end of the course the student will be able to: 1. Differentiate database systems from traditional file systems by enumerating the features provided by database systems.. 2. Design
More informationA7-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS
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
More informationCS352 Lecture - Concurrency
CS352 Lecture - Concurrency Objectives: Last revised 11/16/06 1. To introduce locking as a means of preserving the serializability of concurrent schedules. 2. To briefly introduce other approaches to this
More informationWhere Are We? Next Few Lectures. Integrity Constraints Motivation. Constraints in E/R Diagrams. Keys in E/R Diagrams
Where Are We? Introduction to Data Management CSE 344 Lecture 15: Constraints We know quite a bit about using a DBMS Start with real-world problem, design ER diagram From ER diagram to relations -> conceptual
More informationDATABASE MANAGEMENT SYSTEMS
www..com Code No: N0321/R07 Set No. 1 1. a) What is a Superkey? With an example, describe the difference between a candidate key and the primary key for a given relation? b) With an example, briefly describe
More informationCS352 Lecture - Concurrency
CS352 Lecture - Concurrency Objectives: Last revised 3/21/17 1. To introduce locking as a means of preserving the serializability of concurrent schedules. 2. To briefly introduce other approaches to this
More informationChapter 4. The Relational Model
Chapter 4 The Relational Model Chapter 4 - Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical relations and relations in the relational model.
More informationDATABASE MANAGEMENT SYSTEM SHORT QUESTIONS. QUESTION 1: What is database?
DATABASE MANAGEMENT SYSTEM SHORT QUESTIONS Complete book short Answer Question.. QUESTION 1: What is database? A database is a logically coherent collection of data with some inherent meaning, representing
More informationCS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010
CS403- Database Management Systems Solved MCQS From Midterm Papers April 29,2012 MC100401285 Moaaz.pk@gmail.com Mc100401285@gmail.com PSMD01 CS403- Database Management Systems MIDTERM EXAMINATION - Spring
More information- Database: Shared collection of logically related data and a description of it, designed to meet the information needs of an organization.
أساسيات قواعد بيانات 220) DataBase fundamentals (IS Lecture 1: Ch1 -Principles of DataBases- File-Based Systems: Collection of application programs that perform services for the end users. (e.g: reports).
More informationCS6302 DBMS 2MARK & 16 MARK UNIT II SQL & QUERY ORTIMIZATION 1. Define Aggregate Functions in SQL? Aggregate function are functions that take a collection of values as input and return a single value.
More informationIntroduction to Databases, Fall 2005 IT University of Copenhagen. Lecture 10: Transaction processing. November 14, Lecturer: Rasmus Pagh
Introduction to Databases, Fall 2005 IT University of Copenhagen Lecture 10: Transaction processing November 14, 2005 Lecturer: Rasmus Pagh Today s lecture Part I: Transaction processing Serializability
More informationII B.Sc(IT) [ BATCH] IV SEMESTER CORE: RELATIONAL DATABASE MANAGEMENT SYSTEM - 412A Multiple Choice Questions.
Dr.G.R.Damodaran College of Science (Autonomous, affiliated to the Bharathiar University, recognized by the UGC)Re-accredited at the 'A' Grade Level by the NAAC and ISO 9001:2008 Certified CRISL rated
More informationCSE 565 Computer Security Fall 2018
CSE 565 Computer Security Fall 2018 Lecture 12: Database Security Department of Computer Science and Engineering University at Buffalo 1 Review of Access Control Types We previously studied four types
More informationDBMS (FYCS) Unit - 1. A database management system stores data in such a way that it becomes easier to retrieve, manipulate, and produce information.
Prof- Neeta Bonde DBMS (FYCS) Unit - 1 DBMS: - Database is a collection of related data and data is a collection of facts and figures that can be processed to produce information. Mostly data represents
More informationDatabase Systems: Design, Implementation, and Management Tenth Edition. Chapter 8 Advanced SQL
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 8 Advanced SQL Objectives In this chapter, you will learn: How to use the advanced SQL JOIN operator syntax About the different
More informationD.K.M COLLEGE FOR WOMEN(AUTONOMOUS),VELLORE DATABASE MANAGEMENT SYSTEM QUESTION BANK
D.K.M COLLEGE FOR WOMEN(AUTONOMOUS),VELLORE DATABASE MANAGEMENT SYSTEM QUESTION BANK UNIT I SECTION-A 2 MARKS 1. What is meant by DBMs? 2. Who is a DBA? 3. What is a data model?list its types. 4. Define
More informationIntroduction to Database Systems. Announcements CSE 444. Review: Closure, Key, Superkey. Decomposition: Schema Design using FD
Introduction to Database Systems CSE 444 Lecture #9 Jan 29 2001 Announcements Mid Term on Monday (in class) Material in lectures Textbook Chapter 1.1, Chapter 2 (except 2.1 and ODL), Chapter 3 (except
More informationDatabase Applications (15-415)
Database Applications (15-415) The Relational Model Lecture 3, January 18, 2015 Mohammad Hammoud Today Last Session: The entity relationship (ER) model Today s Session: ER model (Cont d): conceptual design
More informationRelational Databases
Relational Databases Jan Chomicki University at Buffalo Jan Chomicki () Relational databases 1 / 49 Plan of the course 1 Relational databases 2 Relational database design 3 Conceptual database design 4
More informationWriting Analytical Queries for Business Intelligence
MOC-55232 Writing Analytical Queries for Business Intelligence 3 Days Overview About this Microsoft SQL Server 2016 Training Course This three-day instructor led Microsoft SQL Server 2016 Training Course
More informationInterview Questions on DBMS and SQL [Compiled by M V Kamal, Associate Professor, CSE Dept]
Interview Questions on DBMS and SQL [Compiled by M V Kamal, Associate Professor, CSE Dept] 1. What is DBMS? A Database Management System (DBMS) is a program that controls creation, maintenance and use
More informationCMSC 461 Final Exam Study Guide
CMSC 461 Final Exam Study Guide Study Guide Key Symbol Significance * High likelihood it will be on the final + Expected to have deep knowledge of can convey knowledge by working through an example problem
More information1. Considering functional dependency, one in which removal from some attributes must affect dependency is called
Q.1 Short Questions Marks 1. Considering functional dependency, one in which removal from some attributes must affect dependency is called 01 A. full functional dependency B. partial dependency C. prime
More informationIntegrity and Security
C H A P T E R 6 Integrity and Security This chapter presents several types of integrity constraints, including domain constraints, referential integrity constraints, assertions and triggers, as well as
More informationDatabase Management Systems Paper Solution
Database Management Systems Paper Solution Following questions have been asked in GATE CS exam. 1. Given the relations employee (name, salary, deptno) and department (deptno, deptname, address) Which of
More informationRelational Database Systems Part 01. Karine Reis Ferreira
Relational Database Systems Part 01 Karine Reis Ferreira karine@dpi.inpe.br Aula da disciplina Computação Aplicada I (CAP 241) 2016 Database System Database: is a collection of related data. represents
More informationSQL Interview Questions
SQL Interview Questions SQL stands for Structured Query Language. It is used as a programming language for querying Relational Database Management Systems. In this tutorial, we shall go through the basic
More informationBonus Content. Glossary
Bonus Content Glossary ActiveX control: A reusable software component that can be added to an application, reducing development time in the process. ActiveX is a Microsoft technology; ActiveX components
More informationDistributed Database Systems By Syed Bakhtawar Shah Abid Lecturer in Computer Science
Distributed Database Systems By Syed Bakhtawar Shah Abid Lecturer in Computer Science 1 Distributed Database Systems Basic concepts and Definitions Data Collection of facts and figures concerning an object
More informationBirkbeck. (University of London) BSc/FD EXAMINATION. Department of Computer Science and Information Systems. Database Management (COIY028H6)
Birkbeck (University of London) BSc/FD EXAMINATION Department of Computer Science and Information Systems Database Management (COIY028H6) CREDIT VALUE: 15 credits Date of examination: Monday 9th June 2014
More informationCSC 261/461 Database Systems Lecture 6. Fall 2017
CSC 261/461 Database Systems Lecture 6 Fall 2017 Use of WITH The WITH clause allows a user to define a table that will only be used in a particular query (not available in all SQL implementations) Used
More informationCPS510 Database System Design Primitive SYSTEM STRUCTURE
CPS510 Database System Design Primitive SYSTEM STRUCTURE Naïve Users Application Programmers Sophisticated Users Database Administrator DBA Users Application Interfaces Application Programs Query Data
More informationData, Databases, and DBMSs
Todd S. Bacastow January 2004 IST 210 Data, Databases, and DBMSs 1 Evolution Ways of storing data Files ancient times (1960) Databases Hierarchical (1970) Network (1970) Relational (1980) Object (1990)
More informationChapter 2 Introduction to Relational Models
CMSC 461, Database Management Systems Spring 2018 Chapter 2 Introduction to Relational Models These slides are based on Database System Concepts book and slides, 6th edition, and the 2009 CMSC 461 slides
More informationCS211 Lecture: Database Design
CS211 Lecture: Database Design Objectives: last revised November 21, 2006 1. To introduce the anomalies that result from redundant storage of data 2. To introduce the notion of functional dependencies
More informationSYED AMMAL ENGINEERING COLLEGE
CS6302- Database Management Systems QUESTION BANK UNIT-I INTRODUCTION TO DBMS 1. What is database? 2. Define Database Management System. 3. Advantages of DBMS? 4. Disadvantages in File Processing System.
More informationThe Relational Model
The Relational Model What is the Relational Model Relations Domain Constraints SQL Integrity Constraints Translating an ER diagram to the Relational Model and SQL Views A relational database consists
More informationSYED AMMAL ENGINEERING COLLEGE
UNIT-I INTRODUCTION TO DBMS CS6302- Database Management Systems Two Marks 1. What is database? A database is logically coherent collection of data with some inherent meaning, representing some aspect of
More informationCT13 DATABASE MANAGEMENT SYSTEMS DEC 2015
Q.1 a. Explain the role of concurrency control software in DBMS with an example. Answer: Concurrency control software in DBMS ensures that several users trying to update the same data do so in a controlled
More informationDatabase Management System Dr. S. Srinath Department of Computer Science & Engineering Indian Institute of Technology, Madras Lecture No.
Database Management System Dr. S. Srinath Department of Computer Science & Engineering Indian Institute of Technology, Madras Lecture No. # 5 Structured Query Language Hello and greetings. In the ongoing
More informationSolved MCQ on fundamental of DBMS. Set-1
Solved MCQ on fundamental of DBMS Set-1 1) Which of the following is not a characteristic of a relational database model? A. Table B. Tree like structure C. Complex logical relationship D. Records 2) Field
More informationInformal Design Guidelines for Relational Databases
Outline Informal Design Guidelines for Relational Databases Semantics of the Relation Attributes Redundant Information in Tuples and Update Anomalies Null Values in Tuples Spurious Tuples Functional Dependencies
More informationDatabase Management System Dr. S. Srinath Department of Computer Science & Engineering Indian Institute of Technology, Madras Lecture No.
Database Management System Dr. S. Srinath Department of Computer Science & Engineering Indian Institute of Technology, Madras Lecture No. # 13 Constraints & Triggers Hello and welcome to another session
More informationChapter 20 Introduction to Transaction Processing Concepts and Theory
Chapter 20 Introduction to Transaction Processing Concepts and Theory - Logical units of DB processing - Large database and hundreds of transactions - Ex. Stock market, super market, banking, etc - High
More informationCMP-3440 Database Systems
CMP-3440 Database Systems Concurrency Control with Locking, Serializability, Deadlocks, Database Recovery Management Lecture 10 zain 1 Basic Recovery Facilities Backup Facilities: provides periodic backup
More informationTHE RELATIONAL DATABASE MODEL
THE RELATIONAL DATABASE MODEL Introduction to relational DB Basic Objects of relational model Properties of relation Representation of ER model to relation Keys Relational Integrity Rules Functional Dependencies
More informationDatabase Fundamentals Chapter 1
Database Fundamentals Chapter 1 Class 01: Database Fundamentals 1 What is a Database? The ISO/ANSI SQL Standard does not contain a definition of the term database. In fact, the term is never mentioned
More informationData Base Concepts. Course Guide 2
MS Access Chapter 1 Data Base Concepts Course Guide 2 Data Base Concepts Data The term data is often used to distinguish binary machine-readable information from textual human-readable information. For
More informationRelational Model: History
Relational Model: History Objectives of Relational Model: 1. Promote high degree of data independence 2. Eliminate redundancy, consistency, etc. problems 3. Enable proliferation of non-procedural DML s
More informationDatabase Technology Introduction. Heiko Paulheim
Database Technology Introduction Outline The Need for Databases Data Models Relational Databases Database Design Storage Manager Query Processing Transaction Manager Introduction to the Relational Model
More informationIan Kenny. November 28, 2017
Ian Kenny November 28, 2017 Introductory Databases Relational Algebra Introduction In this lecture we will cover Relational Algebra. Relational Algebra is the foundation upon which SQL is built and is
More informationA REVIEW OF BASIC KNOWLEDGE OF DATABASE SYSTEM
A REVIEW OF BASIC KNOWLEDGE OF DATABASE SYSTEM 1. Relational model I still remember it is my first time to read such an academic article in detail. I have to say that it s really a hard time for me at
More informationDistributed KIDS Labs 1
Distributed Databases @ KIDS Labs 1 Distributed Database System A distributed database system consists of loosely coupled sites that share no physical component Appears to user as a single system Database
More informationFull file at
PART II POINTS TO EMPHASIZE AND TEACHING HINTS 25 Points to Emphasize Part 1 Background 28 Chapter 1 Introduction to Databases 29 Chapter 2 Database Environment 31 Part 2 The Relational Model and Languages
More informationROEVER ENGINEERING COLLEGE
ROEVER ENGINEERING COLLEGE ELAMBALUR, PERAMBALUR- 621 212 DEPARTMENT OF INFORMATION TECHNOLOGY DATABASE MANAGEMENT SYSTEMS UNIT-1 Questions And Answers----Two Marks 1. Define database management systems?
More informationCopyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 16-1
Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 16-1 Chapter 16 Practical Database Design and Tuning Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Chapter Outline 1. Physical Database
More informationCourse Modules for MCSA: SQL Server 2016 Database Development Training & Certification Course:
Course Modules for MCSA: SQL Server 2016 Database Development Training & Certification Course: 20762C Developing SQL 2016 Databases Module 1: An Introduction to Database Development Introduction to the
More informationCOSC344 Database Theory and Applications. σ a= c (P) Lecture 3 The Relational Data. Model. π A, COSC344 Lecture 3 1
COSC344 Database Theory and Applications σ a= c (P) S P Lecture 3 The Relational Data π A, C (H) Model COSC344 Lecture 3 1 Overview Last Lecture Database design ER modelling This Lecture Relational model
More informationBirkbeck. (University of London) BSc/FD EXAMINATION. Department of Computer Science and Information Systems. Database Management (COIY028H6)
Birkbeck (University of London) BSc/FD EXAMINATION Department of Computer Science and Information Systems Database Management (COIY028H6) CREDIT VALUE: 15 credits Date of examination: 9 June 2016 Duration
More informationCourse Introduction & Foundational Concepts
Course Introduction & Foundational Concepts CPS 352: Database Systems Simon Miner Gordon College Last Revised: 8/30/12 Agenda Introductions Course Syllabus Databases Why What Terminology and Concepts Design
More informationLIS 2680: Database Design and Applications
School of Information Sciences - University of Pittsburgh LIS 2680: Database Design and Applications Summer 2012 Instructor: Zhen Yue School of Information Sciences, University of Pittsburgh E-mail: zhy18@pitt.edu
More informationCourse Logistics & Chapter 1 Introduction
CMSC 461, Database Management Systems Spring 2018 Course Logistics & Chapter 1 Introduction These slides are based on Database System Concepts book th edition, and the 2009 CMSC 461 slides by Dr. Kalpakis
More informationIntroduction to Information Systems
Table of Contents 1... 2 1.1 Introduction... 2 1.2 Architecture of Information systems... 2 1.3 Classification of Data Models... 4 1.4 Relational Data Model (Overview)... 8 1.5 Conclusion... 12 1 1.1 Introduction
More informationMaanavaN.Com DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING QUESTION BANK
CS1301 DATABASE MANAGEMENT SYSTEM DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING QUESTION BANK Sub code / Subject: CS1301 / DBMS Year/Sem : III / V UNIT I INTRODUCTION AND CONCEPTUAL MODELLING 1. Define
More informationCS211 Lecture: Database Querying and Updating
CS211 Lecture: Database Querying and Updating last revised 9/30/2004 Objectives: 1. To introduce the relational algebra. 2. To introduce the SQL select statement 3. To introduce the SQL insert, update,
More informationThe functions performed by a typical DBMS are the following:
MODULE NAME: Database Management TOPIC: Introduction to Basic Database Concepts LECTURE 2 Functions of a DBMS The functions performed by a typical DBMS are the following: Data Definition The DBMS provides
More informationINSTITUTE OF AERONAUTICAL ENGINEERING
INSTITUTE OF AERONAUTICAL ENGINEERING Course Title Course Code Regulation (Autonomous) Dundigal, yderabad - 500 043 COMPUTER SCIENCE AND ENGINEERING COURSE DESCRIPTION FORM DATABASE MANAGEMENT SYSTEMS
More informationBCS THE CHARTERED INSTITUTE FOR IT BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT
BCS THE CHARTERED INSTITUTE FOR IT BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT DATABASE SYSTEMS Tuesday 27 th March 2018 - Morning Answer FOUR questions out of SIX. All questions carry
More informationThe Relational Model. Why Study the Relational Model? Relational Database: Definitions
The Relational Model Database Management Systems, R. Ramakrishnan and J. Gehrke 1 Why Study the Relational Model? Most widely used model. Vendors: IBM, Microsoft, Oracle, Sybase, etc. Legacy systems in
More informationCS2255 DATABASE MANAGEMENT SYSTEMS QUESTION BANK UNIT I
CS2255 DATABASE MANAGEMENT SYSTEMS CLASS: II YEAR CSE SEM:04 STAFF INCHARGE: Mr S.GANESH,AP/CSE QUESTION BANK UNIT I 2 MARKS List the purpose of Database System (or) List the drawback of normal File Processing
More informationCopyright 2016 Ramez Elmasri and Shamkant B. Navathe
CHAPTER 20 Introduction to Transaction Processing Concepts and Theory Introduction Transaction Describes local unit of database processing Transaction processing systems Systems with large databases and
More informationB.H.GARDI COLLEGE OF MASTER OF COMPUTER APPLICATION. Ch. 1 :- Introduction Database Management System - 1
Basic Concepts :- 1. What is Data? Data is a collection of facts from which conclusion may be drawn. In computer science, data is anything in a form suitable for use with a computer. Data is often distinguished
More informationRelational Database design. Slides By: Shree Jaswal
Relational Database design Slides By: Shree Jaswal Topics: Design guidelines for relational schema, Functional Dependencies, Definition of Normal Forms- 1NF, 2NF, 3NF, BCNF, Converting Relational Schema
More informationDATA AND SCHEMA MODIFICATIONS CHAPTERS 4,5 (6/E) CHAPTER 8 (5/E)
1 DATA AND SCHEMA MODIFICATIONS CHAPTERS 4,5 (6/E) CHAPTER 8 (5/E) 2 LECTURE OUTLINE Updating Databases Using SQL Specifying Constraints as Assertions and Actions as Triggers Schema Change Statements in
More informationnormalization are being violated o Apply the rule of Third Normal Form to resolve a violation in the model
Database Design Section1 - Introduction 1-1 Introduction to the Oracle Academy o Give examples of jobs, salaries, and opportunities that are possible by participating in the Academy. o Explain how your
More informationIntroduction to Relational Databases. Introduction to Relational Databases cont: Introduction to Relational Databases cont: Relational Data structure
Databases databases Terminology of relational model Properties of database relations. Relational Keys. Meaning of entity integrity and referential integrity. Purpose and advantages of views. The relational
More informationChapter 1 SQL and Data
Chapter 1 SQL and Data What is SQL? Structured Query Language An industry-standard language used to access & manipulate data stored in a relational database E. F. Codd, 1970 s IBM 2 What is Oracle? A relational
More informationData Modelling and Databases. Exercise Session 7: Integrity Constraints
Data Modelling and Databases Exercise Session 7: Integrity Constraints 1 Database Design Textual Description Complete Design ER Diagram Relational Schema Conceptual Modeling Logical Modeling Physical Modeling
More informationDatabase Management System. Fundamental Database Concepts
Database Management System Fundamental Database Concepts CONTENTS Basics of DBMS Purpose of DBMS Applications of DBMS Views of Data Instances and Schema Data Models Database Languages Responsibility of
More informationCPS221 Lecture: Relational Database Querying and Updating
CPS221 Lecture: Relational Database Querying and Updating last revised 8/5/10 Objectives: 1. To introduce the SQL select statement 2. To introduce the SQL insert, update, and delete statements Materials:
More informationContact Hours / week: 4 Total hours: 64. Table of Contents Architecture 3 Data Modeling Using the Entity-
Govt. of Karnataka, Department of Technical Education Diploma in Information Science & Engineering Fourth Semester Subject: DATABASE MANAGEMENT SYSTEMS Contact Hours / week: 4 Total hours: 64 Table of
More informationRelational Model History. COSC 416 NoSQL Databases. Relational Model (Review) Relation Example. Relational Model Definitions. Relational Integrity
COSC 416 NoSQL Databases Relational Model (Review) Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Relational Model History The relational model was proposed by E. F. Codd
More informationIS 263 Database Concepts
IS 263 Database Concepts Lecture 4: Normalization Instructor: Henry Kalisti 1 Department of Computer Science and Engineering Limitations of E- R Designs Provides a set of guidelines, does not result in
More informationCS317 File and Database Systems
CS317 File and Database Systems http://dilbert.com/strips/comic/1995-10-11/ Lecture 5 More SQL and Intro to Stored Procedures September 24, 2017 Sam Siewert SQL Theory and Standards Completion of SQL in
More information