Assignments:
|
Name |
Description |
Due Date |
|
Club |
Use the club project from chapter04 to complete the following exercise. Your task is to complete the Club class, an outline of which has been provided in the project. The Club class is intended to store Membership objects in a collection. Within Club, define a field for an ArrayList. Use an appropriate import statement for this field. In the constructor, create the collection object and assign it to the field. Complete the numberOfMembers method as well as the Join method. |
4/20 |
|
Club |
Create an additional piece of information about the club as well as appropriate methods for its use. |
4/24 |
|
Notebook 1 |
Implement a removeNote method in your notebook. This method will take an integer as a parameter – that integer is the index of the note to be removed. Implement the listNotes method in your notebook. This method will print out all of the notes using System.out.println(). Make sure you check your printNotes for functionality. |
4/25 |
|
Notebook 1 |
Modify the showNote and removeNote to print out an error message if the note number entered was not valid. |
4/26 |
|
Assignment |
Fill in the methods for the assignment class from the shared folder. (It is in the Gradebook project) |
4/27 |
|
Assignment |
Create an additional piece of information about a single Assignment that gives it more functionality. |
4/28 |
|
QuarterGrades |
Fill in the methods for the QuarterGrades class that stores a series of Assignment objects – They should both be in the same project. |
5/2 |
|
QuarterGrades |
Create a class Student. Each student should have a collection of QuarterGrades. Create methods that allow access to the student’s grades. |
5/4 |
|
Assignments toString |
Add a toString method for the assignment class that returns the name of the assignment. |
5/5 |
|
Assignments toString |
Modify the toString method so that it returns all of the information about the assignment, formatted neatly, instead of just the name. |
5/9 |
|
Printing Assignments |
Add a printAssignments method to the QuarterGrades class that prints out all of the assignments stored within the collection. |
5/11 |
|
Printing Assignments |
Create an additional print method that will print all of the failing grades. |
5/12 |
|
Counting Sheep |
Farmer John is having trouble sleeping and wants to count sheep. Write a program that asks John (via a JOptionPane) how many sheep he wishes to count. Display the sheep randomly around the screen numbered so that John can count them. See the shep class provided as part of this program. Download the sheepProgram folder from the share. Add code to the onMousePress method so that then the user clicks it shows the JOptionPane. |
5/15 |
|
Counting Sheep |
Add functionality to the sheep program that displays an understanding of looping structures. Possibilities include corralling the sheep in some way. |
5/16 |