summaryrefslogtreecommitdiffstats
path: root/C++/Virtual Functions/INSTRUCTIONS
diff options
context:
space:
mode:
Diffstat (limited to 'C++/Virtual Functions/INSTRUCTIONS')
-rw-r--r--C++/Virtual Functions/INSTRUCTIONS34
1 files changed, 34 insertions, 0 deletions
diff --git a/C++/Virtual Functions/INSTRUCTIONS b/C++/Virtual Functions/INSTRUCTIONS
new file mode 100644
index 0000000..cbd1553
--- /dev/null
+++ b/C++/Virtual Functions/INSTRUCTIONS
@@ -0,0 +1,34 @@
+
+HW3: Virtual Functions
+Due November 29th, 2022 before midnight
+50 Points
+Virtual functions are only introduced in this course. You will use them in data structures instead. Therefore, this assignment is meant to let you become familiar with the concept before you move onto that class.
+In this assignment, you will watch the videos about virtual functions. Then, you will answer the below questions:
+
+ What is a virtual function?
+ What is the purpose of a virtual function?
+ Write about a real world situation where you would need to use a virtual function in a program
+ Write a program of your choice demonstrating how a virtual function works
+
+Assignment Notes:
+
+ Look up information using any resource you wish, but you must write your answers in your own words. Copy/paste = 0/50
+ Since you are writing a short program to demonstrate virtual functions, you may put answers to questions 1 - 3 as comments within your program
+ Short/vague answers will receive few, if any, points
+
+General Notes:
+Be sure to use comments in your program: Name, Program Description, Date and anywhere else in the program you deem necessary.
+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/50(OOP is requred for this assignment)
+ If your work 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 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/50
+ If you submit a file type I cannot open, such as .sln, you will receive a 0/50. You will be able to resubmit for credit, but you will lose 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.
+
+