- SWE4202 Computing Infrastructure Assignment 1 and 2 Brief 2026 | University of Bolton
- ITAO7104 Data-Driven Decision-Making Assignment Brief 2026 | QUB
- ED3606 Education and Research 3 – Dissertation Brief 2026 | Brunel University of London
- Qualifi Level 6 BA602 Management of Salesforce Assessment Brief 2026
- MLA603 Maritime Regulation & Governance Assignment Information 2026 | MLA College
- ILM Unit 507 Understanding the Organisational Environment Assessment 2026
- Advanced Management Accounting Assessment Information 2026 | University of Salford
- GEOG20091 Sustainability Formative Assessment Brief 2026 | Nottingham Trent University
- 6BM500 Business Psychology Assessment Brief 2026 | University of Derby
- MS1S463 Problem Solving for Computing Assessment Brief 2026 | USW
- HWSC5005 Applied Research in Practice Assignment Brief 2026 | OBU
- Qualifi Level 7 Unit 724 Development as a Strategic Manager Assignment Brief 2026
- A6001C17 Advances in Animal Production Science Assignment Brief 2026 | HAU
- SOCI5270 Contemporary Sociological Theory Essay Assessment 2026 | UOK
- 4BE002 The Innovative Business Assignment Brief 2026 | University of Wolverhampton
- CIPD Level 5 5LD01 Support Informal and Self-Directed Learning Assessment Brief 2026
- COM4016 Productivity and Collaboration Tools for Learning and Work Assessment Brief 2026 | Arden University
- CA6060 Financial Decision-Making in Context for Aviation Assignment 2 Question 2026
- NCFE CACHE Level 3 Diploma for Working in the Early Years Sector Assessment Brief 2026
- CRN 63466 / CRN 63467 Statutory Valuation Level 7 Assessment Brief 2026 | USM
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



