summaryrefslogtreecommitdiffstats
path: root/C++/Vectors/instructions.txt
blob: a40c663211417ba30cf496f85cc10fe092b69198 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 Write a program that does the following:

    Read in an unknown number of records from an input file and store that data into vector variables for the below: 
        First Name
        Last Name
        T-Number
        Major
        Advisor Name
        GPA
        Credit Hours
        Year expected to graduate
        Hardest class taken so far
        Easiet class taken so far

    Use functions for each of the below:
        Function to check to see if input file was found
        Function to read in data from input file
        Function to output all data to screen and output file
        Function to output the student's information that has the highest number of credit hours
        Function to output the student's information that has the highest GPA

General Notes:
Be sure to use comments in your program: Name, Program Description, Date and anywhere else in the program you deem necessary. You do not need to sort the data to get the highest credit hours or GPA. There are much easier ways of doing this. 
If you are stuck, I will help you!   
Grading Rubric:

    If you do not include comments at the top of the program (name, program description, date), you will lose 15 points
    If you do not use functions, you will use 10 points per missing function (50 points)
    If your program does not compile (run), then I will give a grade of 0/100. But will give you the change to repair for points back (some points are better than none)
    If your program is late (within 48 hours of the due date), you will lose 25 points
    If your program uses global variables, you will lose 5 points for each used
    If your program is late beyond the 48 hour due date, I will typically still accept it, but you will lose far more points. Depends on when you turn it in
    If you submit your program in a Word document, you will lose 20 points and will need to resubmit your program for grading. Please only submit .cpp files  
    If your program is not formatted nicely (code all over the place, ugly), you will lose up to 25 points depending on the extent
    If your program stops working when I run it, you will lose points. The exact amount depends on the severity of the error
    If your program still has your friend's name on it, I will send you a message asking you to try harder while giving you a 0/100
    If your program looks like a professional programmer wrote it, I will write to you to ask if you want a job. Well, maybe not. But, I will ask about the code
    This is just a list of typical issues I run into when grading to give you some idea of where your points go. Points can be taken off for other reasons.