Category | Assignment | Subject | Programming |
---|---|---|---|
University | Singapore University of Social Science | Module Title | CSIT213 Java Programming |
Assessment Title | Assignment 1 |
---|
The following class diagram serves as a prototype for an application that models an ECommerce Management System. The system consists of four main classes:
E-commerce Manager: Responsible for managing the overall operation of the system, including the handling of customers, products, and orders.
Customer: Represents individuals who register with the system before placing orders through the e-commerce platform.
Product: Represents the various items available for purchase in the e-commerce store.
Order: Tracks details about each order placed by customers, including the product ordered, quantity, and order date.
Your task is to implement the classes shown in the diagram. In addition, you are required to write a separate class containing the ‘main’ method to test the functionality of the system. You should also take error cases into consideration when implementing the methods.
To simplify implementation, assume a fixed capacity of 100 customers, 100 products, and 100 orders, and the maximum quantity ordered per product item is 10. In addition, each placement of an order will generate a unique order ID in the Place Order method in the E-Commerce Manager.
You must not use any of the Java Collection classes such as `ArrayList`, `LinkedList`, `Vector`, or similar.
You must not use any methods from the `Arrays` class (e.g., `Arrays.sort`, `Arrays.copyOf`, etc.) to manipulate arrays.
All array handling must be performed manually using basic array operations.
Using ArrayList, LinkedList, Vector and Arrays class, etc. will result in a zero score for this assignment.
The testing code StudentAssertionTest.java has been provided to assist you in testing your code.
You need to enable assertions in Java to enable the testing.
Ensure that you have passed all the test cases before submission, else zero marks will be awarded if the StudentAssertionTest.java fails to run.
Another comprehensive code will be used to automate the grading of your assignment.
Do not use any packages for the Java code, as the automated grading will fail and will result in zero marks.
Need Plagiarism free Answers for your college/ university Assignments
Order Non-Plagiarized AssignmentIf you are stressed about the assignment on CSIT213 Java Programming, then there is no need to worry now! Whether you need Java Assignment Help or Marketing Assignment Help, you will get expert guidance and help on report writing services, which will make your concepts strong. We also provide you free assignment solutions that will help you in understanding. And the best part? All the content is 100% original, written by PhD expert writers, and is well-researched so that you get the best quality. So don't delay now, boost your grades with our help!
Let's Book Your Work with Our Expert and Get High-Quality Content