|
What are the goals of this assignment? To write several small Java programs so that you get accustomed to: using expressions, conditionals and loops and to debugging your code.
What preparation do I need before beginning this assignment? Read Sections 1.2 and 1.3 of the textbook. You may also find it instructive to work through some of the other exercises and look at the solutions on the booksite afterwards.
How should I format my Java code? How much do I need to comment my code? Follow the style guidelines.
Do I have to use command-line arguments to read the inputs? Yes, or you will lose a substantial number of points.
What exactly is a 4-by-4 checkerboard? It has a total of 16 asterisks, 4 per row. Each row has 8 characters, alternating between asterisks and spaces.
* * * * * * * * * * * * * * * *
|
Submission. When you submit, be sure to click the Check All Submitted Files button. Make sure that you submitted the right files and that they compile cleanly. You may resubmit a file after making corrections, but first you will need to hit the red X for that file's dropbox window to unsubmit the old file. Then you can submit the corrected version.
Possible Progress Steps |
These are purely suggestions for how you might make progress. You do not have to follow these steps. The key to writing correct programs is to develop them incrementally, testing after each step.
A drunkard's walk. This is similar in many ways to the gambler's ruin example from lecture and the textbook. The key to building a larger program is developing it incrementally.
|
Here are some famous and not-so-famous quotations about learning to program.