- Qualifi Level 5 Unit AP603 Advanced Aesthetic Procedures: Chemical Peels (F/651/7028) Assessment Example 2026
- Qualifi Level 5 Unit AP602 Advanced Aesthetic Procedures: Micro-Needling (D/651/7027) Assessment Example 2026
- Qualifi Level 5 Unit CO506 Advanced Skin Science for Aesthetic Practice (A/651/7026) Assessment Example 2026
- 6PSYC005W Psychology of Counselling and Psychotherapy Assessment Brief 2026 | UOW
- Qualifi Level 5 Unit CO505 Working Collaboratively with Healthcare and Other Professionals (Y/651/7025) Assessment Example 2026
- Qualifi Level 5 Unit CO504 Professional, Ethical, and Sustainable Principles within Aesthetic Practice (T/651/7024) Assessment Example 2026
- Qualifi Level 5 Unit CO503 Legal, Regulatory, and Clinical Requirements for Aesthetic Practice (R/651/7023) Assessment Example 2026
- Qualifi Level 5 Unit CO502 Needlestick Injury, Infection Prevention and Control (K/651/7085) Assessment Example 2026
- Qualifi Level 5 Unit CO501 Consultation and Advanced Skin Analysis using Technologies (K/651/6012) Assessment Example 2026
- OTHM Level 4 Unit Managing Digital Information (J/650/3386) Assignment Brief 2026
- OTHM Level 4 Unit Computer and Network Technology (L/617/2268) Assignment Brief 2026
- OTHM Level 4 Unit Web and Mobile Applications (H/650/3385) Assignment Brief 2026
- OTHM Level 4 Unit Systems Analysis and Design (F/617/2266) Assignment Brief 2026
- OTHM Level 4 Unit Principles of Computer Programming (F/650/3384) Assignment Brief
- OTHM Level 4 Unit Cyber Security (D/650/3383) Assignment Brief 2026
- BSC072 Strategic Information Management Coursework Brief 2026 | Loughborough University
- Financial Econometrics Assessed Coursework 1 2026 | University of Portsmouth
- UHRINN304 Medicines Management Summative Assessment 2026 | University of Suffolk
- CIPD Level 7 Unit 7OS06 Wellbeing at Work Assignment Example 2026
- CIPD Level 7 Unit 7OS05 Managing People in an International Context Assignment Example 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



