Difference:
CSC121S2022Lab12
( vs. 1)
Revision 1
2022-03-11 -
cathybareiss
Line: 1 to 1
Added:
>
>
META TOPICPARENT
name="CSC121SylS2022"
Last lab: Finish the project
Learning Objective(s)
Show all that you have learned this semester.
Use existing classes to finish the calendar project.
Overview of the program
You are adapt your calendar keeper from lab 7 to use arrays to store the data instead of files.
Details
Create a
Calendar Keeper
class that interacts with the user the same way your lab 7 does.
Create a
Calendar
class
It should
not
use files.
It should use an array to store a number of days
Only create an entry in the array of days when there is at least one task for it.
The array need not be sorted.
If a task is being added to a day that already exists (i.e. has at least one task in it already), the new task should just be added to that task.
It should be able to find a given day in the list of days.
This class does not need an equals or compareTo
All normal exceptions should be handled (not thrown)
Submission
Create an empty zip folder.
Place your classes (.java files) in it
Place your software development report in it.
Submit the zip folder on canvas
Optional improvements
Save the data between each running of the program in a binary file and load it back up when the program launches
Add another option that displays a given month's calendar with a * after each date that has a least one task.
Add another option that displays an entire year's calendar with a * after each date that has at least one task.
Sort the days before they are ever displayed.
View topic
|
H
istory
:
r1
|
More topic actions...
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback