Case Study CTTS - Milestone 04 Data Modeling Solution

上传人:飞*** 文档编号:7177129 上传时间:2017-09-17 格式:DOC 页数:8 大小:215KB
返回 下载 相关 举报
Case Study CTTS - Milestone 04 Data Modeling Solution_第1页
第1页 / 共8页
Case Study CTTS - Milestone 04 Data Modeling Solution_第2页
第2页 / 共8页
Case Study CTTS - Milestone 04 Data Modeling Solution_第3页
第3页 / 共8页
Case Study CTTS - Milestone 04 Data Modeling Solution_第4页
第4页 / 共8页
Case Study CTTS - Milestone 04 Data Modeling Solution_第5页
第5页 / 共8页
点击查看更多>>
资源描述

《Case Study CTTS - Milestone 04 Data Modeling Solution》由会员分享,可在线阅读,更多相关《Case Study CTTS - Milestone 04 Data Modeling Solution(8页珍藏版)》请在金锄头文库上搜索。

1、SADM 7/ed CTTS CASE STUDY - Milestone 4: Solution Page: 4-1Prepared by Gary B. Randolph forSystems Analysis & Design Methods 7edby J. L. Whitten, L. D. Bentley, & K.C. Dittman Copyright Irwin/McGraw-Hill 2007MILESTONE 4 DATA MODELING Activity 1 Entity/Definition Matrixhe entities in the following ma

2、trix were identified by analyzing the forms provided in Milestone 4. This list and the following diagrams are based on the authors assumptions and interpretations. If you, the instructor, choose to do your own solution, it may be different, depending on your interpretation of the forms provided. In

3、most activities explanations for why things were done as they were have been provided to aid in your understanding of the solution.The following tables contain the attributes identified from each form and the interview.PC Configuration Sheet & Interview:Machine NameComponentDate InstalledDate Remove

4、dQuantityComponent TypeSoftware Configuration Sheet & Interview:Client (i.e. Family Vacation Rentals)Machine Name (i.e. SQL Server)Type of Information (i.e. Logon)Multiple Values of Information (i.e. Username: sa / Password: gumbll)TSADM 7/ed CTTS CASE STUDY - Milestone 4: Solution Page: 4-2Prepared

5、 by Gary B. Randolph forSystems Analysis & Design Methods 7edby J. L. Whitten, L. D. Bentley, & K.C. Dittman Copyright Irwin/McGraw-Hill 2007Students should be able to identify at least the major entities listed below. Whether or not they identify the optional entities will depend on how they interp

6、ret the user requirements and on their experience level with database normalization. The following completed matrix is one possible solution.Entity/Definition MatrixENTITY BUSINESS DEFINITIONMajor EntitiesClient A business entity for whom work is done.Equipment A computer, printer, or other piece of

7、 technology equipment that is in use.EquipmentComponent A component (anything from a stick of RAM to an entire turn-key system) that is or has been installed in Equipment.Inventory A component that has been checked into inventoryConfiguration A piece of information concerning software configuration

8、for the Client and possibly for a piece of equipment.SeviceRequest A request for service on Equipment.WorkRecord Work done to resolve a SeviceRequest.Optional EntitiesEquipType A classification of Equipment.ComponentType A classification of EquipmentComponent.SADM 7/ed CTTS CASE STUDY - Milestone 4:

9、 Solution Page: 4-3Prepared by Gary B. Randolph forSystems Analysis & Design Methods 7edby J. L. Whitten, L. D. Bentley, & K.C. Dittman Copyright Irwin/McGraw-Hill 2007 Activity 2 Context Data Modelhis model should be constructed based on the entities identified in Activity 1. All of the cardinaliti

10、es of the major entities can be determined from the interview or the forms. The following diagram is based on the following assumptions and/or business rules: A piece of Equipment is made up of one or more EquipmentComponents that either have in the past or are now installed. Each piece of Equipment

11、 is a particular EquipmentType. Each piece of Equipment is owned by a particular Client. Each EquipmentComponent is a particular ComponentType. Each Configuration is associated with a particular Client. Some, but not all, of the configuration records could be associated with a piece of Equipment. Be

12、cause this does not apply to all records, a formal relationship would not have to be established. A Client submits one or more ServiceRequests, which may related to a piece of Equipment. Each ServiceRequest will be worked on with zero or more WorkRecords (initially zero but eventually at least one).

13、 TSADM 7/ed CTTS CASE STUDY - Milestone 4: Solution Page: 4-4Prepared by Gary B. Randolph forSystems Analysis & Design Methods 7edby J. L. Whitten, L. D. Bentley, & K.C. Dittman Copyright Irwin/McGraw-Hill 2007 Activity 3 Key-Based Data Modelhis model is constructed by adding the primary keys to the

14、 model in Activity 2. The primary keys are based on how the user uniquely identifies each entity. Make sure students specify primary keys that uniquely identify the entities as well as use proper names for the keys. The following diagram illustrates one possible solution. This diagram was created in

15、 Microsoft Visio. Primary keys are shown at the top of the list of attributes and marked with PK. Foreign keys are marked with FK and a number. The Equipment entity has EquipNum as the primary key. In the present system, the computer name acts as a primary identifier. This could be the primary key.

16、However, Jeff Summers states that the computer name is sometimes changed. Primary keys cannot be changed in some systems, and it is never good practice. An EquipNum is a number that could be generated by the system and stays unchanged forever. As a number it would also consume less disk space as a foreign key in related tables and would provide for faster joins. The EquipmentComponent entity has ComponentNum as the primary key. This would also be

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号