Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
35 views

2 DataModeling RelationalModeling 2012

This document outlines homework assignments for a database modeling course. It includes instructions for creating an entity-relationship model and relational model for two scenarios: a Little League baseball program and a temporary employment agency. Students are asked to draw E-R diagrams and transform the models into relational schemas with tables, attributes, and relationships. The document provides details on the business rules and entities for each scenario to aid in the modeling tasks.

Uploaded by

Ksatria AFK
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

2 DataModeling RelationalModeling 2012

This document outlines homework assignments for a database modeling course. It includes instructions for creating an entity-relationship model and relational model for two scenarios: a Little League baseball program and a temporary employment agency. Students are asked to draw E-R diagrams and transform the models into relational schemas with tables, attributes, and relationships. The document provides details on the business rules and entities for each scenario to aid in the modeling tasks.

Uploaded by

Ksatria AFK
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

IS 441 Homework 2 - Data Modeling; Relational Model

20 + 4 points; due 2/27/2012

Part 1: E-R Modeling (Courtesy of Dr. Donna Driscoll) (5 points each, 10 points subtotal)

1. Create a database design for a Little League baseball program. The database must contain the
roster of all players and coaches by team. The database must enable the sports manager to track
the won/lost records for each team. The following business rules are in effect:

a. Each team fields at least twelve players. Each player plays for only one team.
b. Each team has at least one sponsor. Each sponsor may sponsor more than one team.
c. Each team has at least three coaches. Each coach can only coach one team.
d. A city or town can have more than one team. Each team is associated with only one city or
town.
e. Each of the teams plays each of the other team at least twice: at least once as the home
team and at least once as the visiting team. (Hint: Note the recursive relationship here –
TEAM plays TEAM in a GAME)

2. Temporary Employment Corporation (TEC) places temporary workers in companies during peak
periods. TEC's manager gives you the following description of the business:

a. TEC has a file of candidates who are willing to work.


b. If the candidate has worked before, that candidate has a specific job history. (Naturally, no
job history exists if the candidate has never worked. Each time the candidate worked, one
additional job history record was created.)
c. Each candidate has several qualifications. Each qualification may be earned by more than
one candidate. (For example, it is possible for more than one candidate to have earned a
BBA degree or a Microsoft Network Certification. And clearly a candidate may have earned a
BBA and a Microsoft Network Certification.)
d. TEC also has a list of companies that request temporaries.
e. Each time a company requests a temporary employee, TEC makes an entry in the openings
folder. This folder contains an opening number, company name, required qualifications,
starting date, anticipated ending date, and hourly pay.
f. Each opening requires only one specific or main qualification.
g. When a candidate matches the qualification, (s)he is given the job, and an entry is made in
the Placement Record folder. This folder contains an opening number, candidate number,
total hours worked, and so on. In addition, an entry is made in the job history for the
candidate.

h. TEC uses special codes to describe a candidate's qualifications for an opening. The list of
codes includes:

Code Description
SEC-45 Secretarial work, at least 45 words per minute
SEC-60 Secretarial work, at least 60 words per minute
CLERK General clerking work
PRG-VB Programmer, Visual Basic
PRG-C++ Programmer, C++
DBA-OR Database Administrator, ORACLE
DBA-DB2 Database Administrator, DB2
SYS-1 Systems Analyst, level 1
SYS-2 Systems Analyst, level 2
NW-NOV Network administrator, Novell experience

TEC's management wants to keep track of the following entities:

COMPANY
OPENING
QUALIFICATION
CANDIDATE
JOB_HISTORY
PLACEMENT

Part 2: EER Modeling (5 points subtotal)

Chapter 3, PP. 144-145, 12 & 13 (these two are indeed one problem in two steps)
You can choose to express your final solutions for Problem 13 if you are sure your solution is correct.

Part 3: Relational Modeling (4 points and 5 points, respectively; 9 points subtotal)

1. Transform the ER model in Chapter 2, problem 15b (The one with CHEMIST, PROJECT, and
EQUIPMENT, P. 104) into relations; presenting in BOTH short text statement and graphical
representations.
Short text statement: Ref. PP. 158-159, and Slide #10-11, Chap4-Part 1;
Graphical representations: Ref. P. 163 and Slide #12&16 Chap4-Part 1.

2. Perform the above work, for problem #18 of Chapter 4 on P. 199. Ignore for now the last part
regarding normalization (the last sentence).

You might also like