- Financial Mathematics and Investment Valuation Assignment: Practical Concepts of Loans, Bonds, Interest Rates, Returns, Convexity, and Equity Valuation
- Level 5 Certificate in Aesthetic Practice Assignment 2 : A Comparative Analysis of Healthcare and Non-Healthcare Professionals With Guidelines
- Pearson BTEC Level 5 Higher National Diploma in Engineering : Unit 4019 Electrical and Electronic Principles Assignment Final Report with Practical Labs, Circuit Analysis & Simulations
- Business Data Analytics and Decision Making TMA-02 : A Consulting Approach for Maria’s Eco-Friendly Product Line
- CIPD Level 7 Strategic Management Assignment Question 2 : Impact of Globalisation, Tech, Ageing & Economy
- CIPD Level 7LD02 Leadership & Management Development Assignment: CIPD Case Study for CPD Planning
- B00807007 Retail Theory Evaluation Assignment 1: Cyclical, Non‑Cyclical Models & Modern Retail Strategies
- OTHM Level 5 (D/650/1140) Health Education and Promoting Wellbeing Assignment: Approaches, Behaviour Change & Campaign Strategies
- Unit 3 SEM201HSC (D/615/3823) Health and Social Care Assignment : Roles, Regulations & Interprofessional Teamwork Case Study for Quality Care Delivery
- CMI 508 Assignment: Developing a Skilled and Talented Workforce for Organisational Success
- Level 5 Unit 10 Partnership Working Assignment: Adult Care Case Study on Integrated Practice, Legislation & Collaborative Relationships
- Level 5 Effective Communication, Information Handling & Complaints Management Assignment: Health and Social Care Case Study
- Business Introduction Assignment: Ownership & Stakeholder Engagement in Two Organisations
- OTHM Level 5 Unit H/650/1142 Professional Supervision Assignment: Health & Social Care Case for Managing Supervision and Performance
- ATHE Level 4 Unit 15 Software Testing Frameworks Assignment: TDD and BDD Strategy for Medical Data Validation Script in Python
- ATHE Level 4 Unit 12 Web Design and Programming Assignment: CTO Birdwatching App Development for Urban Wildlife Insights
- ATHE Level 4 Unit 21 Synoptic Computing Project Assignment: Smart Parking App Design for Urban Mobility Solution
- ATHE Level 4 Unit 1 IT Systems Development Assignment: The World of Art Case Study for Global Online Sales Expansion
- CYP6032 Leading Multi-Agency Health & Social Care Assignment: Vulnerable Groups Literature Review and Reflective Evaluation
- Unit 21 – L/618/8101 Geotechnical Design Assignment 1: Scunthorpe Station Overpass & Bridge Infrastructure Proposal
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
