Petrie’s Electronics Case Questions Solutions

Submitted by: Submitted by

Views: 2958

Words: 423

Pages: 2

Category: Business and Industry

Date Submitted: 10/07/2012 06:13 AM

Report This Essay

Petrie’s Electronics Case Questions Solutions

2. Again, review the DFDs you developed for the Petrie’s Electronics case (or those given to you by your instructor). Use these DFDs to identify the attributes of each of the six entities listed in this case plus any additional entities identified in your answer to Question 1. Write an unambiguous definition for each attribute. Then, redraw Figure 7-1 by placing the six (and additional) entities in this case on the diagram along with their associated attributes. (5 points)

PROMOTION ID

1. PROMOTION_ID- PROMOTION CODE PROVIDED BY COMPANY

2. PROMOTION_AMOUNT- PROMOTION AMOUNT FOR THE CODE

COUPON ID

1. AMT_POINTS- THE AMOUNT OF POINTS THE CLIENT HAS

2. COUPON_ID DISCOUNT CODE OFFERED BY THE COMPANY

CUSTOMER ID

1.ONLINE_NAME- LOG IN OR USER NAME

2.CUSTOMER_NUMBER- REWARDS CARD NUMBER FOR IN STORE SHOPPERS

SERVICES ID

1.SERVICE_ID- SERVICE IDENTIFIER FOR SERVICE RENDERED

2.STORE_JOB- -STORE PROVIDING SERVICES

TRANSACTION ID

1. TRANSACTION ID- ID FOR TRANSACTION TYPE

2. TRANSACTION_TYPE_ TYPE OF TRANSACTION BEING PRERFORMED

PRODUCT ID

1.PRODUCT_ID- PRODUCT NAME

2. PRODUCT_QUANTITY-AMOUNT OF PRODUCTS NEEDED

I would suggest that you list at least 2 attributes for each of the six entities and describe then in a short sentence or bullet statement. Then you can redraw PE Fig 7-1 to look like figure 7-21 on page 223.

3. Using your answer to Question 2, designate which attribute or attributes form the identifier for each entity type. Explain why you chose each identifier.

(5 points)

Look at page 199 for the definition of an identifier. Pick an identifier for each of the six entities that will make them unique. Identifiers are underlined in attribute list in entities – so look on pages 200-201 for some examples. Do not forget to explain why these are needed.

4. Using your answer to Question 3, draw the relationships between entity types needed...