You are on page 1of 6

IVY TECH COMMUNITY COLLEGE

DBMS110 – M01 Lab Assignment (7 questions; 40 points total)

There are seven questions listed below. Based on the content in the M01, answer each
question. After completing, submit this assignment to the M01 Lab Assignment link on IvyLearn.

1. (5 points) Use Figure 1.2 (below) to answer the following questions.


a. In the table, how many records does the file contain?
b. How many fields are there per record? List the name of each field?
c. What problem would you encounter if you wanted to produce a listing by city?
d. How would you solve this problem by altering the file structure?
e. What is an additional field that can be added to this table?

PROJECT_CODE PROJECT_MANAGER MANAGER_PHONE MANAGER_ADDRESS PROJECT_BID_PRICE


21-5Z Holly B. Parker 904-338-3416 3334 Lee Rd. Gainesville, FL. 37123 $16,833,460.00
25-2D Jane D. Grant 615-896-9909 218 Clark Blvd., Nashville, TN 36362 $12,500,000.00
25-5A George F. Dorts 615-227-1245 124 River Dr., Franklin, TN 29185 $32,512,420.00
25-9T Holly B. Parker 904-338-3416 3334 Lee Rd. Gainesville, FL. 37123 $21.563.234.00
27-4Q George F. Dorts 615-227-1245 124 River Dr., Franklin, TN 29185 $10,314,545.00
29-2D Holly B. Parker 904-338-3416 3334 Lee Rd. Gainesville, FL. 37123 $25,599,999.00
31-7P William K. Moor 904-445-2719 216 Morton Rd., Stetson, FL 30155 $56,850,000.00
Figure 1.2 Table for exercise #5, by A. Watt

ANSWER:

A. 7
B. Project_code, Project_Manager, Manager_Phone, Manager_Address, Project_Bid_Price
C. The field for address contains the entire address and isn’t sortable by city alone
D. Instead of having the entire address in one field, they should be divided into street, city,
state, and zip allowing these fields to be sortable.
E. Street, city, state, and zip would make this table easier to sort and with different criteria.
(8 points) Your family owns a small coffee shop in your town. After your reading, you believe
that a database will be beneficial to their business.
f. Discuss how you can use a database to support their business.
g. Discuss at least two benefits of having a database.
h. Discuss at least one table that can be listed in their database.

ANSWER:

A. A good use for this database would be to record the different types and amounts of
coffee sold to whom and where. A database could give you a clearer view of some
trends depending on demographics and area of sales.
B. Good uses of a database could be customer index and inventory control. A database
filled with customer information could give better insight to customer purchase trends
and maybe making loyalty program. Inventory control could be done with a database
just by following the sales certain types of beans and flavors, plus tracking supplies like
cups and lids.
C. The best table would be the keep track of the different types of coffee offered. Within
this table you could keep track of orders, sizes, flavors, and loyalty club member.

2. (6 points) Identify, describe and discuss the type of database model that has been
represented in the given model snapshots.
ANSWER:

a. Hierarchical model
b. Network model
3. (5 points) You are an avid reader and have many books in your library at home. You
decide to sell some of your books, but you would like to create a database to keep track
of books. Based on your reading, identify at least 5 fields that can be listed in a Book
table. (Use the figure below as a point of reference).

PROJECT_CODE PROJECT_MANAGER MANAGER_PHONE MANAGER_ADDRESS PROJECT_BID_PRICE


21-5Z Holly B. Parker 904-338-3416 3334 Lee Rd. Gainesville, FL. 37123 $16,833,460.00
25-2D Jane D. Grant 615-896-9909 218 Clark Blvd., Nashville, TN 36362 $12,500,000.00
25-5A George F. Dorts 615-227-1245 124 River Dr., Franklin, TN 29185 $32,512,420.00
25-9T Holly B. Parker 904-338-3416 3334 Lee Rd. Gainesville, FL. 37123 $21.563.234.00
27-4Q George F. Dorts 615-227-1245 124 River Dr., Franklin, TN 29185 $10,314,545.00
29-2D Holly B. Parker 904-338-3416 3334 Lee Rd. Gainesville, FL. 37123 $25,599,999.00
31-7P William K. Moor 904-445-2719 216 Morton Rd., Stetson, FL 30155 $56,850,000.00

ANSWER:

Field 1: Last name, First name of author.


Field 2: Book title
Field 3: Date of Publication
Field 4: Hardcover or Paperback
Field 5: Book price
(5 points) ABC School District would like to create a student on-line information and
registration system to capture student-related information. The system needs to be designed
as an on-line process to allow all new students to register on-line. It should also allow existing
students to update and review all information. Create a list of 5 important data tables that
would need to be captured and stored in the student registration database.

ANSWER:

Students last name, students first name, address, grade, account balance, parents name,
parents contact information
4. (5 points) You work at a local game store. During your shift, a customer comes in to the
store and makes a purchase and you write the customer information and items
purchased on the store’s sales receipt. After sitting in your DBMS110 class, you realize
that tables would be a better way to organize this data. In the space below, convert the
transactional portion of this receipt into data tables (disregard the store information).
SELLERSBURG GAME STORE RECEIPT

Date: 03/30/2011

Customer Info
Tracey Smith
18 Lake Street
Sellersburg, Indiana 47172

Items Purchased
 (2) Xbox 360 Controller - $20
 Halo Reach Game - $40
 Headset - $50

Address: 134 Circle Road, Jeffersonville, IN 47130


Phone: (812) 123-4567

ANSWER:

Customer information table Purchased Products Invoice Table

Customer_id Product ID Purchase Date

Last name Product Name Customer id

First name Price

Quantity
5. (6 points) Below is some data that has been provided to an online merchant in a letter.
This letter can be considered unstructured data. Based on the definition of structured
and unstructured data, convert the following letter to structured data.

James,

I’m a first-time customer and I’d like to purchase one Finn at the cost of $899.00. I
understand that the shipping would be $100 for an item this big. Please send an
invoice so that I can provide you with a check payment for the items being purchased.
Thanks in advance,

Lisa Brown

ANSWER:

Customer Info- Lisa Brown


Order
Product-Finn
Price-$899
Shipping-$100
Total-$999
Representative Name- James

You might also like