CSIT213 Java OOP Assignment 1: ECommerce Management System Implementation Without Collections, Singapore

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

Native Singapore Writers Team

  • 100% Plagiarism-Free Essay
  • Highest Satisfaction Rate
  • Free Revision
  • On-Time Delivery

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

Get Help By Expert

Complete CSIT213 Java OOP - Ecommerce Management System Implementation Without Collection Assignment 1 with the help of AI-free Singapore assignment helper. Here you will get 100% original content as well as high-quality assignments. Assignment samples are also available for students to assess the quality of their assignments. Hire a programming assignment helper now and get rid of assignment worries without any delay!

Answer

Looking for Plagiarism free Answers for your college/ university Assignments.

Ask Your Homework Today!

We have over 1000 academic writers ready and waiting to help you achieve academic success