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

  Clients for ios, android and windows phone platforms

Consider the RedBus application system, consisting of the server software, smartphone apps, web-based interface, as well as the connectivity to payment gateways as well as bus operators' systems.

  Create a base class

Weekly tasks or assignments (Individual or Group Projects) will be due by Monday, and late submissions will be assigned a late penalty in accordance with the late penalty policy found in the syllabus.

  Determine the greatest load it can pull

The coefficient of static friction between the wheels and the ground is , and between the crate and the ground, it is μ's = 0.4.

  How success or failure of restoration effort is estimated

Expalin why and how is success or failure of restoration effort estimated? Write down some significant considerations in creating monitoring plan to estimate restoration effort?

  Demonstrate how to create a document using microsoft word

After successfully completing the laboratory assignment you should be able to: Employ the components of Microsoft Word 2010, Demonstrate how to create, edit, save, and print a document using Microsoft Word 2010

  Findthree definitions object-oriented programming andcompare

The machine language treats a message as bits while object-oriented programming language treats every message as an object

  How long was a bit in the original 802.3 standard in meters

How long was a bit in the original 802.3 standard in meters?

  Categorize the point-of-sale system in supermarket

Categorize the following systems and explain your classification: A point-of-sale system in a supermarket, A system which sends out reminders that magazine subscriptions are due to be paid.

  Takes non-negative integer

Then implement function drawLevy() so it takes non-negative integer n as input and draws the levy curve Ln using instructions obtained from function levy(). Don't forget doc strings and comments.

  The research process and findings

The Research Process and Findings

  The ieee 754 single precision binary representation

What would be the IEEE 754 single precision binary representation of the floating point value -314159265. 3589 ? Express your final answer as an 8-hex-digit number and explain how your answer was obtained for full credit.

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