CSIT213 E-Commerce System Assignment 1: Java OOP Implementation Without Collections for Manual Array Management
University | Singapore University of Social Science (SUSS) |
Subject | CSIT213 Java Programming |
E-Commerce Management System Assignment
Objectives
- To apply Object Oriented Design.
- To apply Object Oriented Programming.
- To implement solution in Java and IDE.
Tasks
The following class diagram serves as a prototype for an application that models an ECommerce Management System. The system consists of four main classes:
- ECommerceManager: 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 order will generate a unique order ID in placeOrder method in ECommerceManager.
Hire a Professional Essay & Assignment Writer for completing your Academic Assessments
Important Constraints:
- 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.
Test Code and automated grading
The testing code StudentAssertionTest.java has been provided to assist you to test your code.
You need to enable assertion 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 failed 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.
Requirements
- Please include the following information at the beginning of the Java source file.
- Module code
- Assignment name
- Your UOW student number.
- Your full name.
- Your tutorial group.
- You must adopt good programming practices which include (but not limited to) the followings:
- Descriptive variable, parameter and method names.
- Readable source code with proper indentation.
- Descriptive block comments in the source code and the test results.
- Modular programming.
- Avoid global variables.
- You must include additional test cases to thoroughly test the classes and the methods implemented in your solution by adding in more test cases in StudentAssertionTest.java.
- You should organize the sequence of the test cases so that the test results are readable.
- Do not use any packages for the Java code.
- Failure to compile and execute the code will result in zero marks awarded.
Submission
- Submit one zip file containing the FIVE Java classes and the execution results in a text file (output.txt) to Moodle. The FIVE classes are: Customer.java, Order.java, Project.java, ECommerceManager.java and StudentAssertionTest.java.
- Only zip format is acceptable. Do not use other compression format such as. 7z, gzip and rar.
- For full time student:
- File name must be in the form of: TXXF_NAME_UOWID.zip where XX is your tutorial group, NAME is your full name (without space or underscore) and UOWID is your 7-digit UOW ID number (not SIM student ID number).
- For example, T02F_JeffreyTan_8080426.zip
- For part time student:
- File name must be in the form of: TXXP_NAME_UOWID.zip where XX is your tutorial group, NAME is your full name (without space or underscore) and UOWID is your 7-digit UOW ID number (not SIM student ID number).
- For example, T02P_JeffreyTan_8080426.zip
Note
- Automated script will be used to extract your file for grading. Failure to follow the above instructions will result in failure to extract your submission correctly.
- Ensure that the UOW ID number is correct as it will be used by the scripts to update your marks in Moodle. Wrong UOW ID number will result in your marks not updated in Moodle.
- Do not use any packages for the Java code
- Late submission will be penalized 5% per day late.
- Late submission more than 4 days late will be awarded a mark of zero.
Buy Custom Answer of This Assessment & Raise Your Grades
Are you looking for answers to the CSIT213 Manual Array-Based E-Commerce Assignment 1 question? You are at the right place. Assignment Help SG provides 100% original material and does not compromise on quality. Get help from Homework Helper today at an affordable cost and submit your assignment before the deadline. Contact us now!
- ACFI3004 Australian Taxation Assignment: Residency & 2025 Income Assessment for Heny and Joceline
- PESTEL Analysis Assignment 2: Fitness Studio Expansion into Thailand & Vietnam
- A2369C cGMP Compliance Assignment: CAPA Report on Audit Non-Conformities in Pharma Quality Management (PQM)
- E2419C Health Logistics Assignment: Cold Chain & Dangerous Goods Management in Pharma Supply Chain
- AVET104 Fundamentals of Biology Assignment: The Story of Signals, Energy & Expression Inside the Cell
- Workplace Health & Safety Review: Risk Assessments 1 and Accident Data Analysis
- Sensible Risk Assessment 2 Report: Personal Reflection on Workplace Report and Future Growth
- ACLP M1P TAE Written Assignment: Applying Skills Framework, Assessment Planning & Instructional Design for Learner-Centric Education
- EGH222 Employee Sick Days Prediction Assignment: Regression Model Using Demographic and Lifestyle Data
- Sustainability Presentation Assignment: Strategic Issues & Behavioural Campaign for Selected Company
UP TO 15 % DISCOUNT