Ask Java Expert


Home >> Java

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.

Java, Programming

  • Category:- Java
  • Reference No.:- M91856402

Have any Question?


Related Questions in Java

Chatbotscreate a small networked chat application that is

Chatbots Create a small, networked chat application that is populated by bots. Introduction On an old server park, filled with applications from the early days of the internet, a few servers still run one of the earliest ...

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

Assignment game prototypeoverviewfor this assessment task

Assignment: Game Prototype Overview For this assessment task you are expected to construct a prototype level/area as a "proof of concept" for the game that you have designed in Assignment 1. The prototype should function ...

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

In relation to javaa what is constructor the purpose of

(In relation to Java) A. What is constructor? the purpose of default constructor? B. How do you get a copy of the object but not the reference of the object? C. What are static variables and instance variables? D. Compar ...

Project descriptionwrite a java program to traverse a

Project Description: Write a java program to traverse a directory structure (DirWalker.java) of csv files that contain csv files with customer info. A simple sample in provided in with the sample code but you MUST will r ...

Fundamentals of operating systems and java

Fundamentals of Operating Systems and Java Programming Purpose of the assessment (with ULO Mapping) This assignment assesses the following Unit Learning Outcomes; students should be able to demonstrate their achievements ...

Assessment -java program using array of Assessment -JAVA Program using array of objects

Assessment -JAVA Program using array of objects Objectives This assessment item relates to the course learning outcomes as stated in the Unit Profile. Details For this assignment, you are required to develop a Windowed G ...

Applied software engineering assignment 1 -learning

Applied Software Engineering Assignment 1 - Learning outcomes - 1. Understand the notion of software engineering and why it is important. 2. Analyse the risk factors associated with phases of the software development lif ...

Retail price calculatorwrite a java program that asks the

Retail Price Calculator Write a JAVA program that asks the user to enter an item's wholesale cost and its markup percentage. It should then display the item's retail price. For example: (If an item's wholesale cost is 5. ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As