COMP 521 F10 Final Exam Review. 1. Which of the following is defined as a property or description of an entity. A. RelationB. Attribute C. DomainD. Selection.

Slides:



Advertisements
Similar presentations
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide
Advertisements

Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Transaction Management Overview Chapter 16.
TRANSACTION PROCESSING SYSTEM ROHIT KHOKHER. TRANSACTION RECOVERY TRANSACTION RECOVERY TRANSACTION STATES SERIALIZABILITY CONFLICT SERIALIZABILITY VIEW.
Chapter 15: Transactions Transaction Concept Transaction Concept Concurrent Executions Concurrent Executions Serializability Serializability Testing for.
ENTITY RELATIONSHIP MODELLING
Midterm Review Lecture 14b. 14 Lectures So Far 1.Introduction 2.The Relational Model 3.Disks and Files 4.Relational Algebra 5.File Org, Indexes 6.Relational.
Data Indexing Herbert A. Evans. Purposes of Data Indexing What is Data Indexing? Why is it important?
©Silberschatz, Korth and Sudarshan12.1Database System Concepts Chapter 12: Part A Part A:  Index Definition in SQL  Ordered Indices  Index Sequential.
1 Transaction Management Overview Yanlei Diao UMass Amherst March 15, 2007 Slides Courtesy of R. Ramakrishnan and J. Gehrke.
The Relational Database Model:
Chapter 8 : Transaction Management. u Function and importance of transactions. u Properties of transactions. u Concurrency Control – Meaning of serializability.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Transaction Management and Concurrency Control.
Transaction Management WXES 2103 Database. Content What is transaction Transaction properties Transaction management with SQL Transaction log DBMS Transaction.
Compe 301 ER - Model. Today DBMS Overview Data Modeling Going from conceptual requirements of a application to a concrete data model E/R Model.
Entity/Relationship Modelling
Database Design & ER Diagrams
DBMS 3. course. Reminder Data independence: logical and physical Concurrent processing – Transaction – Deadlock – Rollback – Logging ER Diagrams.
INTRODUCTION TO TRANSACTION PROCESSING CHAPTER 21 (6/E) CHAPTER 17 (5/E)
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Transaction Management Overview Chapter 16.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Relational Data Model, R. Ramakrishnan and J. Gehrke with Dr. Eick’s additions 1 The Relational Model Chapter 3.
Introduction. 
Practical Database Design and Tuning. Outline  Practical Database Design and Tuning Physical Database Design in Relational Databases An Overview of Database.
Database Management System Module 5 DeSiaMorewww.desiamore.com/ifm1.
Distribution of Marks For Second Semester Internal Sessional Evaluation External Evaluation Assignment /Project QuizzesClass Attendance Mid-Term Test Total.
Transactions Sylvia Huang CS 157B. Transaction A transaction is a unit of program execution that accesses and possibly updates various data items. A transaction.
Physical DB Issues, Indexes, Query Optimisation Database Systems Lecture 13 Natasha Alechina.
BIS Database Systems School of Management, Business Information Systems, Assumption University A.Thanop Somprasong Chapter # 10 Transaction Management.
CS 162 Discussion Section Week 9 11/11 – 11/15. Today’s Section ●Project discussion (5 min) ●Quiz (10 min) ●Lecture Review (20 min) ●Worksheet and Discussion.
Transaction Lectured by, Jesmin Akhter, Assistant professor, IIT, JU.
Database Systems/COMP4910/Spring05/Melikyan1 Transaction Management Overview Unit 2 Chapter 16.
1 Transaction Management Overview Chapter Transactions  Concurrent execution of user programs is essential for good DBMS performance.  Because.
Concurrency Control in Database Operating Systems.
Relational Database. Database Management System (DBMS)
 2001 Prentice Hall Business Publishing, Accounting Information Systems, 8/E, Bodnar/Hopwood A field may be a single character or number, or it.
