Find Jobs
Hire Freelancers

Data structures coursework - B+ tree

$30-45 USD

Completed
Posted almost 15 years ago

$30-45 USD

Paid on delivery
Implement a B + tree. The pages in the disk (like the pages of the tree) have size 1024 bytes. The records have a key, which is a positive number and a data field, that is 60 bytes long. The internal nodes store keys and indicators (pointers). An indicator shows another node in the disk storage, the address (a number) of the page on the [login to view URL] that in B + tree nodes are split into internal and external (leaf). Only the external nodes store data. All nodes also store information such as the number of keys (or data) that they have, together with indicators to the next page in the same level, and indicators in the page in the below and above level. Depending on implementation, the leaf nodes to store around 15 entries (keys, indicators, data) and internal nodes store about 120 - 125 indicators that point to children nodes (you should verify the above numbers). The implementation i request will be based on import, delete, random search and key-range queries. Part 1 Implement the tree in the main memory. Enter 10^5 keys with values 1, 2 ... 10^5 - 1. The data values can be anything. Do 20 random key Searches and count the number of node accesses in the tree per query. Put the above values into a table (inside a Word document), also calculate the average number. Repeat the above for 20 range questions (each search range should request more than 1000 values). Part 2 Implement the tree in the disk and repeat the measurements of the first question. Count the number of accesses to disk (instead of access nodes). Measurements should be consistent. If not explain why. Hint: Look at http:// people . cs . vt . edu / ~ shaffer / Book /, another book or WWW.
Project ID: 3874540

About the project

6 proposals
Remote project
Active 15 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$38.25 USD in 6 days
4.8 (51 reviews)
5.8
5.8
6 freelancers are bidding on average $36 USD for this job
User Avatar
See private message.
$38.25 USD in 6 days
4.6 (71 reviews)
5.0
5.0
User Avatar
See private message.
$38.25 USD in 6 days
4.7 (15 reviews)
4.9
4.9
User Avatar
See private message.
$38.25 USD in 6 days
4.5 (5 reviews)
2.6
2.6
User Avatar
See private message.
$34 USD in 6 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$29.75 USD in 6 days
0.0 (2 reviews)
1.9
1.9

About the client

Flag of UNITED KINGDOM
United Kingdom
5.0
109
Member since Nov 15, 2005

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.