#contents

//** Week 1 Introduction
//
//- Question
//
//Introduce yourself here by telling us your name, what part of the world you live, your major or primary area of study at UMUC and what you envision doing with your programming skills you obtain from this course.
//
//- Answer
//
//Hello everyone, my name is Yuji Shimojo and I'm 27. I am from Okinawa, Japan and live there now. I'm in charge of presales of cloud systems integration and application development at an IT company based in Okinawa. Actually, I used to study Information Engineering at University of the Ryukyus in Okinawa, but I dropped out of the college 5 years ago. While in the college, I had lived in San Jose, California for 6 months for an internship. I'm currently majoring in Computer Science with a minor in Business Administration. I took CMIS242, CMSC335, CMSC350, CMSC325, CMSC330, CMSC412, and CMIS330 as part of my major in the past. I would like to improve my database systems architecting skills to enhance my sales engineer career this course.
//
//In my spare time, I enjoy traveling. I've been to California, Taiwan, and several places in Japan. I especially like Taiwan because it is very near from my place. So far I went there 5 times.
//
//I also enjoy scuba diving. Okinawa is known as one of the best islands for scuba diving, so you can enjoy all year round!

** Week 1 Discussion Entities and Attributes [#pa7da807]

- Question

You have been tasked to create a database for your college to track students, their courses (past, present, and future), grades and academic standing, and instructors.  

Describe the entities and their attributes that might be required for this application, the type of database processing required, and the application software needed.  

Consider all users of the application and how the issues of data integrity, security, and user interfaces would best be handled.

- Answer

I believe the type of database processing required for this system is relational database because RDB is suited to manage constructive data which requires concurrency and data consistency.

In designing a relational database, each relation needs to be an one-to-many connection. Therefore, I created Enrolled Courses entity between Students entity and Courses entity, and Student Degree Plans entity between Students entity and Academic Disciplines entity in which academic majors and minors are defined.

#ref(CMIS320_W1_ERM.png,,90%)

Since the system is simple and small scale, Microsoft Access is enough to start.

** Homework1 [#dfacf0ef]

- Question

Consider a student club or organization in which you are a member. What are the data entities of this enterprise? List and define each entity. Then, develop an enterprise data model showing these entities and important relationships between them.

- Answer

#ref(CMIS320_Homework1.pdf)

** Week2 Relational Model and an Introduction to SQL [#m91d8575]

- Question

Answer just one of the following questions. Be sure to read other student posts and work to not duplicate information that has already been provided.

1) What is Dr. Codd's relational model and what does it include

2) Contrast the terms relation, tuple, and attribute with table, row, and column.

3) Describe the relationship between a superkey, a candidate key, and a primary key.  Give an example.

4) Explain where you can use business rules in an organization.

5) Describe and give an example of one of the following:

-- derived attribute
-- multivalued attribute
-- ternary relationship
-- required attribute

- Answer

''3) Describe the relationship between a superkey, a candidate key, and a primary key. Give an example.''

A super key of a relation is an attribute or a subset of attributes which identify a unique tuple.

A candidate key of a relation is one of super keys which is a minimal set of attributes to identify a specific tuple. This key name is derived from a candidate for a primary key.

A primary key of a relation is a candidate key which is the best to identify a tuple. The values of this key are required to be unique for each tuple in a relation.

For example, when there are multiple attributes named City ID, City name, County name, and State name in a relation for cities of United States, All of City ID, the subset {City ID, City name}, the subset {City ID, State name}, the subset {City ID, City name, County name, State name}, and the subset {City name, County name, State name} are super keys. On the other hand, Candidate keys in this relation are City ID and the subset {City name, State name}. Either City ID or the subset {City name, State name} can be the primary key. If you set City ID as the primary key, the subset {City name, State name} would be an alternate key.

