0% found this document useful (0 votes)
72 views3 pages

Assignment 1

This document provides instructions for Assignment 1. It details that the assignment is due on September 18th by 9 AM and must be submitted through Blackboard Vista. Late submissions will not be accepted. The assignment involves developing a Java application to track movie rentals for an online store using arrays. Students must draw UML diagrams, define classes with attributes and methods, and implement all classes in Java following naming conventions and adding comments. The program must allow customers to view inventory, rent available movies, and request reserved titles.

Uploaded by

arunparat
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views3 pages

Assignment 1

This document provides instructions for Assignment 1. It details that the assignment is due on September 18th by 9 AM and must be submitted through Blackboard Vista. Late submissions will not be accepted. The assignment involves developing a Java application to track movie rentals for an online store using arrays. Students must draw UML diagrams, define classes with attributes and methods, and implement all classes in Java following naming conventions and adding comments. The program must allow customers to view inventory, rent available movies, and request reserved titles.

Uploaded by

arunparat
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

CHECK DUE DATE CAREFULLY

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!!!

2. HOW TO SUBMIT ASSIGNMENT 1


1. Go to http://www.uh.edu/webct/
2. Click on
3. Log in
4. Click on the Assignment 1
5. When you are ready to submit your files, please put them IN ONE FILE
named FirstNameLastNameID.zip. If not, your program will not be graded.
6. Finally, you should click on the button to submit your assignment.

3. NEED HELP?
Since this is the first assignment, you will have many questions to ask.
Please ask them AS EARLY AS POSSIBLE.

If you have any questions about the requirements,

1) Please read the requirements more carefully☺.


2) If you still cannot find a solution, please post it on the discussion
board.
3) If you have a specific question about your program, please do not
hesitate to contact Joseph or Ilyas (WEBCT MESSAGE).

CHECK DUE DATE CAREFULLY


Page 2 of 3

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

1) There should a menu to select proper functionality


2) You should first enter records (like 10 movies)
3) A customer wants to rent a movie
4) Display the inventory
5) The customer picks a movie
6) Update your inventory information
7) Another customer wants to rent a movie
8) The customer picks a movie
9) Update your inventory information
10) The customer wants to rent a movie
11) Display the inventory
12) S/he makes a request for an unavailable item
13) Reverse the movie for the customer. So it cannot be requested.
14) You need to warn the customer if selected item is reserved or
unavailable.

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 choose meaningful identifier names. If not, TA will deduct up to


20 points.

You need to follow Java naming conventions. If not, TA will deduct up to 20


points.

You need to add comments explaining your statements. If not, TA will deduct up
t o 20 points.

Please notice that indentation is a requirement for all the assignments. In


programming, an indent style is a convention governing the indentation of blocks
of code to convey the program's structure:

Block1
{
Block2
{
. . .
}
. . .
}
. . .

IF NOT, YOUR PROGRAM WILL NOT BE GRADED.

You MUST use arrays to store the records, IF NOT, YOUR PROGRAM WILL NOT BE
GRADED.

You might also like