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

  Database tables that the it staff

Suppose that you are the database developer for a local college. The Chief Information Officer (CIO) has asked you to provide a summary of normalizing database tables that the IT staff will use in the upcoming training session.

  Create a legal sales contract for a purchased vehicle

This Application uses Microsoft Word Template to allow a car salesperson to create a legal sales contract for a purchased vehicle and provides a loan calculator to calculate monthly payments for the amount financed.

  Implement a program using function for a defined task

Implement a program using function for a defined task. Initial data is read from a file and added from keyboard. Program has to output resulting and initial data.

  Determine physical address that code byte fetched

Suppose the same code segment base what physical address will code byte be fetched from if instruction pointer contains 539CH?

  Write a c++ program that calculates distance of a golf ball

write a C++ program that calculates the distance of a golf ball fallen in with each one-seconds interval drop from airplane calculate the distance in the current time Interval (ft) and total distance the golf ball falls at the end of each interval..

  Experience with foreign manufacturing operations

Cooper is in a quandary. The market is too good to loss, but Anderson has had no experience with foreign manufacturing operations: because Spain sales and repairs have been handled by the distribute no one in

  Decision structures and conditionals

Discuss routine decisions you make throughout your day. How might you implement them using C# decision structures and conditionals?

  Set of experience knowledge structure

Set of Experience Knowledge Structure (SOEKS) is knowledge representation in an artificial system that would support discovering, adding, storing and sharing knowledge through experience in a similar way that humans DNA do. SOEKS is then later car..

  Database schema for a customer sale

Database schema for a customer sale database scenario: customer(cust_id,cust_name) primary key(cust_id). Item(item_id,item_name,price) primary key(item_id)

  Determine the value required for any prescaling

A PWM is used in 8-bit mode to produce a signal with a 1 msec period and 60% duty cycle. Determine the value required for any prescaling and the values for the period and duty cycle registers. The E-clock is 24 MHz.

  Design patterns in today-s development environments

In System Analysis and Design: Design Patterns - How widely used are design patterns in today's development environments?

  What presentation issues on this machine have to be addresse

What presentation issues on this machine have to be addressed for it to exchange integer and string data with the rest of the world

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