diff options
Diffstat (limited to 'C++/Final Program/INSTRUCTIONS')
-rw-r--r-- | C++/Final Program/INSTRUCTIONS | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/C++/Final Program/INSTRUCTIONS b/C++/Final Program/INSTRUCTIONS new file mode 100644 index 0000000..277f82a --- /dev/null +++ b/C++/Final Program/INSTRUCTIONS @@ -0,0 +1,50 @@ + Final Program +Due on Tuesday, November 29th before midnight (no late assignments accepted since this is the last day of class) +200 Points +Write a program that does the following: + + Create a parent class called Person and it will have the variables to store first name, last name and their favorite movie + Move the Person class into a header file (you may keep the code together until finished, then move it to a header file to make this easier) + Create a child class that inherits from the Person class called Movie. It will store the variables movie name, box office gross, and year made + Get data via the keyboard or an input file for each of the above variables. Please store at least 3 sets of data to make the program interesting + As you read in the movie name, check it for <HTML> tags and remove any found + Create a simple menu that will ask a user if they want to: + Sort on the movie name + Sort on the box office gross + Sort on the year the movie was made + Display the highest grossing movie's info + Display the lowest grossing movie's info + The menu should loop until the user is finished making choices + If the person's favorite movie matches the a movie entered, output a special message to the screen + Output to the screen each time the user makes a selection + +Assignment Notes: + + You are free to use arrays or vectors. Or, you can mix/match. It is up to you. + It will be easier if you have all of your functions in a class. This is not required though. + You can get the information via the keyboard or from an input file. Up to you. + Your variables should be in a class - Private or Protected sections. + I will be closely watching for cheating (copying from friends, online help, etc.) + +General Notes: + + Be sure to use comments in your program: Name, Program Description, Date and anywhere else in the program you deem necessary. + Much of this code came from the midterm, so you can watch the midterm key videos to see how to write a lot of this code + I will provide limited help in the classroom and/or email. Being a final exam, I cannot help a lot. I recommend you watch the recorded lectures on Blackboard since everything I ask you to do in this exam has examples in those lectures + +Grading Rubric: + + If you do not include comments at the top of the program (name, program description, date), you will lose 30 points + If you do not use functions, then your program will not be OOP and you will get a 0/200 + If your program is not OOP, then you will get a 0/200 + If your program does not use inheritance, you will lose 75 points + If your program does not sort or sort properly, you will lose up to 60 points + If your program does not output a special message when a movie name matches the user's favorite movie, you will lose 20 points + If your program uses global variables, you will lose 10 points for each used + If your program does not compile (run), then I will give a grade of 0/200. But will give you the change to repair for points back (some points are better than none) + If your program is not formatted nicely (code all over the place, ugly), you will lose up to 50 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/200 + 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. + |