CS-1Q IM 2002-03 Revision 21 January 2003 1 Revision CS-1Q IM Lecture 10 Phil Gray Simon Gay.

Slides:



Advertisements
Similar presentations
Three-Step Database Design
Advertisements

Relational Databases Chapter 4.
Chapter 3. 2 Chapter 3 - Objectives Terminology of relational model. Terminology of relational model. How tables are used to represent data. How tables.
Introduction to Databases
Entity-Relationship Model and Diagrams (continued)
1 Minggu 2, Pertemuan 3 The Relational Model Matakuliah: T0206-Sistem Basisdata Tahun: 2005 Versi: 1.0/0.0.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Chapter 3: Data Modeling
1 Pertemuan 04 MODEL RELASIONAL Matakuliah: >/ > Tahun: > Versi: >
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Entity Relationship Model Chapter 6. Basic Elements of E-R Model Entity Object of the real world that stores data. Eg. Customer, State, Project, Supplier,
Daniel AdinugrohoDatabase Programming 1 DATABASE PROGRAMMING Lecture on 29 – 04 – 2005.
CS2008/CS5035 Exam Preparation. Dept. of Computing Science, University of Aberdeen2 Organization of Lecture Notes Group 1 - SQL –L1 – Introduction –L2.
Lecture 2 The Relational Model. Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical relations.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Chapter 4 The Relational Model Pearson Education © 2014.
Chapter 4 The Relational Model.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2012 (September 5, 2012)
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
Relational Data Model, R. Ramakrishnan and J. Gehrke with Dr. Eick’s additions 1 The Relational Model Chapter 3.
DATABASE. A database is collection of information that is organized so that it can easily be accessed, managed and updated. It is also the collection.
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Q1: What is DBMS and explain its architecture. Q2: Explain Data Independence in detail. Q3: What is database user and explain the types of database user.
Midterm Exam Chapters 1,2,3,5, 6,7 (closed book) March 11, 2014.
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Chapter 3 The Relational Model. 2 Chapter 3 - Objectives u Terminology of relational model. u How tables are used to represent data. u Connection between.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
What we’ve learnt Doc 5.69 Doc 5.70 Section 1-3. A simple database Related objects Tables hold the data Forms, reports, queries to access the data.
Chapter 4 Database Processing Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-1.
CIS 210 Systems Analysis and Development Week 6 Part II Designing Databases,
Revision Instructor: Mohamed Eltabakh 1.
Databases Shortfalls of file management systems Structure of a database Database administration Database Management system Hierarchical Databases Network.
1 A Demo of Logical Database Design. 2 Aim of the demo To develop an understanding of the logical view of data and the importance of the relational model.
The University of Akron Dept of Business Technology Computer Information Systems The Relational Model: Concepts 2440: 180 Database Concepts Instructor:
Chapter 9 Logical Database Design : Mapping ER Model To Tables.
Database Design – Lecture 4 Conceptual Data Modeling.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Foundations of Business Intelligence: Databases and Information Management.
September 2002 HND Year 2 Database Management Systems Sept 2002.
My Research: Adding More Support for Relationships to DBMSs by Dr. Bryon K. Ehlmann Computer Science Department Southern Illinois University Edwardsville.
Databases. Revision tip: Focus on the things you find difficult first.
1. Explain the DBMS with its Components and Describe the various functions of DBMS? 2. Define the term DBA. Explain the various Roles of Database Administrator?
CMPT 258 Database Systems Midterm Review. Regarding the Exam Oct 15 Thursday Close book Cheat sheet (1 side of an A4 paper)
Plan the progression for the databases topic.
The Relational Model © Pearson Education Limited 1995, 2005 Bayu Adhi Tama, M.T.I.
CSCI 6315 Applied Database Systems Review for Midterm Exam I Xiang Lian The University of Texas Rio Grande Valley Edinburg, TX 78539
Conversion from ER diagram to relational model 1 ER is a visual model The relational model is a matemathical model.
FEN Introduction to the database field: The development process Seminar: Introduction to relational databases Development process: Analyse.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 The Relational Model Chapter 3.
1 The Relational Data Model David J. Stucki. Relational Model Concepts 2 Fundamental concept: the relation  The Relational Model represents an entire.
1 CS122A: Introduction to Data Management Lecture #4 (E-R  Relational Translation) Instructor: Chen Li.
INFO 340 Lecture 3 Relational Databases. Based on the relational model, grounded in mathematic set theories. Three basic elements: Relation, Tuple, and.
CPSC 603 Database Systems Lecturer: Laurie Webster II, Ph.D., P.E.
CS422 Principles of Database Systems Course Overview
Quiz Questions Q.1 An entity set that does not have sufficient attributes to form a primary key is a (A) strong entity set. (B) weak entity set. (C) simple.
Chapter 12 Information Systems.
Chapter 4 Relational Databases
Payroll Management System
Translation of ER-diagram into Relational Schema
Entity-Relationship Model and Diagrams (continued)
Order Database – ER Diagram
Database.
Chapter 4 The Relational Model Pearson Education © 2009.
Entity relationship diagrams
Chapter 5 Data Resource Management.
02 - The Relational Database Model
The Relational Model Transparencies
Entity Relation Model Tingting Zhang.
G061 - Data Dictionary.
Review #1 Intro stuff What is a database, 4 parts, 3 users, etc.
Presentation transcript:

