Professional Documents
Culture Documents
IT ELEC 1 Assessment 2
IT ELEC 1 Assessment 2
NAME: ______________________________________________________
YEAR & SECTION: _________________
DATE: ___________________________
Objectives:
Design UML Class Diagram of a system
Implement the UML Class Diagram into a Java code sample.
.
Problem Description:
Your instructor gives you a task to create an Online Product Ordering System that
will help to automate the manual transaction. Part of the development of the system
is planning and creating a UML Class Diagram to strategize what classes need, the
attributes and methods, and the system's structure.
You come up with the idea that the system will compose of;
1. Admin Class
2. Customer Class
3. Product Class
4. Payment Class
5. Cart Class
Admin Class has an instance variable of userID, userName, and userPassword.
Admin will manage all the Products; the admin can view, add, update, delete, make
shipments, and confirm the Delivery of the products.
Payment Class has an attribute of customerID, name of the product, product price,
cardType, and cardNumber.
Page 1 of 2
Cart Class has an attribute of ID, number of products, product details, product price,
and total.
INSTRUCTIONS:
Given the details of the Online Products Ordering System, create a UML Class
Diagram of the System and Implement it into a sample JAVA Code.
RUBRICS
Excellent Good Satisfactory Unsatisfactory
(90 – 100%) (80 – 89%) (60 – 79%) (below 60%)
Requirements Completed Completed Completed Completed
(50 points) between 90- between 80- between 75- below 70% of
100% of the 89% of the 79% of the the
requirements. requirements. requirements. requirements.
Page 2 of 2