(TCO 3, 10) Review the following scenario and complete the modular design where the main module only controls the execution of the modules.

1. (TCO 3, 10) Review the following scenario and complete the modular design where the main module only controls the execution of the modules. Scenario: Professor Jones has asked you to design the logic that will be used to calculate the average of a student’s scores in a class. Each student has three lab scores, a midterm score, and a final exam score. Then, based on the average, the student’s final grade for the student will be calculated using the following criteria: 88 – 100: A 78 – 87: B 68 – 77: C 58 – 67: D Less than 57: F The program should produce the following output for the student: Student Name: XXXXXXXXXXXXX Final Average: 80.5% Final Grade: X The program should use separate procedures for: · inputting the data; · determining the Final Grade; and · displaying the results. The following is the Hierarchy Chart for the design, and notice that modules should pass data between them to perform the necessary processing.

2. (TCO 6, 7) Write a pseudocode algorithm that opens a file called “averageTemperatures.dat”, and then reads each of the integer valued temperatures in an array called “tempList”. Once the temperatures are stored in the array, search the array and find the lowest and highest temperatures and store them to a file called “temperature.dat”. There will never be more than 365 degrees in temperature, and the sentinel value for the end of file is = -9999. Assume the following variables have been declared: Declare Input temperatureFile Declare Output temperatureDataFile Declare real lowest Declare real highest Declare integer count Declare real temp Declare real tempList [365]
1. (TCO 3, 10) Review the following scenario and complete the modular design where the main module only controls the execution of the modules. Scenario: Professor Jones has asked you to design the logic that will be used to calculate the average of a student’s scores in a class. Each student has three lab scores, a midterm score, and a final exam score. Then, based on the average, the student’s final grade for the student will be calculated using the following criteria: 88 – 100: A 78 – 87: B 68 – 77: C 58 – 67: D Less than 57: F The program should produce the following output for the student: Student Name: XXXXXXXXXXXXX Final Average: 80.5% Final Grade: X The program should use separate procedures for: · inputting the data; · determining the Final Grade; and · displaying the results. The following is the Hierarchy Chart for the design, and notice that modules should pass data between them to perform the necessary processing.

2. (TCO 6, 7) Write a pseudocode algorithm that opens a file called “averageTemperatures.dat”, and then reads each of the integer valued temperatures in an array called “tempList”. Once the temperatures are stored in the array, search the array and find the lowest and highest temperatures and store them to a file called “temperature.dat”. There will never be more than 365 degrees in temperature, and the sentinel value for the end of file is = -9999. Assume the following variables have been declared: Declare Input temperatureFile Declare Output temperatureDataFile Declare real lowest Declare real highest Declare integer count Declare real temp Declare real tempList [365]

Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.

[order_calculator]