COM4011: The flowchart and pseudo-code to display the menu as in Figure 1: Introduction to Programming, Assignment, AU, UK

University Arden University (AU)
Subject COM4011: Introduction to Programming

Task 1

1) Provide the flowchart and pseudo-code to display the menu as in Figure 1. Once an option is selected and the code for the option executed, the menu should be displayed again. The program should terminate only when the option for exit is selected.

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.

c) The program should take the user input for menu options and execute the appropriate method. When option 1 is selected the method ‘orderDetailsAndPriceCalculation’ should be executed. When option 2 is selected the method ‘summaryStatistics’ should be executed.

d) At this stage each method should only have a print statement such as ‘A bouquet has been ordered’ or ‘Summary statistics provided’. No actual choices for the bouquet’s size/flower/colour, calculation and display of price or calculation of summary statistics are required. The complete Java methods for selection of option 1 and option 2 will need to be written in task 2 and task 3 respectively. 2) Write a Java program based on the algorithm with comments to illustrate the program flow. a) The program should take the user input for menu options and execute the appropriate method.

3) Test your program by displaying the menu and selecting the various options when the menu is displayed. Provide screenshots for the output of the program showing the correct execution of all menu options.

4) Provide the Java code for this task in the Appendix as text for verification.

Are You Looking for Answer of This Assignment or Essay

Are you finding it challenging to complete your COM4011: Introduction to Programming assignment? Don’t worry! Our online assignment help service is here to assist UK students like you. We provide the opportunity to hire experts who can efficiently handle your homework. Whether you’re stuck with coding, debugging, or just need some guidance, our professionals are ready to help. You can pay our experts to receive personalized assistance with your coursework, ensuring you succeed in your programming studies. Don’t let deadlines overwhelm you; contact us today and achieve results with your assignments.

Answer
img-blur-answers