Reference no: EM13760255
Add the currency name to the converted amount (e.g., 1.235e2 to 1.235e2 USD) The resulting processing flow (including the chain of responsibility from the previous problem) for CCP is shown schematically in the next figure: Deliverables - The UML class diagram. - A SINGLE MS Word document that includes (i) screenshots showing different execution scenarios (ii) printout of the implementation code. - The code must have graphical user interface to test the functionality. - Softcopy of the implementation code.l Write output in exp. notation (e.g., 123.46 to 1.235e2 ) l Round output to 2nd decimal (e.g., 123.456 to 123.46) lProblem 1 This problem demonstrates the use of the chain of responsibility (COR) design patterns on a simple version of the currency converter program (CCP). The CCP performs conversion from EURO to one of the following three currencies: USD, CAD (Canadian Dollar), and AUD (Australian Dollar). Its user interface looks like this: The input string specifies the amount to be converted and the currency in which it is expressed (see Figure). The CoR pattern will be applied to the processing of the input string to generate a number representing the converted amount. The CCP user interface is seen as a client making a request to convert the input to a given currency. Three handlers are available, one for each currency (USD, CAD, AUD). The resulting processing flow for CCP is shown schematically in the next figure: Deliverables - The UML class diagram. - A SINGLE MS Word document that includes (i) screenshots showing different execution scenarios (ii) printout of the implementation code. - The code must have graphical user interface to test the functionality. - Softcopy of the implementation code. Problem 2 This problem combines the decorator pattern with the CoR implemented in Problem 1. The text appearing in the output field of the CCP UI is a string that has to undergo three decorations:
Project
Problem 1
This problem demonstrates the use of the chain of responsibility (COR) design patterns on a simple version of the currency converter program (CCP). The CCP performs conversion from EURO to one of the following three currencies: USD, CAD (Canadian Dollar), and AUD (Australian Dollar). Its user interface looks like this:
The input string specifies the amount to be converted and the currency in which it is
expressed (see Figure). The CoR pattern will be applied to the processing of the input
string to generate a number representing the converted amount. The CCP user interface is seen as a client making a request to convert the input to a given currency. Three handlers are available, one for each currency (USD, CAD, AUD).
The resulting processing flow for CCP is shown schematically in the next figure:
- The UML class diagram.
- A SINGLE MS Word document that includes (i) screenshots showing different execution scenarios (ii) printout of the implementation code.
- The code must have graphical user interface to test the functionality.
- Softcopy of the implementation code.
Problem 2
This problem combines the decorator pattern with the CoR implemented in Problem 1. The text appearing in the output field of the CCP UI is a string that has to undergo three decorations:
l Round output to 2nd decimal (e.g., 123.456 to 123.46)
l Write output in exp. notation (e.g., 123.46 to 1.235e2 )
l Add the currency name to the converted amount (e.g., 1.235e2 to 1.235e2 USD)
The resulting processing flow (including the chain of responsibility from the previous problem) for CCP is shown schematically in the next figure:
- The UML class diagram.
- A SINGLE MS Word document that includes (i) screenshots showing different execution scenarios (ii) printout of the implementation code.
- The code must have graphical user interface to test the functionality.
- Softcopy of the implementation code.
Find the arguments based on own experience
: Describe the values that the modern Arab youth should respect and find the arguments based on your own experience.
|
Write a paper on emergency medical responder
: Write a paper on Emergency Medical Responder.
|
Modify the payroll program
: Modify the Payroll Program so that it uses a class to store and retrieve the employee's name, the hourly rate, and the number of hours worked. Use a constructor to initialize the employee information
|
Create a report for a new resort somewhere in the us
: create a report and recommendations for a new resort somewhere in the United States. Based on what you have learned in this class, create a report that includes Development planning.
|
The uml class diagram
: The resulting processing flow for CCP is shown schematically in the next figure, The UML class diagram.
|
Multi-network access
: Imagine that you are the manager of a small business computing center. List at least three techniques that you would use to convince a busy, reluctant night operator to perform regular backups. Explain the best and worst possible technique to assu..
|
What impact to various stakeholders of acquiring a robot
: Who are the stakeholders in this scenario (both internal and external)? What is the impact to the various stakeholders of acquiring a surgical robot unit?
|
Stories of transformative leadership
: How do the staff members perceive the work they do? How is this perception affecting their relationship with each other and how might it be harmful to clients? Provide examples.
|
Describe the key characteristics of a whistleblower
: Describe the key characteristics of a whistleblower, and briefly summarize one (1) researched instance of whistleblowing in one (1) publicly traded company within the last 12 months. Include the details of the issue that the whistleblower reporte..
|