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

  Declare another television object called portable

Add to the comment header as indicated at the top of the program.

  Write a program to solve rsa

Write a program to solve RSA, Use either Java or "VERY DETAILED" pseudocode. Take input for p, q, e, the number to encrypt and the number to decrypt.

  Write a menu-driven java program

Write a menu-driven JAVA program that performs the following array/vector operations:

  Write an android app which will sense the room temperature

Write an Android app which will sense the room temperature. Write the Cell identity Gsm and Carrier Configuration Manager Class code.

  Write a mathematical recursive definition

Write a mathematical, recursive definition of p(n) - Prove that your answer to Part a is correct by using mathematical induction.

  Program that reads customers information from a file

Write a program that reads customers information from a file, and creates a movie theatre seating with a number of rows and columns specified by a user. Then it will attempt to assign each customer to a seat in a movie theatre.

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Mean and standard deviation using using eclipse

Java programming to calculate Mean and standard deviation using Using Eclipse.

  Assignment on computer memory hacking

Describe what hacking of memory or hacking of RAM means. Examine the common tools that hackers use to hack into memory of computing devices. Detail two (2) real-life examples of such tools in action.

  Display the sum and average of the numbers

Write a Java program that inserts 25 random integers ranging from 0 to 100 into an ArrayList in ascending order. The program should then output the numbers and display the sum and average of the numbers.

  Accepts a scanner representing an input file

Write a method in JAVA called stripHtmlTags that accepts a Scanner representing an input file containing an HTML web page as its parameter, then reads that file and prints the file's text with all HTML tags removed. A tag is any text between the c..

  Program that allows a user to input coordinates

In Java make a program that allows a user to input coordinates as to make a Hexagon via an array, and my professor has set the standards of: Write a class Polygon which draws a hexagon for a set of numbers given by the user.

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