- General Defences to Criminal Liability Assignment UK
- The Principles of Business and Resource Management for Leaders of Adult Social assignment NVQ Level 5 Assignment UK
- Printed Circuit Board (PCB) Inspection Jig BTEC (RQF) Level 4 Assignment, PC, UK
- Property Law: Research, Case Analysis, and Legal Advice Assignment UK
- SCEE08002 Structural Mechanics 2 Laboratories Assignment UK
- Working in Partnership in Health and Social Care Assignment UK
- Aircraft Structural Mechanics 3 Design & Optimisation Project UK
- Responsibilities of a Health and Social Care Worker NVQ Level 3 Assignment, LCPA UK
- TC50324E: Measurement and Documentation Assignment 1, UOWL, UK
- Business Ethics and Responsible Management Semester 1 Assignment, URBS, UK
- Working in Partnership in Health and Social Care Management Assignment UK
- HH5561 Health Economics and Decision Modelling Assignment, UOG, UK
- Civil CEP: Numerical Analysis Assignment 1, UOB, UK
- CIPD Level 3 Foundation Unit 1 Assignment, OU, UK
- HSC301 State the Roles and Responsibilities Assignment, ILC, UK
- ProQual Level 6 NVQ Diploma in Occupational Health and Safety Practice Assignment UK
- Corporate Finance and Business Valuation Assignment
- HNC-D 10 Financial Accounting Assignment
- MN5612 Digital Marketing Strategy Assignment
- Social Roles In The Caring Professions Assignment Brief
COM4011: In this task you will write the algorithm, code and test the working of the method ‘summary Statistics’: Introduction to Programming, Assignment, AU, UK
University | Arden University (AU) |
Subject | COM4011: Introduction to Programming |
Task 3
In this task you will write the algorithm, code and test the working of the method ‘summary Statistics’. You will need to use the sample data and the additional five orders entered in task 2 including the price for each bouquet ordered to complete task 3.
1) Provide a flowchart and pseudo-code for when option 2 is selected. The algorithm should display the statistics as in table 2.
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.
2) Write a Java method ‘summaryStatistics’ 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) Test your program by embedding the complete Java code for the ‘summaryStatistics’ method in the program written in task 1 and printing the statistics (include the sample data shown in table 1 and the 5 additional bouquet orders) as shown in table 2
4) Provide screenshots for outputs of the Java method.
5) Provide the Java code for this task in the Appendix as text for verification. At this stage the program should include the code for the menu display and the completed methods ‘orderDetailsAndPriceCalculation’ and ‘summaryStatistics’
Are You Looking for Answer of This Assignment or Essay