Divtonary - Data Structures - Homework, Slides of Data Structures and Algorithms

key points of Data Structures are: Divtonary, Comparison, Word-Concordance Program, Based Dictionary Implementation, Dictionaries Implemented, Stop Words, Processed, Program, Implementation, Table Slot

Typology: Slides

2012/2013

Uploaded on 04/30/2013

naji
naji 🇮🇳

4.3

(6)

87 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
DICTIONARY ADT COMPARISON
In this assignment redo the word-concordance program (Homework #4), but timing it using:
BST-based dictionary implementation, and also
AVL-based dictionary implementation
to store both the stop-words and the word-concordance information.
Time your word-concordance application from homework #4 using both tree-based dictionary ADT
implementations to complete the following table:
Dictionaries implemented using AVL trees
Dictionaries implemented using BSTs
Word-concordance Program Execution Time (seconds)Word-concordance Program
DATA FILES - Download hw6.zip file at http://www.cs.uni.edu/~fienup/cs1520s13/homework/ it contains:
the stop words in the file stop_words.txt
the data file to be processed by your word-concordance program in the file hw4data.txt (same as hw4)
You will also need:
your BST implementation from lab9
your AVL implementation from lab10
EXTRA CREDIT POSSIBILITIES:
1) Implement a ClosedAddrAVLTreeDict dictionary ADT by modifying the ChainingDict dictionary ADT. The
ClosedAddrAVLTreeDict implementation should use a AVL tree at each hash table slot instead of an unsorted
linked list.
SUBMISSION
Submit ALL necessary files to run your concordance-production application using the dictionary ADTs as a single
zipped file (called hw6.zip) electronically at
https://www.cs.uni.edu/~schafer/submit/which_course.cgi
Include in your hw6.zip file a "results" file (hw6.doc, .txt,.rtf, .odt, etc.) containing the completed table above, i.e.,
timing results for your word-concordance programming using the various dictionary ADTs.
Data Structures (CS 1520) Homework #6
Docsity.com

Partial preview of the text

Download Divtonary - Data Structures - Homework and more Slides Data Structures and Algorithms in PDF only on Docsity!

DICTIONARY ADT COMPARISON

In this assignment redo the word-concordance program (Homework #4), but timing it using:  BST-based dictionary implementation, and also  AVL-based dictionary implementation to store both the stop-words and the word-concordance information.

Time your word-concordance application from homework #4 using both tree-based dictionary ADT implementations to complete the following table:

Dictionaries implemented using AVL trees

Dictionaries implemented using BSTs

Word-concordance Program Word-concordance Program Execution Time (seconds)

DATA FILES - Download hw6.zip file at http://www.cs.uni.edu/~fienup/cs1520s13/homework/ it contains:  the stop words in the file stop_words.txt  the data file to be processed by your word-concordance program in the file hw4data.txt (same as hw4)

You will also need:  your BST implementation from lab  your AVL implementation from lab

EXTRA CREDIT POSSIBILITIES:

  1. Implement a ClosedAddrAVLTreeDict dictionary ADT by modifying the ChainingDict dictionary ADT. The ClosedAddrAVLTreeDict implementation should use a AVL tree at each hash table slot instead of an unsorted linked list.

SUBMISSION

Submit ALL necessary files to run your concordance-production application using the dictionary ADTs as a single zipped file (called hw6.zip) electronically at

https://www.cs.uni.edu/~schafer/submit/which_course.cgi

Include in your hw6.zip file a "results" file (hw6.doc, .txt,.rtf, .odt, etc.) containing the completed table above, i.e., timing results for your word-concordance programming using the various dictionary ADTs.

Data Structures (CS 1520) Homework

Docsity.com