ADMIN LOGIN   |   LOGOUT  

  Sun Feb 05, 2012
Revision Date:

COMPETITIVE EVENTS--Desktop Application Programming
2010-11 Topic


Desktop Application Programming

Certain types of accounting processes require that each record in the file be processed.  Desktop Application Programming focuses on these procedural style processing systems.  This event tests the programmer's skill in designing a useful, efficient, and effective program in the area described.  At the state level, students will complete a program to be judged prior to the state conference based on the posted topic, and the top 10 finalists will be scheduled for an oral presentation.

Restrictions: None
Region Leadership Conference Eligibility: Not a regional event
State Leadership Conference Eligibility: A maximum of two projects may be submitted to PA FBLA Executive Director by the published deadline. Top 10 individuals will participate in oral presentation of project at the SLC.

2010-2011 Topic:
You will write a class grade book program that accepts the following from a .dat file:

1.
     an integer from 1-25—this integer will represent the number of students in a class.

2.     an integer from 4-10—this integer will represent the number of grades to be submitted for each student in the class. This number will be input only once. The user must input the same number of grades for each student.

3.      Depending on the number entered in step 2 (can range from 4-10), you will ask what the percentage is for each grade to be entered. The total must equal 100.

Ask the user for the location of the .dat file and do the necessary processing to return the following:

---------->averages for each student
---------->averages, maximums, minimum for each set of grades (assignment)

The .dat file will have the following information:

---------->a record for the number of students
---------->a record for the number of grades
---------->a record for the percentage for each of the grades
---------->a record for each student and that students grades. The format for this record will be 20 characters for a name followed by 10 set of 3 numbers for the max number of grades

Below is an example of the .txt file:

4

4

15252535

student name 1      100090080000000000000000000000

student name 2      099090080100000000000000000000

student name 3      000090081100000000000000000000

  student name 4      100095085075000000000000000000


The program must validate the following:
1.  the number of students accepted from record 1 is the same number of student records processed

2.  the number of grades accepted from record 2 is the number of grades used. Any grades outside of the value submitted in record 2 should be 000 in the student/grade record. For example:  In the example file, it is stated that there would be 4 grades for each student. If a grade other than 000 were found in the fifth through tenth grades for a student, an error should be generated

3.  the percentage of grades adds up to 100

The program will process the file and produce the following reports/files:
1.  a report or file formatted for printing that contains the average for each student; the average, maximum and minimum for each set of grades submitted. These values should be to two decimal positions

2.  a report or file formatted for printing that contains a listing of any errors that occurred while processing the file

The values that should be returned for the example file are:
---------->average for student
---------->student name 1 - 57.50
---------->student name 2 - 92.35
---------->student name 3 - 77.75
---------->student name 4 - 86.25
---------->for grade 1 - average is 74.75, maximum is 100, minimum is 0
---------->for grade 2 - average is 91.25, maximum is 95, minimum is 90
---------->for grade 3 - average is 81.50, maximum is 85, minimum is 80
---------->for grade 4 - average is 68.75, maximum is 100, minimum is 0



   
Copyright © 2001-
Pennsylvania Future Business Leaders of America
Counter