

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: Application Programming for Information Systems; Subject: Information Studies; University: Syracuse University; Term: Fall 2000;
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


IST 256 Assignment 3
Assignment 3 due November 24, at the beginning of class
In this application, there is an input file of employee sales data and the program must read in the file and prepare two reports: one report is displayed on the form and the other report is written to an output file.
The form for this application will allow the user to type in the name of both the input and output files. (While you are developing the program, you may want to disable this part to avoid typing in file names every time, but it is essential that the final version of the program allow the user to type in the input and output file names for grading purposes. That is, we are going to run your program on an input file that we have prepared.) The form needs
The input file will have one employee’s data on each line, consisting of the employee name, the gender, the number of years of service and 6 monthly sales figures. The format of the each line will be like the following example
Betty Boop, F, 2, 2000, 7000, 1500, 4000, 7500, 4200
To test your application, make up an input file that has a number of employees. Please make sure that you have several people that fit each of the three categories for number of years of service, and for people who get bonuses or not.
The button procedure should get the input and output file names from textboxes and should give an alert if there are not two file names given.
The program then reads data from the input file and while it is doing so, it will:
The data displayed in the employee part of the form should have names and total sales of people with at least 10 years in the company to one multiline label or text box, with 5 to 9 years experience in another label or text box, and with fewer that 5 years experience to a third label or text box.
The number of male and female employees should also be displayed.
The output file will give a report on total sales and employee bonuses calculated from the data in the arrays. It should be defined as follows:
An example line in the output file would be:
Boop, Betty Female $26,200 with bonus $
All programs should have comments that contain the name of the programmer and that explain the role of each procedure, including buttons. Additional comments must be added as necessary to explain the actions of the program. The form must have a Close button.
The following additional items will be included in the grading