PDA

Click to See Complete Forum and Search --> : [2005] Need a Simple Visual Basic .NET Console Application Made by tomorrow (will pay


Vexious
Nov 12th, 2006, 04:42 PM
Hey guys one of my friends needs a simple .net application made by tomorrow around 11amPST, willing to pay around $10 for it as it is really simple for any experienced .net programmer.

Project Requirements

* Create a module, appropriately named,that will load student exam scores and personal information from text files, assign a letter grade based on the exam average and then display all pertininent information to the console. In this project, you will be asked to use array and arraylist processing as well as using the StreamReader class and string manipulation techniques. Optionally you can get an additional 5 points by reading a file with individual test scores and calculating the average used to assign the letter grade.

Project Inputs & Outputs

* Input - A file, student.txt. You will need to copy it to the bin directory of your project. It is available on Blackboard also.
* Output - A report showing the students' first initial, last name, phone number, score average and assigned letter grade along with appropriate text:
o A heading line
o One or two line displays for each student
* Click here to see a sample output to the command window.

Project Processing

* Declare appropriate variables, those used in multiple methods should be declared at the top of the module
o A Structure, named Student, which will contain 4 Public variables, Strings, first name, last name and phone number and exam average.
o A variable that has the Student structure as a type
o An ArrayList which will hold all of the student information
o Two parallel arrays, one, an array of integers, containing the minimum scores for the letter grades, {92, 88, 82, 78, 70, 60, 0} and the other, containing Strings representing the associated letter grades, {"A", "AB", "B", "BC", "C", "D", "F"}

* You will need a minimum of 3 methods, main, one to read the files and process the information and one to write the output. You may have additional methods as seems logical.

* You will read the personal information file first and using the split() method of the string class load each student's information into an instance of the structure variable which will then be stored in an ArrayList. You must use an appropriate loop for reading an unknown number of records from the file.

* In the output method:
o Create a heading line as in the sample report, including a short-date display of the current date
o Create a heading line of column headings with tab separators, as in the sample report. You must use the ControlChars class for all display spacing characters.
o You will need to loop through the array list of student information. Use the loop variable as an index to retrieve the student information from the arraylist.
o Using the extracted exam average for each student, loop through the minimum scores array to locate the correct element representing the current student's average. Use the index of the found item to access the correct letter grade.
o Print each student's information on one or two lines, nicely formatted with appropriate text.


* Read the grades.txt file, which contains all of the individual exam scores for each student. Store the information in a two-dimensional array or an ArrayList of ArrayLists. When processing the output add up all of the grades for each student and calculate the average before assigning the letter grade. In the display, show all of the grades, as well as the required information as descibed above. If using array processing for this, the dimensions must be handled dynamically, i.e. not hard coded.


links above in order:

student.txt file should look like this when saved:

John,Johnson,123-1234,91.2
Sally,McKinney,523-6234,85.4
Gustavo,Jackson,239-9674,93.2
Jason,Luxford,534-2093,78.4
Robin,MacBride,789-2491,83.6
Hugh,Murdoch,208-1968,74
Alexander,Newcomb,450-1856,69.8


First sample output window example (what it should look like for output):

Student Grade Report 7/2/2005

Name Average Grade

J.Johnson 91.2 AB

S.McKinney 85.4 B

G.Jackson 93.2 A

J.Luxford 78.4 BC

R.MacBride
83.6 B

H.Murdoch 74 C

A.Newcomb 69.8 D



Second sample output window example (what it should look like for output):

Student Grade Report 7/2/2005

Name Grades Average Grade


J.Johnson 95 87 99 91 84 91.2 AB


S.McKinney 85 88 60 95 99 85.4 B

G.Jackson
91 95 99 85 96 93.2 A

J.Luxford
78 81 69 85 79 78.4 BC

R.MacBride
87 84 76 90 81 83.6 B

H.Murdoch
66 70 72 80 82 74 C

A.Newcomb 70 74 65 71 69
69.8 D

This must be organized using methods!!!

Atheist
Nov 12th, 2006, 04:47 PM
To just begin reading all that text Id want more than $10 ;)

..besides..is this a homework not done in time, that is to be handed in tomorrow? Though luck then :thumb:

Vexious
Nov 12th, 2006, 05:12 PM
Tell me a reasonable offer, this is BASIC .net

GhettoT
Nov 12th, 2006, 05:15 PM
I think he is saying since it is a homework assignment you/your friend should do it your self!

Vexious
Nov 12th, 2006, 05:15 PM
he told me he would if he had the time mate, idk~

RobDog888
Nov 12th, 2006, 05:18 PM
Usually most members will help with homework if the thread poster has made some attempt at writting some code. Usually guiding instead of writting it all.

We do have a Jobs forum where I can more this thread to if you really do just want someone to write it for you (not really an ethical thing to do as you wont really learn anything that way ;)).

Vexious
Nov 12th, 2006, 05:19 PM
I'm not sure exactly what all he has or has not done, he just asked me to see if i could find someone to help me out, he did say he could get it done, but is afraid he will run into problems and not finish in-time.. College blows

RobDog888
Nov 12th, 2006, 05:20 PM
Ok, then I can move this to where it belongs in the Jobs forum.

Vexious
Nov 12th, 2006, 05:39 PM
Thanks mate