Assignment 1
Assignment 1
Page 1 of 3
1. ASSIGNMENT 1
Posting Date : 09.10.2010 Friday 09.00.00 AM Central Standard Time
Due Date : 09.18.2010 Saturday 09.00.00 AM Central Standard Time.
Submissions are NOT accepted after this date and are marked
'missed'.
Submission : Webct Blackboard Vista. Please do notice that submissions via
email(or webct message) will NOT be accepted.
CHECK DUE DATE CAREFULLY
No cheating will be tolerated, and the penalty for any transgression will be an F
grade!!! Please read the REQUIREMENTS extremely carefully. Please notice that
EACH WORD is written for a reason!!!
3. NEED HELP?
Since this is the first assignment, you will have many questions to ask.
Please ask them AS EARLY AS POSSIBLE.
4. PROJECT
In assignment 1, you need to develop a Java application that keeps the track
of an inventory (you MUST use arrays) for an online movie rental store. When a
customer wants to rent a movie, your program should display the list of available
items in the inventory. It should also display the return date for unavailable
items (already rented items). Every customer can rent a movie for one week (7
days). A customer can also make a request for an item that is not available. The
system should reserve the item for the customer and mark it as reserved.
You can use the following scenario (you are free to make changes) to test
your program
5. REQUIREMENTS
• Divide the problem into use cases (i.e., tasks to be performed) as many as
you wish, and draw the use cases in MagicDraw (http://www.magicdraw.com/).
• Identify the steps (actions) required for accomplishing the task in each use
case. Then, draw the Activity Diagram.
• Determine the classes you need to define using the use cases.
o Identify attributes for each class.
o Identify methods for each class (using sequence diagrams but you do
not need to draw those).
• Draw class diagram and show association and composition relationships if
there are (NO AGGREGATION AND NO GENERALIZATION-INHERITANCE).
• Implement the ALL THE CLASSES in Java.
Page 3 of 3
You need to add comments explaining your statements. If not, TA will deduct up
t o 20 points.
Block1
{
Block2
{
. . .
}
. . .
}
. . .
You MUST use arrays to store the records, IF NOT, YOUR PROGRAM WILL NOT BE
GRADED.