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
|
Project 8: Inheritance
Due: Monday, October 31st, 2022 before midnight
100 Points
Write a program that does the following:
1. Make a parent class called person with the following variables: first name, last name, street address, city, state, zip, phone number
2. Make a child class called student that inherits from person. This class will have the following variables: GPA, major, credit hours, anticipated year of graduation
3. Move the parent class to a header file and include it into your main program
4. Get data for all of the above variables (keyboard or input file. Your choice)
5. When the user is finished updating information, output everything to the screen
Assignment Notes:
Make variables either arrays or vectors - your choice
I expect to see functions throughout this program
General Notes:
Be sure to use comments in your program: Name, Program Description, Date and anywhere else in the program you deem necessary.
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 your program is not object-oriented, you will receive a 0/100 (OOP is requred for this assignment)
If your program does not use functions, you will lose up to 75 points (depending on the number of functions missing)
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 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 use global variables in your program, I will deduct 5 points for each used
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 you submit a file type I cannot open, such as .sln, you will receive a 0/100. You will be able to resubmit for credit, but you will lose up to 90 points (depending on how late it is)
If your program looks like a 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.
|