- 1031ENG-N Civil Engineering Construction Technology In-Course Assessment (ICA) Group Report | Teesside University (TU)
- MOD009382 Finance and Governance in Health and Social Care 011 Assessment Coursework Report | Anglia Ruskin University
- Geotechnical Engineering Assignment 2025/26 – University Of Surrey (UniS)
- Essentials of Adult Nursing Summative Assessment – University of Roehampton London (UoRL)
- BMP3006 Practical Digital Marketing Assessment 1 Individual Written Portfolio September 2025 – Regent College London
- CIPD_5HR03_24_01 5HR03 Reward for Performance and Contribution Level 5 Associate Diploma Learner Assessment Brief – Chartered Institute of Personnel and Development
- AF6010/LD6041 Strategic Management Accounting Assessment Brief AY2026 – Northumbria University Newcastle (NUN)
- AB1 Lead Practice to Support Safeguarding of CYP & Harm & Abuse NVQ Level 5 Diploma Unit 4 and Unit 8 Activity Assignment Brief, Cambridge Management and Leadership School (CMLS)
- BTEC Unit 4: Leadership and Management Assignment Brief 1 2025-26, City of London College
- Culinary Arts Management (chef) Assignment Social Science Research Proposal , University College Birmingham (UCB)
- Unit 4002 Engineering Mathematics (A/651/0708) Assignment Brief 2025-2026, Barnsley College (BC)
- Nutrient Diploma Course Assessment 2025-26, The College of Naturopathic Medicine
- Unit 3 Management of Human Resources Pearson BTEC Diploma Assignment Brief 2025-2026 – Lyceum Campus UK
- NAM4034 Fundamental skills for Nursing Written Care Plan CW1 Assignment Brief Academic Year 2025-26, Buckinghamshire New University (BNU)
- Unit 5006 Further Mathematics – Pearson BTEC Level 5 Diploma Assignment 2025-2026, Leeds City College
- BIT4213 Fundamental of Cryptography Individual Assignment 1 – Understanding Cryptographic Techniques
- WNI077 Nutrition and Digestion Graded Assignment 2 Brief : Access to HE Diploma – Health and Social Care
- FDY3003 Exploring the Social World Assignment Essay – Arden University UK
- Mechanical Engineering Assessment: Design and Development of an Aerodynamics Package
- 7CO04 Business Research in People Practice Learner Assessment Brief
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



