MIDTERM #2: INFORMATION SYSTEMS (INDE499B) Dr. Jennifer Turns Autumn 2000. a. Total Time: You will have a total of 50 minutes for this midterm.



Similar documents
DATABASE DESIGN. - Developing database and information systems is performed using a development lifecycle, which consists of a series of steps.

Answers to Review Questions

Database Design Methodology

Data Modeling Basics


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

Modern Systems Analysis and Design

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

CSC 742 Database Management Systems

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

Database Design Methodology

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

Data Warehousing. Jens Teubner, TU Dortmund Winter 2014/15. Jens Teubner Data Warehousing Winter 2014/15 1

IT2305 Database Systems I (Compulsory)

Introduction to Databases

MATERIAL REQUIREMENTS PLANNING

COMP 378 Database Systems Notes for Chapter 7 of Database System Concepts Database Design and the Entity-Relationship Model

Database IST400/600. Jian Qin. A collection of data? A computer system? Everything you collected for your group project?

Applications in Business. Embedded Systems. FIGURE 1-17 Application Types and Decision Types

Release: 1. ICADBS502A Design a database

DATABASE SYSTEMS. Chapter 7 Normalisation

æ A collection of interrelated and persistent data èusually referred to as the database èdbèè.

IT2304: Database Systems 1 (DBS 1)

Entity Relationship Diagram

B2.2-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

A brief overview of developing a conceptual data model as the first step in creating a relational database.

Fundamentals of Database System

(Refer Slide Time 00:56)

Database Design Overview. Conceptual Design ER Model. Entities and Entity Sets. Entity Set Representation. Keys

Introducing Formal Methods. Software Engineering and Formal Methods

2. Basic Relational Data Model

Design Document Version 0.0

Database Design Process

Domain Knowledge Extracting in a Chinese Natural Language Interface to Databases: NChiql

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

Chapter 10 Practical Database Design Methodology and Use of UML Diagrams

Basics of Dimensional Modeling

Database Design Process

Lesson 8: Introduction to Databases E-R Data Modeling

CDC UNIFIED PROCESS PRACTICES GUIDE

Data warehouse design

Database Design Basics

Investigate Requirements for Software Solutions

Database Administrator [DBA]

Chapter 10 Practical Database Design Methodology and Use of UML Diagrams

Information, Organization, and Management

Exercise 1: Relational Model

Data Analysis 1. SET08104 Database Systems. Napier University

Sales and Use Tax for Manufacturers Connecticut Business & Industry Association

SCHEMAS AND STATE OF THE DATABASE

How To Develop Software

Foundations of Information Management

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

Why Data Flow Diagrams?

Relational Database Concepts

Unit 2.1. Data Analysis 1 - V Data Analysis 1. Dr Gordon Russell, Napier University

Chapter 10. Practical Database Design Methodology. The Role of Information Systems in Organizations. Practical Database Design Methodology

A Tool for Generating Relational Database Schema from EER Diagram

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

Database Design. Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB

How To Write A Diagram

Chapter 2 Database System Concepts and Architecture

Database Design Final Project

Introduction to Database Development

10426: Large Scale Project Accounting Data Migration in E-Business Suite

7.1 The Information system

A Characterization Taxonomy for Integrated Management of Modeling and Simulation Tools

Introduction to normalization. Introduction to normalization

Lecture Notes INFORMATION RESOURCES

Lecture Data Warehouse Systems

Customer Analysis - Customer analysis is done by analyzing the customer's buying preferences, buying time, budget cycles, etc.

Database Systems Introduction Dr P Sreenivasa Kumar

Chapter 1: Introduction

Information Technology and Knowledge Management

