CS
010 - Introduction to Computer Science I
Assignment 6:
DUE: Thursday, 8/19 before 11:00pm
Collaboration is strongly ENCOURAGED. You will be working in teams, but programs must represent YOUR OWN original work. Teams should work on the algorithm together and help debug/test each others code. However, copying code from ANY source (any book, current or past students, past solutions, the web, etc.) is STRICTLY FORBIDDEN. Code between teamates will be similar, but you are not allowed to just copy a teamate's solution.
Code that is turned in, must be contained in a .cpp file named main.cpp. Files of any other format will not be graded (e.g. main.doc, main.txt, etc…).
You must turn your work in from a lab computer on campus.
Turn in online to as6 folder. If you turn your assignment in to the wrong folder, your assignment may not be graded. If it is graded, you will lose 2 pts (out of 10).
Remember to include the following header
information at the top of your program;
// last
name, first name
// last 4 digits of SID
// UCR email address
// user name (log in name)
1 pt: Has only one set velocity function
1 pt: Has only one set position function
1 pt: Set acceleration function is correctly passed two variables 1 pt: Acceleration function correctly sets accelerations 2 pt: Ship moves correctly according to position functions 2 pt: Draws ship of using function, and ship is big enough to see2 pts: Style (0.5 each)
- Good variable names
- Proper indentation
- Good comments
- No line wraps