Quiz 2 (Database Design)

Slides:



Advertisements
Similar presentations
How to order a Martini… …in 5 easy steps.. Has this ever happened to you? Dirty? What brand? Up? On the rocks? Shaken or stirred? Olives? Twist? Excuse.
Advertisements

CS370 Spring 2007 CS 370 Database Systems Lecture 6 Introduction to Database Design.
1 Class Agenda (04/03 and 04/08)  Review and discuss HW #8 answers  Present normalization process Enhance conceptual knowledge of database design. Improve.
Chapter 15 Beverage Production Control
© 2008 Prentice Hall Business Publishing Accounting Information Systems, 11/e Romney/Steinbart1 of 121 C HAPTER 16 Implementing an REA Model in a Relational.
Introduction to Database. File Formats Comma delimited file –"s1","peter",3 –"s2","paul",2.5 –"s3","mary",3.5 –Demo: Excel – Data/Import Extended Markup.
Database Programming in Java Corresponds with Chapter 32, 33.
1 Class Agenda (11/07 and 11/12)  Review HW #8 answers  Present normalization process Enhance conceptual knowledge of database design. Improve practical.
Avoiding Database Anomalies
BTEC National Extended Diploma1 IT Systems Analysis and Design Entity Relationship Diagrams.
5. Database Design Lingma Acheson Department of Computer and Information Science IUPUI CSCI N207 Data Analysis Using Spreadsheets 1.
IS 230Lecture 4Slide 1 Entity Relationship to Relational Model Mapping Lecture 5.
Next Back A-1 Management Information Systems for the Information Age Second Canadian Edition Copyright 2004 The McGraw-Hill Companies, Inc. All rights.
MS Access. Access is a DBMS/RDMS DBMS = Database Management System RDMS = Relational Database Management System.
Btec National - Advanced Databases 1 Advanced Databases Entity Relationship Diagrams.
Database Design. The process of developing database structures from user requirements for data a structured methodology Structured Methodology - a number.
Drinks to Know… By: Taylor Stremme 1 Top 10 cocktails in the US RankingDrink 1Bloody Mary 2Screwdriver 3Cuba Libre 4Martini 5Margarita 6Daiquiri 7Tequila.
Database Design – Lecture 6 Moving to a Logical Model.
1 Class Agenda (04/06/2006 and 04/11/2006)  Discuss use of Visio for ERDs  Learn concepts and ERD notation for data generalization  Introduce concepts.
* 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.
Database Design Sections 8 & 12 Modeling Historical Data, conditional nontranferability, time-related constraints.
Btec National - IT SYSTEMS ANALYSIS AND DESIGN 1 IT Systems Analysis and Design Entity Relationship Diagrams.
EntityRelationshipDiagrams. Entity Relationship Models The E-R (entity-relationship) data model views the real world as a set of basic objects (entities)
NormalisationNormalisation Normalization is the technique of organizing data elements into records. Normalization is the technique of organizing data elements.
Data Modeling with ERD ISYS 363.
Hoi Le. Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2.
ENTITY-RELATIONSHIP MODELLING. Objectives: How to use Entity–Relationship (ER) modelling in database design. Basic concepts associated with ER model.
1 Database Systems Introduction to Microsoft Access Part 1.
©2005 The McGraw-Hill Companies, All rights reserved McGraw-Hill/Irwin
Normalization.
Chapter 15 Beverage Production Control
Order Database – ER Diagram
Introduction to Database Systems
Database Design.
Entity-Relationship Model
SEEM3430: Information Systems Analysis and Design
DESIGNING DATABASE APPLICATIONS
Introduction to Database
Introduction to Database
Week 02 - Introduction to Data Modelling
Introduction to Database Systems
Order Database – ER Diagram
Payroll Management System
Design a Relational Database Identify Database Purpose
ER MODEL Lecture 3.
Accounting Information Systems 9th Edition
Logical Data Modeling.
Assignment 4 Map entities with relationships to relational schemas.
Insert Suitable field names
ER Models ISSUES and Examples CS263 Lecture 9
MIS 562 Enthusiastic Studysnaptutorial.com
Generalization.
Order Database – ER Diagram
Entity-Relationship Modeling "Extended"
Database Processing: David M. Kroenke’s Chapter Six:
Database Systems Instructor Name: Lecture-10.
Conceptual Data Modeling Using Entities & Relationships
System Analysis and Design
DRILL Kyle has a job at T-Shirts R Us that pays $8.50 per hour, but requires an employee to purchase a uniform for $15. Kara works at Caps N Tees and earns.
Database Normalisation
Relationships—Topics
Entity-Relationship Diagram (ERD)
Mapping an ERD to a Relational Database
Databases 1.
E.R. Examples.
Introduction to Database

G061 - Data Dictionary.
Entity-Relationship Modeling "Extended"
Entity-Relationship Modeling "Extended"
Presentation transcript:

Quiz 2 (Database Design) MIS 320 Quiz 2 (Database Design)

Instructions Write your student number (not your name) on a piece of paper. This quiz contains four situations. Each is a set of sample data that has been arranged in a database table. Each of these contains an error. Your job is to identify the error (2 pts.) and suggest a solution (½ pt.). You may use any notes you have made and the class lecture notes. Each situation will be visible for 3 minutes [in this demo version, press enter to advance].

1. Activity Table ACTIVITY HOURS RATE TOTAL Measure for awning 2.5 $50 This is a derived attribute and should be removed. 1. Activity Table ACTIVITY HOURS RATE TOTAL Measure for awning 2.5 $50 $125 Fabricate awning 12 $75 $900 Install awning 6 $60 $360

2. Department Table Department Building Building Supervisor Accounting This attribute does not depend on the primary key (Department) and should be moved to a different table. 2. Department Table Department Building Building Supervisor Accounting 403 North Sixth Fred Smith Human Resources 1312 Elm Sarah Ryan Purchasing

3. Employee Table Employee Name Dependent 1 Dependent 2 Dependent 3 This is a repeating group and should be moved to a new entity. 3. Employee Table Employee Name Dependent 1 Dependent 2 Dependent 3 Elmer Coltrane Ellen Coltrane Edgar Coltrane None Geoffrey Jones Gretta Jones Gunnar Jones Gwendolyn Jones Elizabeth Sharp

4. Bartender’s Table Drink Ingredient 1 Ingredient 2 Ingredient 3 There is a M:M relationship between drinks and ingredients which requires a new entity (ingredients) and an intersection table. 4. Bartender’s Table Drink Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Rum and Coke Rum (1½ oz.) Coke (6 oz.) Ice None Martini Vermouth (splash) Gin Olive (2) Bloody Mary Vodka Bloody Mary mix Celery stalk