Java data structures

Assignment Help JAVA Programming
Reference no: EM131103015

Java Data Structures
Your task in this project is to create a German-English, English-German, French-English, English-French dictionary. You will be responsible for entering a total of twenty-five words in German, the part of speech each word represents and its English meaning. Please use the words below, noting the appropriate information which follows each one
German word Part of speech English meaning


der Mann noun man
das Öl noun oil
die Frau noun woman
das Fräulein noun Miss
das Mädchen noun girl
das Kind noun child
das Haus noun house
die Schule noun school
die Tür noun door
kommen verb to come
gehen verb to go
sehen verb to see
wollen verb to want
wissen verb to know
können verb to be able
vor preposition before
nach preposition after
zu preposition to
bis preposition until
ohne preposition without
eins other one
zwei other two
drei other three
hoch other high

gut other good

Please note the following relevant to the word list above: all nouns begin with a definite article (der, die, das) that signifies their grammatical gender (masculine, feminine, neuter); all nouns must begin with a capital letter; all verbs are presented in their infinitive form; words that do not fall into the noun, verb or preposition category are labeled other for convenience. You will write a menu-driven program that will allow the following options: 

1. Create the word list
2. German to English nouns
3. German to English verbs
4. German to English prepositions
5. German to English others
6. German to English all
7. English to German nouns
8. English to German verbs
9. English to German prepositions
10. English to German others
11. English to German all
12. Search for a word (either way)
13. Quit
Same options for French (i.e. option2 to 6 "French to English" and option7 to 11"English to French"The word list must be stored in one or more hash table (link list). In order to do this, you must first create a file containing the twenty-five words by prompting the user for the German or French word, part of speech and English meaning and then read the information into your data structures (hash table). Once the file is created it can never be modified by adding or deleting words. This will not only be true for the present run, but also subsequent runs. This means, if the user runs the program tomorrow or six months from now he/she will be prevented from making any modifications to the list of words. Should the user attempt to modify the list, you must display an error message indicating that the list has already been created and cannot be modified.

When a menu selection is made (other than 1, 12 or 13) the list must be sorted in ascending order by either German, French or English word depending on the selection made and all information (word, part of speech and meaning) must be displayed in appropriate order. Nouns should not be sorted by definite article, but the word itself. Words that contain an umlaut are sorted as if the umlaut does not exist; however, they must be entered into the dictionary and displayed with the umlaut. To deal with the umlaut issue, you will need to consult a Unicode table. You must also be aware of the fact that menu options 2 through 12 cannot be selected until the user loads the file with the twenty-five words in the list above. An error message to that effect must be displayed in the event that this occurs.

Menu item 12 allows a user to enter a German, French or English, word and, if found, displays the part of speech and meaning. If not found, displays an error message such as "word is not in the dictionary." Your user prompt should simply be "please enter a word." DO NOT ASK WHETHER THE WORD IS GERMAN, FRENCH OR ENGLISH. Your program should be able to deal with that issue.

PLEASE ADD THE FOLLOWING FRENCH WORDS TO YOUR DICTIONARY
French word Part of speech English meaning
Le mot noun word
Le garçon noun boy
Jeune adjective young
Le boulanger noun baker
La fille noun girl
Français adjective French
Le livre noun book
L ‘école noun school
La maison noun house
Être verb to be
Après preposition after
Voir verb to see
Dire verb to say
Aller verb to go
Bon adjective good
Mardi noun Tuesday
La Salle noun room
Elle pronoun she
Le Jour noun day
Aujourd ‘hui adverb day
La Pluie noun rain
Le Cheval noun horse
Le Moulin noun mill
Rouge adjective red
La Neige noun snow

P.S. The whole work must be graphical with one or more .Java and/or .class files. Do not forget to put them all in one by creating the project.

Reference no: EM131103015

Questions Cloud

Put a text box in your arena file with the numerical results : Make 200 independent replications of 1 day each and observe the average total time pa­tients spend in the system. Put a text box in your Arena file with the numerical results requested.
What is a c-corporation : What is a c-corporation? What are the two advantages and disadvantages of a c-corporation? What is the control and profit retention of this sort of company?
Shares must the firm sell to net $20 million : The underwriters' compensation will be 5 percent of the issue price, so Beranek will net $20.90 per share. The firm will also incur expenses in the amount of $150,000. How many shares must the firm sell to net $20 million after underwriting and flota..
Simple linear regression appropriate : Why is simple linear regression appropriate to address one situation or problem but not the other? Support your ideas with evidence from the readings.
Java data structures : Project is to create a German-English, English-German, French-English, English-French dictionary. You will be responsible for entering a total of twenty-five words in German, the part of speech each word represents and its English meaning. Please use..
Developing the project plan and determining critical path : Using the District4WarehouseMove WBS.xls provided, create a project plan for the District 4 Warehouse Move project. Use the PDF document, Project Plan Check - District Move, to check your work to be sure you have created your starting project plan..
What is a limited partnership : What is a limited partnership? What are two advantage and disadvantages of a Limited Partnership?
How law define sexual harassment and employer responsibility : How disparate impact discrimination and disparate treatment discrimination occur under Title VII and their implications and Policies that companies must have in place to avoid violations of Title VII and its amendments.
Implementation and communication of a strategic plan : 1)      Why is it important to continuously update the implementation and communication of a strategic plan? Who should be responsible for updating and communicating a strategic plan? Why?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write an application that displays a table of the pythagorea

Write an application that displays a table of the Pythagorean triples for side1, side2 and the hypotenuse, all no larger than 100.

  Java graphics-write an application that extends jframe and

java graphics-write an application that extends jframe and that displays a phrase in every font size from 6 through

  What is the hash function in java

Bob believes that he has come up with a nifty hash function. He assigns a numeric value VChar to each letter in the alphabet equal to the letter's position in the alphabet

  Be sure to show all declarations

Write a function call that invokes function a. Be sure to show all declarations. However a complete main is not required.

  How do i automatically set the input focus in my applet

How do I automatically set the input focus in my applet to a specific component/text field when the browser loads the page that contains the applet?

  Problem regarding the initializing static fields

Why do static ?elds of a class have to be initialized when the class is loaded? Why can't we initialize static ?elds when the program starts? Give an example of what goes wrong if, instead of static ?elds being initialized too early, they are init..

  Create a test application that creates a controller object

Create a test application that creates a controller object and play the game! Experiment with changing the game parameters and observe how the game reacts

  Write a java program that (1) defines a base/super class a

Write a Java program that (1) Defines a base/super class A, a subclass B (inherits from A), and a subclass C (inherits from B). The A class must have a method f() which is not implemented in A,

  Program that decrypts the file produced by above program

Write another Java program that decrypts the file produced by above program. The decryption program should read the contents of the coded file, restore the data to its original state, and write it to another file.

  What are the three types of errors

What are the three types of errors that you can encounter in a Java program? Describe them, and explain how you would minimize the errors

  Consider the following conditions

Consider the following conditions: An enqueuer waiting on a full-queue or a dequeuer waiting on an empty queue sleep indefinitely, unless woken up by another thread. A thread must send a signal ONLY when it adds an element to an empty queue or remove..

  Program that generates an invoice for a hardware store

You are asked to write a program that generates an invoice for a hardware store.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd