What design pattern would you use and why

Assignment Help Computer Engineering
Reference no: EM131917305

Assignment

Suppose you have to design a text editor class (TextEditor) that should benefit from multiple variants of a spell cheking algorithm. Users of the TextEditor class would have to supply custom versions of the spell cheking algorithm to support spelling in different languages.

a) What design pattern would you use and why?

b) Write the UML class diagram for the design pattern as it applies to this problem.

c) Write a table that lists the relationship between the names from the identified design pattern and the classes/interfaces from your problem.

d) Write the skeleton Java code for the design: definitions for classes with instance variables and methods as detailed as we can from the problem description.

Reference no: EM131917305

Questions Cloud

Describe the renal mechanisms whereby alterations : Describe the renal mechanisms whereby alterations in water balance and plasma arginine vasopressin exert little or no perturbation on potassium balance.
Explain the possible effects that cell damage : Explain the possible effects that cell damage (such as the damage caused by disease) may have on the organism. Again, refer to the body system you selected in
Evaluating an employee misconduct case : According to the National Labor Relations Board (NLRB), child care is not a mandatory subject for collective bargaining.
Obtain power to legislate and enforce such responsibilities : If multinational corporations have affirmative social responsibilities in "nations where the rule of law is weak," who should select and impose.
What design pattern would you use and why : What design pattern would you use and why? Write the UML class diagram for the design pattern as it applies to this problem.
Salts that were previously dissolved in the seawater : If you put your sample over a boiler and evaporate the water completely so that all you have left in the container are the salts that were previously dissolved.
Explain your current understanding about the field of supply : Please explain your current understanding about the field of supply chain and operations management.
What factors account for the dramatic increase : Journalist John Snell remarked, "Not long ago you couldn't turn around in cyberspace without bumping into a tech geek. Now you're no more than a mouse click.
Outside of the ph range determined in discussion : If the pH of a human patient's body fluids fell outside of the pH range determined in Discussion Question 5, what would happen to the cells?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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