- Y/616/7445 Unit 039 Diabetes Awareness Assignment: Understanding, Managing and Supporting Individuals with Diabetes
- DHCS 12 (M/650/5189) Understand Mental Ill Health Assignment: Explore DSM/ICD Disorders, Discrimination & Capacity
- Unit 8 Social Media Strategy Assignment 2: Planning, Execution & Evaluation for Organisational Growth
- CIPD Level 7CO01 Strategic People Management Assignment: Demographic Trends, Legal Reforms, Innovation & Resilience in the Workplace
- Financial Accounting Assignment: Lee’s Sole Trader Transactions & Cash Flow Analysis
- L/508/4603 NCFE Level 3 Sport and Exercise Massage Assignment 3: Consultation & Technique Review for Two Contrasting Athletes
- F/650/1141 Unit 4 Team Management and Recruitment Assignment: Health & Social Care Case Study for Effective Leadership and PDPA-Compliant Hiring
- R/650/1138 OTHM Level 5 Assignment: Working in Partnership in Health and Social Care
- NVQ Level 3 Health and Safety Risk Management Assignment: Practical Assessment and Workplace Application
- MBA7068 Strategic Portfolio Assignment 1: Global Business Trends and Managerial Skill Development
- Mechanical Services Innovation: Hotel Rotation Case Study for Energy-Efficient Heat Pump Integration
- K/618/4170 ATHE Level 3 Unit 4 Assignment: Working in Health and Social Care
- T/618/4169 ATHE Level 3 Unit 3 Assignment: Human Growth and Development in Health and Social Care
- M/618/4168 ATHE Level 3 Unit 2 Assignment: Principles, Values and Regulation in the Health and Social Care Sector
- K/618/4167 ATHE Level 3 Unit 1 Assignment: Structure and Overview of the Health and Social Care Sector in the UK
- NURS07039 Assignment: Enhancing Critical Thinking and Development in Nursing Education
- AUEC3 Mechanical Engineering Assignment Questions: AUEC3-070, AUEC3-065, AUEC3-059, AUEC3-054, AUEC3-003, AUEC3-002 & AUEC3-001
- HGES315 Political Geography Assignment: Regional Order in Southern Africa
- AC312 Assignment: Managerial Promotion Decision Using Balanced Scorecard and Risk Indicators
- Qualifi Level 4 T/505/9498 Academic Study Skills Assignment: A Reflective and Evidence-Based Approach
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
