Create three classes for the linked list

Assignment Help Basic Computer Science
Reference no: EM131055462

Create three classes for the words: An abstract class called Word, a class called Noun that inherits from Word, and a class called Verb that inherits from Word. The actual word is stored in class Word. The classes Noun and Verb should have different toString methods the return the word with either "(N)" or "(V)" appended.

Create three classes for the linked list: An abstract class called WordList which contains all the functionality of the linked list, and classes called UnsortedWordList and SortedWordList which inherit from WordList. Each of these two classes should have an insert method that adds a new word in the appropriate position in the list.

The GUI should now have two TextAreas: the one on left showing the contents of the unsorted list, and the one on the right showing the contents of the sorted list. The command window (ADD, DELETE, STOP) should function.

Create two menus for the GUI: One called File (with choices Open and Quit), and one called Display (with choices Nouns and Verbs).
File > Open: open the selected file, fill the linked lists and display them in the text areas.
File > Quit: exit the program.
Display > Nouns: clear the text areas and then display only the nouns on the lists.
Display > Verbs: clear the text areas and then display on the verbs on the list.

The input file will be in the following format: one word per line followed by either N or V in parenthesis: apple(N) peach(N) eat(V) .

Reference no: EM131055462

Questions Cloud

Question regarding the cloud profitability : Cloud Profitability In a one- to two-page paper (250-500 words), discuss whether or not there are cost benefits to cloud computing usingspecific examples. Be sure to include at least three reference sources.APA rules for formatting, quoting, para..
Define a traverse operation for the adt polynomial : Define a traverse operation for the ADT polynomial that will allow you to add two sparse polynomials without having to consider terms with zero coefficients explicitly
What is a business plan : 1. What is a business plan? 2. Is there such a thing as a standard business plan? 3. So I simply need to produce one business plan?
Tax proceeds of the sale of the existing roaster : DuPree Coffee Roasters, Inc., wishes to expand and modernize its facilities. The installed cost of a proposed computer-controlled automatic-feed roaster will be $130,000. The firm has a chance to sell its 4-year-old roaster for $35,000. The existi..
Create three classes for the linked list : Create three classes for the linked list: An abstract class called WordList which contains all the functionality of the linked list, and classes called UnsortedWordList and SortedWordList which inherit from WordList. Each of these two classes sho..
Create a new product that would appeal : Choose the target market for your product, and describe your target market in detail. Create a new product that would appeal to your market.
Aerospace systems dubai mro group : A proposed strategy that may tackle attrition rate based on a case study of UTC Aerospace Systems Dubai MRO Group.
Find the best short term investment : I need 1 and half page write up answering the questions which are pasted below. Please use the list of companies that are provided. Be the best short term investment? Be the best long term investment
Highlights the similarities and differences : In a paper, summarize what each site, blog, or electronic journal presents; also provide a comparison and contrast section that highlights the similarities and differences between what is mentioned across your three selections.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Write a procedure that updates all the payment dates

Write a procedure that updates all the payment dates to the current date + 10 days for a given student (name) in the invoice table using cursors. (Will you need a schema? How do i send it to you ? do you need just the tables for the student and th..

  Deep packet inspection firewalls protect networks

A Denial-of-Service attack does not require the attacker to penetrate the target's security defenses.

  Develop a website which can store country-wise data

Use the data in the XML documents provided to perform the tasks below:

  Ethical concerns in computing

Please select from one of the following topics, which are addressed in the course textbook, Introduction to Computer Literacy: Collaborative Technologies, Ethical Concerns in Computing

  Determine which resumes are chosen for further scrutiny

determine which resumes are chosen for further scrutiny. Is such screening fair to applicants? Why or why not? Justify your answers using examples and reasoning.

  Recognize all of the stakeholders comprised in the project

prepare a list of it project-based tasks in an organization where you have worked. if you have not worked in any

  One function is use to calculate inflation rate for current

1.One function is use to asks the user to enter the current price of an item and it's one year. 2.One function is use to calculate inflation rate for current year.

  Minimum number of nodes

3. * a. Give a precise expression for the minimum number of nodes in an AVL tree of height h. b. What is the minimum number of nodes in an AVL tree of height 15?

  Create an xslt style sheet for one car element of the xml

Modify the XSLT style sheet of exercise #4 to format all the car elements in the xml document of exercise #2, and use the style sheet to create a display of the whole document.

  Why an organization prefer one approach over the other

As a system analyst, which would you prefer? Why? Can the two approaches be successfully combined? Explain. In all cases, support your analysis with specific examples from your readings, research, and professional experience (if applicable).

  Requirements and assumptions for new interface design

You are to prepare the project scope and initial requirements and assumptions for a new Interface Design project for the Museum Guided Exhibition as outlined in the Museum Guided Exhibition problem case study.

  Develop a two level work breakdown structure

Develop a two level Work Breakdown Structure. Develop a network diagram and determine the critical path. Use your expanded MS Project to illustrate how quality and scope management are related.

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