Management Information Systems (33:136:370:02) 
Fall 2015, Professor Eckstein
Assignment 3

Due: Thursday, October 1
  

For each of the following situations, design a database to hold the specified information drawing an entity-relationship (ER) diagram and writing a database design outline for the database required to hold the information described in the problem.  A database design outline is a description of a database using the following notation (shown here for an example we used in class).  Primary key fields must be underlined and foreign keys annotated with "attribute foreign key to TABLE".

CUSTOMER(CustomerID, FirstName, LastName, StreetAddress, City, State,
                      Zip, Phone)

LOAN(LoanID, Date, Loan Amount, Rate, Term, Type, CustID)
        CustID foreign key to CUSTOMER

PAYMENT(LoanID, PaymentNumber, Date, PaymentAmount)
        LoanID foreign key to LOAN

In your answers, all tables must have a primary key; you may add synthetic-key "ID" fields to tables whenever necessary. 

An entity-relationship (ER) diagram means a graphical depiction of the database structure as given in class.  For the example above, the diagram would be as follows: 

In each question below, assume that any “address information” specified is in U.S. format, consisting of fields for street address, city, state code, and zip code.  Unless stated otherwise in an individual problem, assume that you do not have the master zip code table in your databases, so that city, state, and zip code may be treated as independent. 

When the problems specify that you should store a “date/time”, assume that you will store dates and times together in MS-Access-style “date/time” fields, which are able to store a date and time together in single attribute.
 

Q1.   Restaurant franchises.  Problem 4 on page 30 of reading number 5 (draft chapter 4).
 

Q2.  Tutoring service. Problem 5 on page 30 of reading number 5 (draft chapter 4).
 

Q3.  Musical Instrument lending program.  Problem 6 on page 30 of reading number 5 (draft chapter 4).  Note that this problem does assume that you have access to a zip code table.