Build two Java applications - Assignment

pheasantarrogantΛογισμικό & κατασκευή λογ/κού

15 Αυγ 2012 (πριν από 5 χρόνια και 7 μέρες)

221 εμφανίσεις

For This Program

With programs #4 and #5 you will be implementing your solutions using Java. For these programs
your goal must be to develop an object
-
oriented solution. We recommend that you use an IDE for
development


such as Eclipse or NetBeans
. Your Java programs must follow these rules:

No public or friendly fields (data members) *** NONE!!!***




these should be restricted to just utility functions and main


an inheritance hierarchy using “extends”; there must be a minimum of 3 classes in your
hierarchy




objects (rather than the
references), and clone() to perform a deep copy.


linked lists, trees, and grap
hs.


You are required with each program to still turn in 1 page paper on how this solution is object
oriented (or what you learned about OOP with this program). Instead of writing up a page about a
debugger, write about the IDE you used (eg., Eclipse, Net
Beans, etc.)

Data Structures

Program #4 and #5 will both require you to implement some sort of data structure from scratch. You
may select any of the following data structures


although you cannot implement the same data
structure for both programs #4 a
nd #5:





You may have additional data structures on top of this that are not your own creation.
Programming
Assignments #4 and #5

Program #4 Requirements

One of the concepts of D2L that I like the most is the ability to have a Checklist that keeps us on
track


reminds us of what we need to do next. However, I would prefer a checklist that generates
itself, from the variety of mate
rials that I have available


each with their own due dates. The
program could search through all of the materials and generate groups based on similarities and order
them by due date. So, everything with the word “slides” in the name would be grouped toge
ther
under Slides and ordered by date. Everything with the word “video” would be grouped together and
ordered by their date. Everything with the word “Program” would be grouped together and ordered
by date. I, the user, should be able to type in the keywor
d and the checklist should be automatically
generated for me.

So, this is what you will do


on a small scale. Have the user enter in a bunch of data that consists of
Name, Due Date, Type of material (files, website, discussion, etc.). Store this informat
ion in one of
the aforementioned data structures. Now ask the user to enter in a “group” name by which your
program will generate a checklist. Any Name that has the group name as one of the words will select
that for the checklist, sorted by date.

Make su
re to solve this problem using Object Oriented methodologies.

Program #5 Requirements

Add another layer to program #4…Add for a student to use this checklist. For students we need to
store what they have already accomplished in a checklist and not displa
y items that have already
been completed, reminding them of the next item that is to be completed. As part of this password
protect the original checklist that is automatically generated from being altered by the “student”.
Think of this as a student mode
versus a faculty mode. Suggestion: Dynamic Binding. And,
remember, object oriented programming is really the solution to managing the complexity with
relative ease.

There are no hard and fast rules for this assignment, just the goal to improve upon what was
already developed and achieve an object oriented solution, making your software more useful for
the real world! And, as usual, you must add another data structure
from the list above!