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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:00, alowery89
Match the steps of the process to julia's analysis. 1. analyze choices. current costs for making phone calls to foreign countries averages between five and ten cents a minute. 2. determine the goals. julia needs to reduce the cost of telecommunications without reducing her employees' ability to do their jobs. 3. gather data. the corporate computer network will be able to handle the increased traffic that will occur as a result of voip. 4. evaluate the decision. julia will have her it department set up voip in the smallest domestic office. 5. make the decision. julia will have employees document the benefits and problems that result from using the new technology.
Answers: 1
image
Computers and Technology, 21.06.2019 22:30, jennyrr9021
This isn’t really school related, but like where the heck can you find manga, to read to where you don’t have to pay money, for points? my friend wants me to read bj alex, and i can’t find it anywhere for free.
Answers: 2
image
Computers and Technology, 22.06.2019 06:00, dkargbo6034
Write a function that draws a pool ball. this function should take as parameters, the color, the number that should go on the pool ball, and the location of the center of the pool ball. the radius of the pool balls should be pool_ball_radius, and the font of the number should be pool_ball_font. the text of the pool ball font should be white. drawpoolball(color. orange, 5, 100, 100); drawpoolball(color. green, 6, 50, 200); drawpoolball(color. red, 3, 150, 350); drawpoolball(color. blue, 2, 250, 140); to center the numbers on the pool ball, you should use the getwidth() and getheight() methods. you are allowed to call these methods on your text object, such as txt.
Answers: 3
image
Computers and Technology, 22.06.2019 11:40, malibu777
Design a pos circuit that displays the letters a through j on a seven-segment indicator. the circuit has four inputs w, x, y, and z which represent the last 4 bits of the uppercase ascii code for the letter to be displayed. thus, if wxyz = 0001 then "a" will be displayed. (any answer with 22 or fewer gates and inverters, not counting any for the inputs, is acceptable)
Answers: 2
You know the right answer?
Final Programming Project Assessment (200 Points toward Course Grade) Instructions: The following...

Questions in other subjects:

Konu
Mathematics, 18.03.2021 02:00