Programming words of wisdom (for now and the future)
- Assignments never require the use of programming constructs not already used in class.
- It is very likely the examples we recently studied should prove useful.
- Variables should have names that are useful for the reader.
- If you number a variable, then all of those numbered variables should represent something similar.
- If you number a variable, then there better be more than one of them.
- Do not reuse variables for more than one purpose; e.g., the variable storing an input age, should not later be used to represent the dateability age
- Test your programs to make sure that they work. At a minimum use our test cases. If your answers are different, we believe yours are wrong.
- When we examine your program, we will use different test cases. There is no guarantee that the test cases we provide in the assignment are sufficient to know your solution is correct.
© 2019 Jim Cohoon | Resources from previous semesters are available. |