|
The programs that you turn in will be graded according to the criteria given in the first of the following three links. The second link gives detailed instructions on exactly how you are to turn in your finished assignments. The programs that you turn in should conform to the style guide contained in the third link (it was written by Cay Horstmann, a well known Java author).
Program grading criteria
Turning in your assignments
Java Language Coding Guidelines
Below are your Java programming assignments. The due date for each one is contained in the assignment description.
- Assignment 12.
- Do Programming Project 9.2 on page 565 at the end of Chapter 9 of our textbook. Use a "titled border" in your GUI and also add a "tool tip" to each of the three radio buttons. This assignment is due on Monday, December 8.
- Assignment 11.
- This assignment uses inheritance, abstract classes, and polymorphism. The details of this assignment are in these instructions. This assignment is due on Monday, December 1.
- Assignment 10.
- This assignment uses arays. The details of this assignment are in these instructions. This assignment is due on Thursday, November 20.
- Assignment 9.
- This assignment uses arays. The details of this assignment are in these instructions. This assignment is due on Wednesday, November 12.
- Assignment 8.
- Do Programming Project 5.13 on page 317 at the end of Chapter 5 of our textbook. This assignment is due on Monday, November 3.
- Assignment 7.
- This assignment is based on the material from Chapter 4 about writing classes and methods. The details of this assignment are in these instructions. This assignment is due on Friday, October 24.
- Assignment 6.
- Do Programming Project 4.3 on page 265 at the end of Chapter 4 of our textbook. Notice that for this assignment you will be turning in two files, one called
PairOfDice.java and the other called BoxCars.java . Zip your two files into a single zip file called CS123Ass6Surname.zip and turn in the zip file. This assignment is due on Friday, October 17.
- Assignment 5.
- Do Programming Project 3.22 on page 205 at the end of Chapter 3 of our textbook. Besides the requirements given in Project 3..2, your applet should also fill in the largest diameter circle with the color red (note that the other 99 circles should be drawn as circles, not as filled in disks). This assignment is due on Thursday, October 9.
- Assignment 4.
- Do Programming Project 3.6 on page 201 at the end of Chapter 3 of our textbook. For this assignment, consider zero to be an even digit. So your program will count the number of odd digits, the number of even digits (including any zeros), and the number of zero digits in an integer. Notice that this means that zero digits get counted twice. (Hint: Make use again of the integer division (/) and quotient (%) operators.) This assignment is due on Friday, September 26.
- Assignment 3.
- This assignment gives you practice with using Java objects and also with using the BeanShell interactive version of Java. The details of this assignment are in these instructions. This assignment is due on Friday, September 19.
- Assignment 2.
- Do Programming Project 2.7 on page 123 at the end of Chapter 2 of our textbook. Do this assignment is two steps. In the first step, the variable for the number of seconds should be initialized, in its declaration, with the value that is to be converted. In the second step, the variable for the number of seconds should get its value from a user (by using the
readInt() method from the Keyboard class). We will go over the Keyboard class on Monday, September 8, but you can start on the first step of this program right away. Be sure to test your program on many different values for the number of seconds. To do the conversion you will need to use the integer division and quotient operators (see pages 80-81 of the textbook). When you are done, turn in your version of the second step of this assignment. This assignment is due on Friday, September 12.
- Assignment 1.
- Do Programming Project 1.5 on page 57 at the end of Chapter 1 of our textbook. The output of your program should exactly match the picture in the book. Your program will consist of a sequence of print statements, one for each line of the picture. The main purpose of this assignment is to get you started using the editor and the compiler. This assignment is due on Thursday, September 4.
|
|