subject

Final Programming Project Assessment (200 Points toward Course Grade) Instructions: The following problem can be solved by a program that uses three basic tasks: Input Data, Process Data,
and Output Results. To process the data, use file, looping, array, decision, accumulating, counting, find min/max and
sorting techniques. First, create an MS Word document containing a hierarchy chart and a data flow diagram to
organize your program modules. Second, create the program with RAPTOR. You MUST use Modular Programming
techniques by using Sub Modules (Sub Charts in RAPTOR) in your program. Your "main" module should not be very
large. NEVER call "main" from inside your program. Also, do not use "recursion" in this program (submodules that call
themselves). You are only allowed to use looping techniques to repeat sections of your submodules.
Problem Statement
Cornell Auto Sales has 10 salespeople. Cornell wants to produce a combined monthly sales report for all salespeople.
Cornell wants you to write a program that will read from an input data file and produce two reports. Each report is to be
sent to both the console screen and to output files. You are to name the two output report files "report1.txt" and
“report2.txt”. Download and use the input data file, sales. dat, provided separately within this assignment in Blackboard.
DO NOT EDIT THE INPUT FILE.
The Report1.txt file output should include:
• An unsorted list of the salespeople’s name and the monthly sales for each of them.
• At the bottom of the report, list the following:
o The salesperson with the lowest sales for the month.
â–Ş No hard-coding here. Must use lowest value search algorithm presented in Lesson 6.
o The salesperson with the highest sales for the month.
â–Ş No hard-coding here. Must use highest value search algorithm presented in Lesson 6.
The Report2.txt file output should include:
• A sorted (ascending order) list of the salespeople’s names and the monthly sales for each of them.
• At the bottom of the report, list the following:
o The total combined sales for all salespeople.
â–Ş No hard-coding here. Must use an accumulator.
o The average sales for all salespeople.
â–Ş No hard-coding here. Must do the calculation.
You must submit the Report1 and Report2 output files with your RAPTOR program to show that your program ran
correctly.
Do not worry about the formatting of your output files since RAPTOR does not support formatting controls. Just make
them as presentable as possible with column headings, two columns of data and summary information at the bottom.
Other Requirements:
• Internal Documentation: Use the "Comments" feature to document each symbol in the flowchart. You do this by
right clicking the symbol and selecting "Comment." Be sure to identify the data type of each variable used in your
comments. Be sure to explain what each formula and function does. Be sure to explain what each of the other
symbols in the flowchart does in a comment.
• Test and debug your Program: Use the provided data file, run the program, then check your answers with a
calculator or Excel. If something does not match up, then fix your program.
• Program must execute and produce correct output.
• Read this document again to make sure you covered all requirements.
Submission Instructions:
• You will submit 4 files for this project.
o Hierarchy Chart and Data Flow Diagram in one MS Word or PDF file (both in same document).
o Flowchart (RAPTOR) file. Your RAPTOR file will be the .rap file created when you save your project.
o Report1.txt output file created by your program.
o Report2.txt output file created by your program.
• Each file will be uploaded separately into the submission area for each question shown in the Final Project Self &
Peer Assessment.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:20
Avariable of the data type arrays is storing 10 quantities. what is true about these quantities? a. the quantities all have different characteristics. b. the quantities all have the same characteristics. c. five quantities have the same and five have different characteristics. d. it is necessary for all quantities to be integers. e. it is necessary for all quantities to be characters.
Answers: 2
question
Computers and Technology, 22.06.2019 23:30
What are some ways to use a range name in a formula? check all that apply. in the defined names group, click use in formula, and then select the desired name. begin typing the name in the formula, select a name from the autocomplete list, and use the arrow keys and tab key to enter the name in the formula. begin typing the formula, and then click and drag with the mouse to select the cells to include in the formula. right-click one of the cells in the range. click formula options, and use the dialog box to add the name.
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
Consider the following function main: int main() { int alpha[20]; int beta[20]; int matrix[10][4]; . . } a. write the definition of the function inputarray that prompts the user to input 20 numbers and stores the numbers into alpha. b. write the definition of the function doublearray that initializes the elements of beta to two times the corresponding elements in alpha. make sure that you prevent the function from modifying the elements of alpha. c. write the definition of the function copyalphabeta that stores alpha into the first five rows of matrix and beta into the last five rows of matrix. make sure that you prevent the function from modifying the elements of alpha and beta. d. write the definition of the function printarray that prints any onedimensional array of type int. print 15 elements per line. e. write a c11 program that tests the function main and the functions discussed in parts a through d. (add additional functions, such as printing a two-dimensional array, as needed.)
Answers: 3
question
Computers and Technology, 23.06.2019 07:30
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
Answers: 1
You know the right answer?
Final Programming Project Assessment (200 Points toward Course Grade) Instructions: The following...
Questions
question
Mathematics, 15.05.2021 03:40
question
Spanish, 15.05.2021 03:50
Questions on the website: 13722363