CSC365 B-Tree Assignment

This assignment asks you to create a web-based spell checker; a scaled-down variant of "webster" and similar services. The main functionality is:

This assignment must be done in two phases:

  1. In the first phase, you will implement the dictionary as an internal Top-Down Order-8 B-Tree initialized from words.txt, which contains one word per line.

  2. In phase two, you must implement a persistent B-Tree. You cannot proceed to phase two until you successfully demo phase one. Simulate a "cache management system" as discussed in class. Document your cache management code to state how you are reusing the cache.
  3. The persistent BTree must have the same functionality (add and remove) as the internal BTree.
  4. You need to create two files for your persistent B-Tree:

Test your program thoroughly before demonstrating and submitting.

Remember - BTNode does NOT have a parent pointer. If your code just so happens to have a pointer to the parent, you will receive an E for the course. Really.

Demo

Demo your program(s) from one of the CS machines. It is not acceptable to demo from a laptop.