Introduction to Database Systems1. 2 Basic Definitions Mini-world Some part of the real world about which data is stored in a database. Data Known facts.
Introduction.  Administration  Simple DBMS  CMPT 454 Topics John Edgar2.
IS 4424: Developing the Entreprise Database Frederic Adam.
15.1 Transaction Concept A transaction is a unit of program execution that accesses and possibly updates various data items. E.g. transaction to transfer.
©Silberschatz, Korth and Sudarshan14.1Database System Concepts - 6 th Edition Chapter 14: Transactions Transaction Concept Transaction State Concurrent.
Session 1 Module 1: Introduction to Data Integrity
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
Fundamentals, Design, and Implementation, 9/e Appendix B The Semantic Object Model.
1 Advanced Database Concepts Transaction Management and Concurrency Control.
CS 540 Database Management Systems
EntityRelationshipDiagrams. Entity Relationship Models The E-R (entity-relationship) data model views the real world as a set of basic objects (entities)
10 1 Chapter 10 - A Transaction Management Database Systems: Design, Implementation, and Management, Rob and Coronel.
CS4432: Database Systems II
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
BITMAP INDEXES Barot Rushin (Id :- 108).
Contents Design Process Modeling Constraints E-R Diagram Design Issues
Practical Database Design and Tuning
Entity-Relationship Model
Database Management System
Translation of ER-diagram into Relational Schema
CIS 336 Competitive Success/snaptutorial.com
CIS 336 Education for Service-- snaptutorial.com.
CIS 336 Teaching Effectively-- snaptutorial.com
Transaction Management Overview
Session #, Speaker Name Indexing Chapter 8 11/19/2018.
Practical Database Design and Tuning
Transactions Sylvia Huang CS 157B.
Chapter 10 Transaction Management and Concurrency Control
Chapter 7: Entity-Relationship Model
INSTRUCTOR: MRS T.G. ZHOU
Transaction Management Overview
Data Models in DBMS A model is a representation of reality, 'real world' objects and events, associations. Data Model can be defined as an integrated collection.
Lecture 20: Indexes Monday, February 27, 2006.
Review #1 Intro stuff What is a database, 4 parts, 3 users, etc.
Presentation transcript:

COMP 521 F10 Final Exam Review

1. Which of the following is defined as a property or description of an entity. A. RelationB. Attribute C. DomainD. Selection E. Projection

Which of the following sets of attributes cannot be a candidate key? A. A1B. A3 C. D. E. Which attribute can you deduce is a candidate key? A. A1B. A2 C. A3 D. A4 E. None of the above A1A2A3A4A AG TA CT TA GA Given the valid relation Instance below,

A relation R(A, B, C), represents a relationship between two entities with keys A and B respectively. It also has the functional dependences A? B and B ? A. What does such a pair of dependences mean? A. There is total participation of both entities B. The relationship is one-to-one C. The two entity sets form a disjoint cover D. The relationship is many-to-many E. The relation cannot be in BCNF

Which of the following SQL features supports logical data independence? A. Its portability across DBMSs B. The fact that it is relationally complete C. It’s declarative semantics D. It’s support of ‘views’ E. All of the above

Which of the following database properties states that, once committed, data should persist in the database, even if the system crashes. A. Atomicity B. Buffer Writes C. Consistency D. Durability E. Equality

Which of the following most likely explains the result set of the SQL query: SELECT DISTINCT S.name FROM Student S WHERE S.id IN ( SELECT C.sid FROM Class C GROUP BY C.sid HAVING COUNT (*) >= ALL ( SELECT COUNT (*) FROM Class C2 GROUP BY C2.sid)) A. Names of students taking the class with the largest enrollment B. Names of students taking the most classes C. Names of students taking one or more classes D. Names of all students taking no classes E. Names of all students

What results from the following schedule: R2(X), R2(Y), W2(X), R1(X), R1(Y), W2(Y), W1(X) A. A write-read conflict B. A read-write conflict C. A write-write conflict D. No conflicts, equivalent to T1, T2 E. No conflicts, equivalent to T2, T1

18. Which of the following about record ids is false? A. They uniquely identify a particular record B. They identify the disk address of the page containing the record C. Given one, only one I/O is required to read the associated record into memory D. They determine the page buffer where a record is stored in main memory E. They appear frequently in indices

46. Which of the following is true after inserting 19 and 20 into the B+-tree shown? A. The tree will split and gain a level B. All nodes of the tree will be filled C. The tree’s structure is unchanged D. The resulting tree is identical to the original E. The tree looses a level

Questions?