Databases Model the Real World. The Entity- Relationship Model. Conceptual Design. Steps in Database Design. ER Model Basics. ER Model Basics (Contd.

Oracle 10g PL/SQL Training

DATA WAREHOUSE E KNOWLEDGE DISCOVERY

Fundamentals of Database Design

Chapter 1 Databases and Database Users

ETL-EXTRACT, TRANSFORM & LOAD TESTING

Data Modeling Master Class Steve Hoberman s Best Practices Approach to Developing a Competency in Data Modeling

4 Testing General and Automated Controls

Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 1 Outline

Entity/Relationship Modelling. Database Systems Lecture 4 Natasha Alechina

International Journal of Scientific & Engineering Research, Volume 4, Issue 11, November ISSN

CHAPTER SIX DATA. Business Intelligence The McGraw-Hill Companies, All Rights Reserved

Database Management Systems

Designing Databases. Introduction

DATABASE MANAGEMENT SYSTEMS

The Entity-Relationship Model

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

Client Overview. Engagement Situation. Key Requirements

COURSE NAME: Database Management. TOPIC: Database Design LECTURE 3. The Database System Life Cycle (DBLC) The database life cycle contains six phases;

Sales Order Management

LOGICAL DATABASE DESIGN

Principles of Database. Management: Summary

Master Data Management

Chapter 1: Introduction. Database Management System (DBMS)

Appendix B Data Quality Dimensions

Transcription:

INDE499B, Midterm #1 1 MIDTERM #2: INFORMATION SYSTEMS (INDE499B) Dr. Jennifer Turns Autumn 2000 Name: General Instructions: a. Total Time: You will have a total of 50 minutes for this midterm. b. Point Values: The questions are weighted differently. The point values are listed next to each question. Please take this into account when pacing yourself. c. Use of Resources: This is a close book, closed note test with one exception. You may use the two page logical design handout (i.e., the one describing the steps required to transform an ER diagram into a relational ). d. A Hint: Be certain to read the questions carefully and respond to all portions of the question. e. GOOD LUCK

INDE499B, Midterm #1 2 QUESTION 1: THE DATA DESIGN PROCESS (25 points). Imagine that you have been assigned to a team that will be developing an inventory tracking system. As part of the project startup, your manager has asked each team leader to bring a basic work plan to the next meeting. At that meeting, these work plans will be analyzed to determine the overall project timeframe, costs, personnel requirements and software requirements. For now, as the team leader for the data design team, you have been asked to bring a work plan that identifies the phases of data design and includes the following information for each phase: a). a description of the data design phase, b). the inputs of the phase, c). the outputs of the phase, d). a key issue addressed in the phase e). a challenge that you can anticipate would occur in the phase. Please prepare the response you will bring to the meeting. Solution: Description Issue Input Output Challenge - Capturing all - Functional - ER diagram data specs - Capturing - General relationships understanding - Data integrity of problem a. Conceptual Design Create model that captures major entities, relationships among entities, and attributes of entities required for a particular system. b. Logical Design Transform the major entity/attribute /relationship requirements into high level specification for - Providing location for all data - Data integrity - ER diagram - Relational - b2 Improving Logical Design Improve the high-level specification. c. Physical Design Transform the high-level specifications for into detailed specifications for how to construct actual in a specific relational software. - Minimizing redundancy - Minimizing ambiguity - Performance - Data integrity - Relational - Relational - Meaning of data - Relational - Technical specifications for construction of the - - Conceptual Design Description/issue 3 pts, input/output 3 pts, challenge 1 pt Logical design: Description/issue 3 pts, input/output 3 pts, challenge 1 pt Mentioned improving logical design (can be embedded in the logical design section): Description/issue - 2 pts, input/outputs - 2 pts Physical Design: Description/issue 3 pts, input/output 3 pts, challenge 1 pt

INDE499B, Midterm #1 3 QUESTION 2: CREATING AN ENTITY-RELATIONSHP DIAGRAM (25 points). UPS prides itself on having up-to-date information on the processing and current location of each shipped item. To do this, UPS relies on a company-wide information system. Shipped items are the heart of the UPS product tracking information system. Shipped items can be characterized by item number (unique), weight, dimensions, insurance amount, destination, and final delivery date. Shipped items are received into the UPS system at a single retail center. Retail centers are characterized by their type, uniqueid, and address. Shipped items make their way to their destination via one or more standard UPS transportation events (i.e., flights, truck deliveries). These transportation events are characterized by a unique schedulenumber, a type (e.g, flight, truck), and a deliveryroute. Please create an Entity Relationship diagram that captures this information about the UPS system. Be certain to indicate identifiers and cardinality constraints. Solutions: ItemNumber Weight Dimension Type InsuranceAmt Shipped Items Shipped Via Transportation Event ScheduleNumber Destination DeliveryRout FinalDellivery Date Received From Type Retail Center UniqueID Address Entities correctly identified: 5 Attributes correctly identified: 5 Primary keys correctly identified: 5 Relationships and cardinality correctly identified: 10

INDE499B, Midterm #1 4 QUESTION 3: CREATING A RELATIONAL DATABASE SCHEMA (37 points). Production tracking is important in many manufacturing environments (e.g., the pharmaceuticals industry, children s toys, etc.). The following ER diagram captures important information in the tracking of production. Specifically, the ER diagram captures relationships between production lots (or batches), individual production units, and raw materials. LotNumber CreateDate Cost-Of-Materials serial-# exactweight Lot Includes Production Units ProductType qualitytest? ProductDesc Created From Units type Raw Materials material-id UnitCost a. Please convert the ER diagram into a relational. Be certain to indicate primary keys and referential integrity constraints. (25 pts)

INDE499B, Midterm #1 5 Solutions: Production Units Serial# ExactWeight ProductType ProductDesc QualityTest? LotNumber Lot LotNumber CreateDate CostOfMaterials Raw Materials Usage LotNumber MaterialID Units Raw Materials MaterialID Type UnitCost Strong Entities Production Units, Lot, Raw Materials: 3 points each Exists, Has attributes, Has Primary key defined. One to Many Relationship Lot Number as Foreign Key on Production Unit Entity: 4 points Exists or not Many to Many Relationship - Relation for Raw Material Usage: 7 points Relation exists, Has primary key correctly identified, has additional attribute Referential Integrity Constraints Correct - 5 points

INDE499B, Midterm #1 6 Note: The following questions refer back to the above ER diagram for problem 3. b. Please identify an attribute in the above ER diagram that might represent a composite attribute, and explain why/how it might represent a composite attribute (3 pts). Answer: Many of the attributes could actually represent composite attributes: - Weight might be stored as pounds and ounces. - Product Description might have several components - Product type might have several components - Create date might be stored as both date and time. c. Please identify an attribute in the ER diagram that could represent a derived attribute and explain why/how it might represent a derived attribute (3 pts). Answer: Cost-of-Materials (associated with the Lot entity) most likely represents a derived attribute. The cost of materials could be computed based on the materials unit cost (from the raw materials entity) and the number of units required for a lot (on the relationship). d. The ER diagram/relational contains several instances of data redundancy. Please identify one instance where a data redundancy issue exists. (3 pts). Answer: Examples include: - Both production description and product type are being stored for each and every production unit. The production description could be stored elsewhere. - Production type and production description are being stored on each and every production unit, when these parameters are most likely the same for the entire lot. They could be stored on the Lot entity. e. The current ER diagram has the following relationship, raw materials are used in 0 to many lots. Please explain, in the context of the manufacturing environment, how the meaning changed if the minimal cardinality is changed to 1 (i.e., the relationship becomes "raw materials are used in 1 to many lots. ) (3 pts) Answer: The current representation of raw materials are used in 0 to many lots implies that raw materials can be in the system without being designated for a specific lot. If the minimum cardinality was changed to 1, this would imply that all raw materials must be designated as related to at least one lot.

INDE499B, Midterm #1 7 QUESTION 4: PROBING (13 points). a. Data Integrity: Ensuring data integrity is an important issue in data design. Data integrity issues are addressed in each and every stage of data design. According to the book, integrity constraints facilitate maintaining the accuracy of data in the. According to Merriam Webster s dictionary, synonyms for integrity include incorruptibility, soundness, and completeness. Please identify two features of data design that embody data integrity concerns. For each, describe how the feature is related to the general issue of data integrity. The examples can come from the same and/or different phases of the data design process. (8 pts - 4 pts each) Examples of answers include: - Minimum cardinality constraints (identified during conceptual design) indicate the minimum number of relationships that MUST exist. - During physical design, the definition of each attribute can include constraints on the values of the attribute. - During logical design, the specification of referential integrity constraints indicate the required relationships among foreign keys and primary keys. Is each example related to integrity? 2 points Is the relationship to data integrity well explained? 2 points b. Normalization. Normalization is a process within logical design. What is the general goal of normalization? (Hint: Why is it important to identify and remove partial and transitive functional dependencies during normalization?) (5 points) Answer: The general goal is to remove redundancy in the data! Full credit if redundancy is explicitly or implicitly mentioned. Partial credit if on the right track.