CS-1Q IM Revision 21 January Revision CS-1Q IM Lecture 10 Phil Gray Simon Gay

CS-1Q IM Revision 21 January The Class Test Friday 31st January, pm, Hunter Halls (East and West) Two questions: ANSWER BOTH! one question on HCI, of similar structure to the practice questions and past exam questions one question on Mathematics and Information Management 30 minutes per question, + 15 minutes reading/checking time

CS-1Q IM Revision 21 January A Word from Chris about HCI You need to know what a mental model is. Revise the section on Elicitation.

CS-1Q IM Revision 21 January Overview Basic Division between Information Management (~ 75-80%) Sets & Relations (~20-25%)

CS-1Q IM Revision 21 January Types of Questions objective content what is define list explain the difference between worked examples e.g., ER diagrams, queries questions on sets & relations critical question compare, assess explain the relationship between

CS-1Q IM Revision 21 January Content Lecture 1: Issues in Managing Data Lecture 2: Data Modelling & ER Diagrams Lecture 3: The Relational Data Model Lecture 4: Creating Database Tables from an ER Diagram Lectures 5-6: Sets and Relations Lecture 7: Querying Relational Databases Lectures 8-9: SQL

CS-1Q IM Revision 21 January Content Data, information and knowledge Databases & DBMSs definitions layered architecture ER Modelling what’s a model? be able to define the elements be able to produce a simple ER diagram

CS-1Q IM Revision 21 January Content Relational Model be able to define the elements keys constraints transforming from / comparing to ER Model Sets & Relations based around the tutorial exercises

CS-1Q IM Revision 21 January Content Querying Relational Databases understand the operations be able to relate them to sets & relations SQL know the syntax & semantics be able to write and explain simple queries

CS-1Q IM Revision 21 January Model Answer (a) (3 marks) A database is one or more structured sets of persistent data, usually held on computer and associated with software to update and query the data. A database management system is a suite of programs that manage databases (or an information system where the data may be shared by different applications). Other functions: (1) multiple views of the same data (1) controlled concurrent access to data (1) management of security and integrity

CS-1Q IM Revision 21 January Model Answer (b) WidgetWarehouse stored in 1 N price description typeidentifier address streetcitypostcode 1 mark for entities, 1 mark for attributes, 1 mark for composite attribute, 1 mark for relationship, 0.5 marks for cardinality, 0.5 marks for total participation of widgets, 1 mark for primary keys

CS-1Q IM Revision 21 January Model Answer (b) (continued) (2 marks) The association should be represented by including an attribute in the Widget table to hold a foreign key referring to the primary key in the Warehouse table.

CS-1Q IM Revision 21 January Model Answer (c) (i) (1 mark) True, because  stands for the empty set, and the empty set is a subset of every set. (ii) (1 mark) True, because A is the set of all elements of U that are greater than 2. The order of listing elements is not significant. (iii) (1 mark) 3, 1

CS-1Q IM Revision 21 January Model Answer (c) (iv) (2 marks) Not transitive because, for example, we have tuples and but not (there are 2 other examples) Transitive means: if xRy and yRz then xRz.