CSCI 2270
Computer Science 2:
Data Structures
Spring 2003
Karl Winklmann
Recent news items :
Exemptions from final exam
Anyone who has earned all 900 possible points so far can afford to get zero points on the final and would still get an A (not an A-) in the course. Such people can therefore afford not to show up for the final.
Extending this exemption a bit further, we will assume that anyone who has earned 875 or more points so far would easily get 25 points or more on the final and hence get an A for the course. Such people can therefore also afford not to take the final and still get an A.
Handed out: Monday, January 13, 2003
Due: Friday, February 7, 11PM
After choosing to throw an object the user types in four integers which are the initial (x,y) location and the initial (dx, dy) velocity of the thrown object.
Your program then prints the object at a series of locations until it gets outside the -1000 to +1000 range or after 1000 stesp, whichever comes first. “Printing the object at a location”, e.g., at (x,y)=(54,-892), is done by outputting the following lines to cout:
drawCircle 54 -892 50 show
When the user types an invalid menu choice your program needs to output a list of the (two) valid choices.
How to submit those files will be discussed in recitation.
Compiles without errors: 10
Reasonable and consistent style: 10
Objects move properly: 40
Output as required*: 40
____________________________________
Total: 100
*either as text or piped into drawing program