Need help with your Discussion

Get a timely done, PLAGIARISM-FREE paper
from our highly-qualified writers!

glass
pen
clip
papers
heaphones

easy questions

Description

Unformatted Attachment Preview

1
BYGB/ISGB 7973: Practice problems/exercises
DATABASE MANAGEMENT
Using a Data Model to Implement Database.
DUE: December 5
Question 1
A database will have table Customer in which each customer is identified by CustomerID, which is a
Numeric (3) field (i.e., it can take values from 0 to 999). The table is to be implemented as hash file using
divisor-remainder method. The usage map indicates that will be about 80 records. The prime number for
the divisor-remainder algorithm is chosen as 13 (i.e., pages will be numbered from 0 to 12 and the page
where a record will be located is given by the remainder after dividing CustomerID by 13.) the size of
each page is chosen so as to contain up to 6 records.
For the following CustomerID values, find the page where the row will be stored.
439
487
23
157
141
144
82
2
283
184
463
269
125
15
251
275
453
70
19
92
471
140
231
27
327
159
211
Do you see any page overflow (i.e., get more than 6 records?) Are there any pages that do not get any
record?
Question 2 (Based on exercise 8-51)
Consider the following set of normalized relations from a database used by a mobile service provide to
keep track of its users and advertiser clientss.
USER(UserID, UserLName, UserFName, UserEmail, UserYearOfBirth, UserCategoryID, UserZip)
ADVERTISERCLIENT(ClientID, ClientName, ClientContactID, ClientZip)
CONTACT(ContactID, ContactName, ContactEmail, ContactPhone)
USERINTERESTAREA(UserID, InterestID, UserInterestIntensity)
INTEREST(InterestID, InterestLabel)
CATEGORY(CategoryID, CategoryName,CategoryPriority)
ZIP(ZipCode, City, State)
Assume that the mobile service provider has frequent need for the following information:
? List of users sorted by zip code.
? Access to a specific client with the clientàcontact personàname, e-mail address, and phone
number.
? List of users sorted by interest area and within each interest area useràestimated intensity
of interest.
? List of users within a specific age range sorted by their category and within the category by
zip code.
? Access to a specific user based on their e-mail address.
2
Based on these needs, specify the types of indexes you would recommend for this situation. Justify your
decisions based on the list of information needs above.
Question 3 (Based on exercises 8-59)
Consider Figure 8-7b. Assuming that that each index node can contain three pointers to subtrees and the
leaf nodes can contain four records. What might happen to leaf nodes and index nodes as new records for
Angels, Gators, Hoofers, Gardeners, Highfliers are inserted in the leaf nodes? What happens if addition
records for Highlanders Hoyas, Hostlers, Hummers are inserted?

Purchase answer to see full
attachment
Explanation & Answer:

2 pages

User generated content is uploaded by users for the purposes of learning and should be used following our honor code & terms of service.

Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Order Solution Now

Our Service Charter


1. Professional & Expert Writers: Eminence Papers only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Eminence Papers are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Eminence Papers are known for the timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Eminence Papers, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

We Can Write It for You! Enjoy 20% OFF on This Order. Use Code SAVE20

Stuck with your Assignment?

Enjoy 20% OFF Today
Use code SAVE20