Post on 07-Jan-2016
description
MIS 315 - Bsharah
The project should include the following items
1. Graphical process model containing 3 to 10 activities/process steps.
2. An Entity/Object Pool with 3 to 5 entities.
3. An Entity Relationship Matrix for the entities identified in step 2.
4. A fully refined or attributed Logical Data Model normalized to third normal form.
5. A data dictionary for the logical model created in step 4.
6. An Access 2007 Database created by transforming the logical model in step 4 into a physical design. Each table in the database should contains at least 4 records.
7. At least two Forms for the database created in step 6. The forms at a minimum should enable record addition, deletion, modification.
8. At least two Queries for the database created in step 6.
9. At least two Reports for the database created in step 6.
PART 1
P RT
2
MIS 315 - Bsharah
1. Graphical process model containing 3 to 10 activities/process steps.
1.0Input Customer
Information
Manage Video Rental Business
2.0Manage Video
Inventory
3.0Track Customer
Rentals
4.0Order New
Movies
5.0Advertise and
Track Specials to New and Repeat
Customers
Customer data collection form
Customer address and preference information
Movie order form
New movies
Returned movies
Customerhistory and status
Emails
Studio movie release info
Postalmailing
Inventory with shelf location
MIS 315 - Bsharah
2. An Entity/Object Pool with 3 to 5 entities.
• Movie
• Western
• Action and Adventure
• Comedy
• Documentary
• Movie Studio
• Customer
• Movie Rating
MIS 315 - Bsharah
3. An Entity Relationship Matrix for the entities identified in step 2.
Movie WesternAction and Adventure
Comedy Documentary Movie Studio Customer Movie Rating
Movie Could be a Could be a Could be a Could be a Is produced
by aIs rented by Has a
Western Is a type of Is made by a Is liked by a Has a
Action and Adventure
Is a type of Is made by a Is liked by a Has a
Comedy Is a type of Is made by a Is liked by a Has a
Documentary Is a type of Is made by a Is liked by a Has a
Movie Studio Makes and Distrubutes
Makes and Distrubutes
Makes and Distrubutes
Makes and Distrubutes
Makes and Distrubutes
Customer Rents Likes Likes Likes Likes
Movie RatingIs assigned to
aIs perferred
by a
MIS 315 - Bsharah
Fully Attributed/Refined Model Example
Makes
Movie #
TitleLengthMovie TypeMPAA Rating
MOVIECustomer #
Last NameFirst NameCust AddressCust Phone #
Studio Name
Address
CUSTOMER
MOVIESTUDIO
Is Distributed by
Movie # (Fk1)Copy #Customer # (Fk2)Rent Date
Return DateLate Status
MOVIERENTAL
Is Rented By
Rents
Distributor NameMovie # (Fk1)
Studio Name(Fk2)Release DateContact Name Contact Phone #
MOVIE DISTRIBUTOR
Movie #
ASPCA Rating
WESTERN
(TYPE)
MIS 315 - Bsharah
5.0 A data dictionary for the logical model created in step 4.
• Movie-An item that is available to rent, a motion picture or television production.– Movie #-Unique identifier of the item available for rent.– Title-The name of the item available for rent.– Length-The running time in minutes of the item available for rent.– Movie Type-The genre or classification associated with the items available for rent. Valid
values are: Action and Adventure, Animation , Christmas , Comedy , Comic Book-Based , Documentary, Drama, Family, Horror, Martial Arts, Musical, Science Fiction and Fantasy , Silent Movie, Sports, War Movie, and Western .
– MPAA Rating-Motion Picture Association of America evaluation. Valid values are: G, PG, PG-13 R, and NC-17.
• Western-A genre or type of Movie/Television production.– ASPCA Rating-American Society for the Prevention of Cruelty to Animals evaluation.
• Movie Rental-An instance of a Movie being rented by a customer.– Movie # (Fk1)- Unique identifier of the item available for rent.– Copy #-The sequence number of the item available for rent. Used to differentiate multiple
copies of a Movie.– Customer # (Fk2)-Unique identifier of an individual authorized to rent a Movie.– Rent Date-The date a Movie is rented by a Customer.– Return Date-The date a rented Movie is to be returned to the store for restocking.– Late Status-A status code identifying if the rental item has not been returned by the Return
Date.
MIS 315 - Bsharah
5.0 A data dictionary for the logical model created in step 4. (con’t)
• Customer-the patron who rents Movies.– Customer #-Unique identifier of a customer.– Last Name-the Customer’s surname.– First Name-the Customer’s given name.– Customer Address-the location (postal) where a Customer
may be communicated with.– Cust Phone #-the area code and telephone number of the
Customer. If Address is outside of the USA, then a country code is required.
• Movie Studio-a company that makes and produces motion pictures/television shows.– Studio Name-Unique identifier of a Movie Studio.– Address-the location (postal) where a Movie Studio may be
communicated with.
MIS 315 - Bsharah
5.0 A data dictionary for the logical model created in step 4. (con’t)
• Movie Distributor– Distributor Name- Unique identifier of the company that
distributes movies for the Studios.– Movie # (Fk1)-Unique identifier of the item available for
rent.– Release Date-The date that the rental item is available for
rent.– Studio Name(Fk2)-Unique identifier of a Movie Studio.– Contact Name-the identification of a person at a Movie
Studio to whom communication should be directed.– Contact Phone #-the area code and telephone number of the
Movie Studio Contact. If Address is outside of the USA, then a country code is required.
MIS 315 - Bsharah
6.0 An Access 2007 Database created by transforming the logical model in step 4 into a physical design
• See Access File: Manage Video Rental v1.accdb
MIS 315 - Bsharah
First Normal Form - (1NF)
• Every key and non-key attribute of an entity must be single valued
• No entity instance can have multiple values for a given attribute
• i.e., The No Repeat Rule
• A violating entity is corrected by removing repeating or multivalued attributes to another, dependent (child) entity
MIS 315 - Bsharah
First Normal Form - Example
RESTAURANT
REST NAME ADDRESS PHONE # EMPLOYEE NAME
BURGER KING TACO HOUSE FISH COMPANY
123 NORTH ST 345 126TH PLACE 77 SUNSET AVE
123-2345 765-8907 395-5682
JOHN, SUE, LISA MARY, BILL ED, SAM, JOSE, RICK
REST NAME ADDRESS PHONE # EMPLOYEE NAME
RESTAURANT
REST NAME ADDRESS PHONE #
EMPLOYEE
EMPLOYEE NAMEREST NAME POSITION
employs
MIS 315 - Bsharah
Second Normal Form - (2NF)
• An entity that is in first normal form and each non-key attribute is dependent on the entire primary key
• No non-key attribute instance can be determined by knowing just part of an entity instances key
• A violating entity is corrected by removing to a parent entity any attributes that depend on only a subset of the primary key
MIS 315 - Bsharah
Second Normal Form - Example
RESTAURANT ORDER
REST NAME SUPPLIER NAME ORDER ITEM SUPPLIER PHONE #
BURGER KING TACO HOUSE FISH COMPANY
SAM'S PRODUCE SALSA INC. SAM'S PRODUCE
BEEF PEPPERS SNAPPER
123-2345 765-8907 123-2345
REST NAME SUPPLIER NAME ORDER ITEM SUPPLIER PHONE #
fills
RESTAURANT ORDER
REST NAME ORDER ITEM SUPPLIER NAME (FK1)
SUPPLIER
SUPPLIER NAME PHONE #
MIS 315 - Bsharah
Third Normal Form - (3NF)
• An entity that is in second normal form and each non-key attribute is only dependent on the entire primary key and nothing other than the key
• No non-key attribute instance can be determined by knowing the value of another non-key attribute for the same instance
• A violating entity is corrected by removing to a parent entity any attributes exhibiting transitive dependencies (non-key attributes that not only depend on the whole key but also on other non-key attributes)
MIS 315 - Bsharah
Sample Information Model
MIS 315 - Bsharah
Categorization Example
COMPLETE CATEGORIZATION
WESTERN SUSPENSE COMEDY MALE FEMALE
(SEX)
MOVIE PERSON
INCOMPLETE CATEGORIZATION(there are other movie types such as Documentary)
(MOVIETYPE)
MIS 315 - Bsharah
Planning Model Example
Is Rented By/ Rents
MOVIE CUSTOMER
STUDIO
Is Produced In/ Produces
WESTERN
(TYPE)
MIS 315 - Bsharah
Key-Based Model Example
Funds
MOVIE CUSTOMER
STUDIO
Is Produced by
MOVIE # CUSTOMER #
STUDIO ID
MOVIE # (FK1)CUSTOMER # (FK2)DATE
MOVIERENTAL
Is Rented By Rents
STUDIO ID (FK2)MOVIE # (FK1)
MOVIEPRODUCTION
WESTERN
(TYPE)
MOVIE #
MIS 315 - Bsharah
Non-Specific ConnectionRelationships
• A relationship where one instance of an entity may relate to 0, 1, M instances of a second entity; and one instance of the second entity may relate to 0, 1, M instances of the first entity
• For Example:– A Customer Rents at 0,1,M Movies, and Each Movie is
Rented by 0, 1, M Customers
rents/is rented by
MOVIE
Movie Number
NameRatingRental Rate
CUSTOMER
Cust Number
NameAddressStatus Code
MIS 315 - Bsharah
Specific Connection Relationships
• A Parent - Child relationship that resolves a non-specific relationship to capture additional detail
• A relationship where one instance of an entity (Parent) may relate to 0, 1, M instances of the second entity (Child), and the Child entity is related to one and only one instance of the Parent entity
• For Example: - A CUSTOMER Rents a specific copy of a MOVIE
rents according to
Customer
Cust Number
NameAddressStatus Code
Movie Rental RecordMovie NumberMovie Copy IdRental DateCust Number (FK)
MIS 315 - Bsharah
Movie Genres
• Action and Adventure
• Animation
• Christmas
• Comedy
• Comic Book-Based
• Documentary
• Drama
• Family
• Horror
• Martial Arts
• Musicals
• Science Fiction and Fantasy
• Silent Movies
• Sports
• War Movies
• Westerns