Homework 99 Fall 03
Homework 99 Fall 03
Exercise 1. Write the relational database model for the Development Department of The
Performing Arts Company.
Background: The development staff of The Performing Arts Company maintains a list of potential
financial donors. Affiliates (development staff members or a members of the Company's Board of
Trustees) use the donor list to solicit financial gifts through periodic contacts. Contacts may be
through telephone, mail, or personal contact (e.g., at a dinner sponsored by the Company or a visit
to the donor's place of work or residence).
Problem: The Executive Director of the Performing Arts Company has determined that
effectiveness and efficiency of the development department needs to be increased. Development
needs to raise more funds with existing staff and resources.
Approach: The director of development suggests that a development database and application
programs could provide the information necessary for improving development efforts. She
would like to have a database and applications built around the financial donor list to provide
information: a) on which donors are the most promising to contact, b) for generating schedules on
which potential donors to contact and when to do so, and c) for estimating the number of contacts
that must be made before a gift is pledged for different categories of prospective donors. (Note that
the database would not meet these needs directly, but would provide the necessary input data for
analyses.)
2
Besides name, mailing address, and phone number, data gathered on each donor include the
donor's preferred contact mode, C-MODE CODE, (telephone, mail, or personal contact) and
next contact date as determined by the development director or contacting affiliate.
CONTACT has a serial number for its primary key. AFFILIATE and DONOR also have
sequence numbers as primary keys.
Contact outcome code (OUTCOME CODE) has values: gift made, no gift but good prospect
for future gifts, or poor prospect.
Contacts that are successes, have the amount of the gift and anticipated date of payment
recorded.
1 C_MODE 1
CODE
M M
1 M M 1
DONOR CONTACT AFFILIATE
M 1
1
1
OUTCOME
SUCCESS
CODE
3
Instructions on preparing exercise 2:
When drawing the entity-relationship diagram, include all connectivity indicators (1 or M) for
relationships. Include all code tables as entity sets.
Use all capital letters for entities.
Include text that describes how one entity is related to another, e.g. “STUDENT (enrolls in)
CLASS” and position this text below or to the right of the line that links the two entities
Do not include entity attributes.
List all values for code tables below the E-R diagram.
Exercise 2. Create an entity-relationship diagram for the State Environmental Protection Agency.
The State Environmental Protection Agency has partitioned the state into air pollution control
regions. Each region has air pollution sources (e.g., electric power plants, factories, etc.). Each
source has one or more air pollutant emission permits (e.g., for pollutants such as sulfur dioxide,
particulates, nitrides of oxygen, etc.). Included in the permit are maximum allowable air discharges
of pollutants (tons per year). The EPA maintains a file of air pollution controls installed at each
pollution source (e.g., sulfur dioxide scrubber, particulate precipitator, etc.) and collection
efficiencies (e.g., 85%, 97.5%, etc.). Include installation date as an attribute of CONTROL.
Exercise 3. The Job*Links program performs job training and placement for individuals in a
variety of areas. Recently it has received information on participants from two other programs
who have been referred to Job*Links. These data are contained in the tables tblEastEnd and
tblNorthSide.
(a) Using the INTERSECTION operation, identify, and list all field values, for the set of records
corresponding to individuals in both job training programs.
(b) Using the SELECT operation, identify, and list all field values, for the set of records in
which OrganizationName = “Deer Lake Medical Association”.
Exercise 4. The Job*Links program is also in the process of computerizing its records which are
currently all hand-written or typewritten. Job*Links staffers would like to create an Access table
listing all students currently in the program and they would also like to create code tables to
standardize data entry. However, the historical records were created by a number of different
individuals and are known to be inconsistent. After some preliminary analysis, all records were
imported into a table called tblStudentOld.