Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this project, you will build a system to maintain information of a dictionary. Your program should read a set of words and their relevant

image text in transcribedimage text in transcribedimage text in transcribed

In this project, you will build a system to maintain information of a dictionary. Your program should read a set of words and their relevant information (in c language) from a file named Words.txt. The user should be then able to enter words into the dictionary with their relevant information. (you have to implement all data structures by your own don't use any library's). + The format of the input data is as follows: Word: meaningi, meaning2, meaningn / a synonym antonym. N 2 1. an wit Example old: advanced in age, aged, antique / ancient * new To keep track of the dictionary, a computer program based on an AVL tree data structure should be implemented. 1. You are required to implement a program to help creating the dictionary by including the following operations of an AVL tree: Read Words.txt file and create the dictionary (i.e., AVL Tree). Insert a new word from user with all its associated data (up to three meanings). Find a word and give the user the option to update the information of the Find a word and give the user the option to update the information of the word if found. List words in the dictionary in lexicographic order with their associated meanings, synonyms, and antonyms. List all synonym and antonyms of a given word. List all words that start with the same first letter in lexicographic order. Delete a word from the dictionary. Delete all words that start with a specific letter. Save all words in file Dictionary.data. 2. Then create a Hash Table using the dictionary data of the previous step (use words as keys) and implement the following functions on the hash table: Print hashed table (i.e., print the entire table to the screen including empty spots). Print out table size. Print out the used hash function. 2. Then create a Hash Table using the dictionary data of the previous step (use words as keys) and implement the following functions on the hash table: Print hashed table (i.e., print the entire table to the screen including empty spots) Print out table size. Print out the used hash function. Insert a new record into the hash table. Search for a specific word. Delete a specific record. Save hash table back to file. In this project, you will build a system to maintain information of a dictionary. Your program should read a set of words and their relevant information (in c language) from a file named Words.txt. The user should be then able to enter words into the dictionary with their relevant information. (you have to implement all data structures by your own don't use any library's). + The format of the input data is as follows: Word: meaningi, meaning2, meaningn / a synonym antonym. N 2 1. an wit Example old: advanced in age, aged, antique / ancient * new To keep track of the dictionary, a computer program based on an AVL tree data structure should be implemented. 1. You are required to implement a program to help creating the dictionary by including the following operations of an AVL tree: Read Words.txt file and create the dictionary (i.e., AVL Tree). Insert a new word from user with all its associated data (up to three meanings). Find a word and give the user the option to update the information of the Find a word and give the user the option to update the information of the word if found. List words in the dictionary in lexicographic order with their associated meanings, synonyms, and antonyms. List all synonym and antonyms of a given word. List all words that start with the same first letter in lexicographic order. Delete a word from the dictionary. Delete all words that start with a specific letter. Save all words in file Dictionary.data. 2. Then create a Hash Table using the dictionary data of the previous step (use words as keys) and implement the following functions on the hash table: Print hashed table (i.e., print the entire table to the screen including empty spots). Print out table size. Print out the used hash function. 2. Then create a Hash Table using the dictionary data of the previous step (use words as keys) and implement the following functions on the hash table: Print hashed table (i.e., print the entire table to the screen including empty spots) Print out table size. Print out the used hash function. Insert a new record into the hash table. Search for a specific word. Delete a specific record. Save hash table back to file

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Prepare a constructive performance appraisal.

Answered: 1 week ago

Question

List the advantages of correct report formatting.

Answered: 1 week ago