- NCFE CACHE Level 3: Safeguarding and protection, children and young people in residential care and supporting children: Safeguarding, Assignment, UK
- 5HR03: focuses on how internal and external business factors influence reward strategies and policies, the financial drivers of the organisation: Reward for performance and contribution, CIPD level 7, UK
- LAW4007: English Legal System and Skills, Assignment, AU, UK
- 2021 saw the continuation of a decade of growth in the UK organic market. What’s the future of organic food in the UK? Use specific reasons and examples to support your answer, Assignment UK
- Level 6 NVQ: Promote a Positive Health and Safety Culture: Diploma in Occupational Health and Safety Practice, Assignment, UK
- EEE6015: Power World Simulation- Power Flow Analysis- Power Systems and Smart Grids, Assignment, UOB, UK
- SFM202407- Strategic Financial Management, Assignment, OTHM Level 7, EBIC, UK
- 3CO01: Business, culture and change in context, Assignment, CIPD Level 3, UK
- Academic Study Skills, S1. Individual Report, UK
- HSC Level 3 Unit 1 – Structure and Overview of the Health and Social Care Sector, Assignment, UK
- Qualifi Level 5 Business Models and Growing Organisations, Assignment, UK
- CIPD Level 3 3CO03: Core behaviours for people professionals, Assignment 1, UK
- Civil CEP: Numerical Analysis, Assignment, UOB, UK
- UNIT CMI 321: Managing Own Personal and Professional Development, Assignment, UK
- UNIT CMI 304: Channels and types of communication used in the workplace: Principles of Communication in the Workplace, Assignment, UK
- Features Of Partnership Working In Health And Social Care, Assignment, UP, UK
- OTHM level 3: Person-centred Approaches in Health and Social Care Settings: foundation Diploma in Health and Social Care, Assignment, LCPS, UK
- OTHM level 3: Health, Safety and Wellbeing in Health and Social Care Settings: foundation Diploma in Health and Social Care, Assignment, LCPS, UK
- OTHM level 3: Effective Handling of Information in Health and Social Care Settings: foundation Diploma in Health and Social Care, Assignment, LCPS, UK
- OTHM level 3: Effective Communication in Health and Social Care Practice: foundation Diploma in Health and Social Care, Assignment, LCPS, UK
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