- FDY3004 Advancing Your Academic Skills Assignment Brief 2026 | Arden University
- Unit 433 Manage Finance within own Area of Responsibility in Health and Social Care or Children and Young People’s Settings (T/506/6368) Assignment Brief 2026
- Unit 651 Appraise Staff Performance (J/504/2219) Assignment Brief 2026
- Unit 567 Share Knowledge and Good Practice (A/602/6237) Assignment Brief 2026
- Unit 435 Mentoring in Social Care (J/506/6052) Assignment Brief 2026
- Business Start-up: Conception to Market (M/650/1155) Assignment Brief 2026
- Management Accounting and Decision Making (L/650/1154) Assignment Brief 2026
- Business Law for Managers (K/650/1153) Assignment Brief 2026
- Marketing for Managers (J/650/1152) Assignment Brief 2026
- The Management of Human Resources (H/650/1151) Assignment Brief 2026
- Principles and Concepts of Strategy (F/650/1150) Assignment Brief 2026
- Unit DRM702 Strategic Risk Management (M/650/5657) Assignment Brief 2026
- DRM703 Responsible Leadership and Governance (R/650/5658) Assignment Brief 2026
- DRM701 Principles of Risk Management (L/650/5656) Assignment Brief 2026
- DRM704 Organisational and Environmental Risk (T/650/5659) Assignment Brief 2026
- DRM706 Advanced Research Methods in Risk Management (F/650/5661) Assignment Brief 2026
- DRM705 Risk Analysis and Modelling (D/650/5660) Assignment Brief 2026
- Unit 309 Promoting Equality, Diversity, Inclusion and Human Rights in Adult Care Settings/Services Assignment Brief 2026
- Unit 310 Promoting Health and Safety in Adult Care Settings/Services Assignment Brief 2026
- Unit 307 Promoting Choice and Independence in Adult Care Settings/Services Assignment Brief 2026
COM4011: In this task you will write the algorithm, code and test the working of the method ‘orderDetailsAndPriceCalculation’: Introduction to Programming, Assignment, AU, UK
| University | Arden University (AU) |
| Subject | COM4018: Introduction to Programming |
Task 2
In this task you will write the algorithm, code and test the working of the method ‘orderDetailsAndPriceCalculation’. You must also create a suitable data structure to store the details of the bouquet including the price. This data structure should be accessible to read and write in both task 2 and task 3.
1) Provide a flowchart and pseudo-code for when option 1 is selected. The algorithm should demonstrate the reading of the user input for the three components of the bouquet type of flower, colour of the flower and size of the bouquet. The algorithm should also demonstrate the calculation and display of the price of the bouquet.
a) Explain how you have validated user input (choice selection) and checked for any possible logical errors, while justifying the data types you have used.
b) Flowchart and pseudocode should use standard conventions and format such as indentations, capitalisation, descriptive names for variables/methods, keywords, operators etc.
c) The subroutine should take user input from the keyboard for the choices and data entry.
d) The user input for bouquet orders should be stored using a suitable data
structure.
2) Write a Java method ‘orderDetailsAndPriceCalculation’ based on the algorithm with comments to illustrate the program flow.
a) The method should employ only fixed arrays where necessary – dynamic arrays (i.e. ArrayList, vector, HashMap, etc.) are not to be used.
3) Include 5 additional bouquet orders (rows) to the sample data shown in table 1.
4) Test your program by embedding the complete Java code for the
‘orderDetailsAndPriceCalculation’ method in the program written in task 1 and
printing the price of each bouquet ordered.
5) Provide screenshots for outputs of the Java method for the additional five entries of bouquet orders.
6) Provide the Java code for this task in the Appendix as text for verification.
Are You Looking for Answer of This Assignment or Essay



