- Qualifi Level 4 T/505/9498 Academic Study Skills Assignment: A Reflective and Evidence-Based Approach
- BTEC Level 3 Unit 3 Business in Social Media Assignment: Strategies to Engage Customers & Promote Products
- Understanding Criminology E-Portfolio Assignment: Annotated Bibliography & Employment Reflection
- 7IR007 Research Proposal and Annotated Bibliography Assignments
- COM4015 Pet Shop Relational Database Design & Implementation Assignment Report – Inventory, Sales & Events System
- PMP(Project Management Plan) Assignment: Managing Fitzwilliam Park Project with Scope, Cost & Schedule Insights
- GA31 Research Methodology and Quantitative Methods Assignment: A Research Plan on Corporate Social Responsibility
- Understanding Dementia Care Assignment Questions: Causes, Diagnosis, Treatment & Family Support
- D/618/7406 Unit 5: Challenges of IT Security in Modern Organizations – Risks, Solutions & Best Practices
- HSC Level 2/3 Unit 012 Assignment: Care Worker Responsibilities and Ways of Working
- CIPD Level 5HR03 Assignment: Understanding Reward Approaches and Their Impact on Performance and Contribution
- CIPD level 5HR02 Assignment: Talent Management and Workforce Planning Unit Guide
- Level 3 D/615/3823 Assignment: Regulation, Protection, and Collaborative Practice in Health and Social Care
- PGM216D Assignment: Bicycle Store Sales Management Application
- MATH6033 Assignment: Epidemiological Investigation of Cardiovascular Health and Tea Consumption Risks
- EH6147 Assingment: Stakeholder Analysis for Quality Improvement in Hand Hygiene Compliance
- Assignment: Investigation of Solution Concentration Through Standard Preparation, Titration, and Colorimetry Techniques
- MATH6033 Assignment: Cardiovascular Risk and Tea Drinking: Epidemiological Analyses
- CIPD level 3 3CO03 Assignment: Core behaviours for people professionals
- DAC4B1: Personal development in adult care settings
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
