3 assignmets
Assignment 1-due 8/8
1. Describe the following disk concepts or components.
a. Platter and recording surface.
b. Track.
c. Cylinder.
d. Read/write head.
e. Access-arm mechanism.
3. Describe the four steps in the transfer of data from
disk to primary memory.
5. What is an index? Compare the concept of the index
in a book to an index in an information system.
7. What is an indexed-sequential file?
9. Describe how a direct search works using a B+-tree
index.
11. Answer the following general questions about
indexes:
a. Can an index be built over a non-unique field?
b. Can an index be built over a field if the file is not
stored in sequence by that field?
c. Can an index be built over a combination of fields
as well as over a single field?
d. Is there a limit to the number of indexes that can
be built for a file?
e. How is an index affected when a change is made
to a file? Does every change to a file affect every
one of its indexes?
f. Can an index be used to achieve sequential
access? Explain
13. Describe how a direct search works in a hashed file
using the division-remainder method of hashing.
15. What is physical database design?
16. Describe why physical database design is necessary.
Assignment 2 due 8/15
W8 Assignment "Final Project"
Database Design
Final Project
You just took a job with a University and have been asked to track some information about the courses they offer. The previous employee was using a spreadsheet to track this information. The University is expanding from three classes to three hundred classes. Enrollment is expected to increase from around 20 students to 5,000. Your supervisors are not very tech savvy and they simply ask you to continue maintaining the spreadsheet. You feel that developing a database is a better solution.
Here is a link to the spreadsheet currently in use
Write a proposal for the new database design to include:
· An executive summary for the database project
· Develop main project details
. Explain the issues that exist with maintaining the data in its current form.
. Explain the process of migrating the data in its current form to a well formed data model by highlighting the following in detail:
2. Identify required attributes that need to be tracked
2. Identify functional dependencies
2. Show the redesign in 1NF, 2NF, and 3NF (similar to figures 7.29, 7.31, 7.33)
· Explain the project benefits of the data in its new form.
· Create the E-R diagram of your relational tables using MySQL Workbench and include in proposal.
· Propose some additional data items, which you believe may be beneficial to the University if tracked in your database (i.e. Descriptions, more info about the instructors and students, departments, etc). Describe the steps required to implement these additions.
· Identify project risks
· In addition to the proposal, in a separate file submit:
. Provide the SQL statement required to create at least one of your tables.
. Provide the SQL statement required to delete at least one of your tables.
. Provide the SQL statement required to create a view which includes Course #, Course Name, Time, and Days only.
. Identify at least one index, which you believe would improve performance. Explain your choice.
|
Grading Criteria |
Maximum Points |
|
Develop executive summary |
10 |
|
Developed project details and assumptions |
10 |
|
Explained project benefits of data in new form |
10 |
|
Provided ER Diagram of data in new form |
10 |
|
Create SQL Statement |
10 |
|
Delete SQL Statement |
10 |
|
View SQL Statement |
10 |
|
Proposed valid index |
10 |
|
Proposed reasonable new data items to track. |
10 |
|
Identified project risks |
10 |
|
Total |
100 |