** Homework2 [#l4f5e909]

- Question

For each of the following descriptions:

a. A piano manufacturer wants to track all pianos it makes. Each piano has a unique serial number and a manufacturing completion date. Each instrument represents exactly one piano model, all of which have an identification number and model. The company produces thousands of pianos of a certain model, and the design is specified before any single piano exists.

b. A vendor builds multiple types of tablet computers. Each has a type identification number and a name. The key specifications for each type include amount of storage and display type. The company uses multiple processor types, exactly one of which is used for a specific tablet type. The same processor can be used in multiple types of tablets. Each processor has a manufacturer and a manufacturer's unique code that identifies it.

perform the following tasks:

1. Identify the degree and cardinalities of the relationship.
2. Express the relationships graphically with an E-R diagram.

Document your work into a single, well-organized, well-written word document and submit no later than due date.

- Answer

#ref(CMIS320_Homework2.pdf)

** Week3 Enhanced E-R model discussion [#nfd6afa1]

- Question

Provide your own unique example of a supertype/subtype relationship. Be sure to describe the relationship and discuss if the disjoint or overlap rule would apply to your example.

- Answer

** Homework3 [#m5bad23e]

- Question

You are working for country club with thousands of members. You have been tasked with designing a database to keep track of the members and their guests.

The club keeps track of mail and telephone contact information, name and membership number. When a member joins the club they can become a social member with pool, racket ball and weight room privilieges or golf member which includes all of the social member privileges plus access to the golf course.

Develop, document and design an EER for this situation.

Submit your word document no later than the due date.

- Answer

#ref(CMIS320_Homework3.pdf)

** Week4 Data Dictionary Views [#r7905787]

- Question

Choose Oracle datatypes for the following attributes from a normalized relation including:
Conduct some research on Oracle Data dictionary views using Google or other search engines.

Vendor(VendorID, Address, ContactName)~
Item (ItemID, Description)~
PriceQuote(VendorID, ItemID, Price)
Pick a view and describe and provide at least two columns in the view.

Describe why you selected the datatypes for each attribute.
Be sure to pick a dictionary view no one else has already selected.

- Answer

** Project1 [#tc282e50]

- Question

Instructions:

This project allows students to demonstrate their skills in the area of designing relational databases to satisfy specific business rules and requirements. The deliverables for this project include an Entity Relationship Diagram and detailed documentation describing the database design and structure.

Project 1 Details:

In this project you will be provided with a description of an application (below) to create an entity-relationship diagram (ERD) and design accompanying table layout using sound relational modeling concepts and practices. The relationships between the entities and the attributes for the entities will be identified and described. This database will provide the foundation for the follow-on project. The following paragraphs provide the background and summary of the business requirements.

You are a database consultant with Ace Software, Inc. and have been assigned to develop a database for the Mom and Pop Johnson video store in town. Mom and Pop have been keeping their records of videos and DVDs purchased from distributors and rented to customers in stacks of invoices and piles of rental forms for years. They have finally decided to automate their record keeping with a relational database.

You sit down with Mom and Pop to discuss their business, and watch their operation for about a week. You discover quickly that a video and a DVD are both copies of a movie kept in a separate plastic case that is rented out. They have several copies of each movie they rent; therefore there are several videos and DVDs for each movie title. You learn that in their inventory they have several thousand videos and DVDs, which they get wholesale from about a half dozen distributors. The video and DVD prices to them are based on the quantity of their shipment and the past business they have done with each company.

The price of a DVD for a movie might be different than the price of a video for the same movie, even from the same distributor. Each distributor provides different types of movies (e.g., suspense, horror, mystery, comedy, etc.). A single distributor may provide several different types of movies in both video and DVD format. It is possible to obtain the same movie from multiple distributors, and at different wholesale prices.

Each video and DVD has a unique identification number that Mom and Pop assign in their inventory, in addition to the distributor's serial number for the item. Each movie also has a unique identification number Mom and Pop assign in addition to the title, and any movie IDs the distributors use in their electronic catalogs. Distributors provide electronic catalogs to Mom and Pop and the information from these catalogs must be included in the database.

Mom and Pop need to record when a video or DVD is rented, when a video or DVD is returned, and all customer charges such as late and damaged fees, failure to rewind fees, and taxes. They need a report of which videos are returned late because there are standard and late charges. On occasion there are discount prices for certain movies or types of movies. Customers want to rent movies based on actors or actresses, running length, type of movie, rating, year released, the director, and the academy awards won (by the movie, the actors, the actresses and/or the directors). Customers also want to know how many videos they have rented in the last month, year, and so forth. Mom and Pop need to keep only basic information on customers in their database, such as name, address, telephone numbers, etc.

There must be no limit to the number of video and/or DVD copies of a movie that Mom and Pop can have in their inventory. Video/DVD ID numbers, movie ID numbers, and distributor ID numbers for videos, DVDs, and movies are all different. Also, each movie must be able to have an unlimited number of actors, actresses, directors, and academy awards (i.e., Oscars). Other types of awards (e.g., Golden Globe, People's Choice, etc.) are not of interest for this application. The rental of equipment, sale of videos, DVDs, popcorn, etc., is not to be kept in the database.

Using this information, you should:

Step 1) (7 points) Determine and list your entities. Then create relationship sentence pairs between those entities that are related.  You should not have any many-to-many relationships.

Step 2) (13 points) Create an entity/relationship diagram (ERD) showing all your entities, attributes, and relationships. Sketch your ERD by hand or use a drawing program.  Your diagram must be on a single page.  All entities should be relatated to at least one other entity.  Your ERD should have all one-to-many relationships and not have any many-to-many relationships.

Step 3) (5 points) Create metadata that describes the table created from each entity and the column created from each attribute in the ERD. Particular attention will be given to the proper specification of all primary key (via "PK") and foreign key (via "FK") columns in the table layouts. These should match your ERD exactly.

Follow the procedures in the course modules and the Database Development Phases document for this project.

Submit everything for the above steps in a single Microsoft Word file to the LEO  Project #1 assignment link.  Make sure your work is neat and legible and your steps are in order. 

Due Date    
Jun 14, 2015 11:59 PM

- Answer

#ref(CMIS320_Project1.pdf)

** Homework4 [#nabbc2fa]

- Question

Choose Oracle datatypes for the following attributes from a normalized relation including:

Vendor(VendorID, Address, ContactName)~
Item (ItemID, Description)~
PriceQuote(VendorID, ItemID, Price)

Describe why you selected the datatypes for each attribute.

- Answer


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS