Why are control structures needed in a program? Describe the benefits of breaking up a program into small modules. I only need 1 to 2 paragraphs. THIS IS NOT AN ESSAY. Please don’t forget to add at least 2 verifiable references to this question only.

computer science

Description

Why are control structures needed in a program? Describe the benefits of breaking up a program into small modules. I only need 1 to 2 paragraphs. THIS IS NOT AN ESSAY. Please don’t forget to add at least 2 verifiable references to this question only. For this first Critical Thinking Assignment, you will be designing a computer program module. A module is a set of computer program code that has a specific function. A single module is not necessarily a complete computer program by itself, and is frequently code that is called by other modules of a computer program. First, you will design a flowchart for your module. You need to use the correct flowchart symbols as covered in the module. Then you will use the same logic you have in your flowchart to write pseudocode for your module, using the format of the pseudocode described in the module. Finally, you will develop generic (i.e., non-programming language specific) computer source code for your module.


 Your source code is not intended to be Java source code since we don’t start discussing the Java programming language until Module 2. Your module must accept at least one parameter in parentheses with a data type. It must also return a value via a RETURN statement. The data type of the value returned must match the data type specified in the module header just prior to the module’s name. An example of a computer program module’s format is shown below: returned_data_type module_name (parameter_data_type parameter_name) (generic program code for your module based on your pseudocode) RETURN a_value_of_the_returned_data_type Remember that your generic module source code is not intended to be Java code specifically and it is definitely not intended to be a Java main method. Note that a Java main method actually does not receive any parameters from another module, and it doesn’t return a value, so the Java main method alone disqualifies it from meeting the requirements. Deliverables: Assignment Deliverables (all in a single Word or PDF file, with steps numbered, and steps in order): 1. A flowchart to describe the logic of your module 2. Pseudocode for your module that matches the logic in your flowchart 3. Module source code that matches the logic in your pseudocode


Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.