COSC 2810 Chapter 8 + 13 Homework (21 jul 12)

Name: ______________________________________
COSC 2810 – Systems Analysis and Design
Chapter 8 and 13 Homework
1.
Draw an entity-relationship diagram for the following situation: Many students play many
different sports. One person, called the head coach, assumes the role of coaching all
these sports. Each of the entities has a number and a name. (Make any assumptions
necessary to complete a reasonable diagram. List your assumptions.)
2.
The entity-relationship diagram you drew in Problem 1 represents the data entities that
are needed to implement a system for tracking students and the sports teams that they
play. List the files that are needed to implement the system, along with primary,
secondary, and foreign keys that are required to link the files.
3.
Draw an entity-relationship diagram for the following situation: A commercial bakery
makes many different products. These products include breads, desserts, specialty
cakes, and many other baked goods. Ingredients such as flour, spices, and milk are
purchased from vendors. Sometimes an ingredient is purchased from a single vendor,
and other times an ingredient is purchased from many vendors. The bakery has
commercial customers, such as schools and restaurants, that regularly place orders for
baked goods. Each baked good has a specialist that oversees the setup of the bakery
operation and inspects the finished product.
4.
List the files and keys that are needed to implement the commercial bakery system in
Problem 3.
5.
Michael Bush owns a store specializing in travel gear and clothes. He assembles
packages of camping kits. Each kit is a group of separate products that are sold as a
package. Each package (called a PRODUCT) is built using many parts, which vary from
product to product. Interviews with the head parts clerk have resulted in a list of elements
for the PRODUCT PART Web page, showing which parts are used in the manufacture of
each product. A prototype of the PRODUCT-PART Web page is illustrated in Figure
8.EX1 [see below]. Create a data structure dictionary entry for the PRODUCT-PART.
6.
Analyze the elements found on the PRODUCT-PART Web page and create the data
structure for the PRODUCT MASTER file and the PART MASTER file data stores.
7.
Which of the elements on the PRODUCT-PART Web page are derived elements?