- Problem Sheet on Fluid Mechanics, Heat & Mass Transfer, and Materials Science
- NCCL3DHSC Level 3 Unit 1 to Unit 10 Essential Knowledge for Health Care and Social Care
- 3CO01 CIPD Level 3: Change Management, External Influences & Workplace Culture
- Unit 4 Level 5 Resource Management and Workforce Planning In Adult Care
- Unit 41: Traditional And Specialist Secondary Machining Processes In Manufacturing BTEC Level 3
- Innovative Marketing Plan For A Flavour-Infused Ice Cube Maker In UK
- IP schemes, Network Simulation and Troubleshooting In Packet Tracer
- Increasing Globalisation In International Business Activity
- 5CO01 CIPD L5 Assignment Questions: Organisational Structure, Strategy, and People Practices
- BTEC engineering unit 57AB : Analysis of Quality Management Systems and Value Optimization for Competitive Advantage
- TMA01: Job Selection, Satisfaction & Sustainability
- Comprehensive Assignment Help for Malaysian Students to Excel Academically : Health And Social Care
- Unit 4: Resource Planning and Workforce Management in Adult Care
- Transactional Analysis vs. Lasswell’s Communication Model
- 5CO02 Evidence-Based Practice: Comprehensive Assessment Guidance
- CIPD5 Organisational Performance and Culture assessment
- OTHM LEVEL 5 DIPLOMA IN HEALTH AND SOCIAL CARE MANAGEMENT
- BTEC Level 3 Engineering: Unit 4 – Applied Commercial and Quality Principles Assignment Brief
- BUS4014 People Management: Assignment Brief and Assessment Guidelines – Arden University
- BTEC Level 3 National Extended Certificate in Business – Unit 1: Exploring Business 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
