Used Car Warehouse Database System
Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
FIT9131 Assignment
Used Car Warehouse Database System
Introduction
This assignment is worth 25% of the marks for your final assessment in this unit. Heavy penalties will
apply for late submission. This is an individual assignment and must be entirely your own work. You must
attribute the source of any part of your code which you have not written yourself. Please read the section on
plagiarism in this document. Your program will be checked with a code similarity detector. Please note the
section on plagiarism in this document.
The assignment must be done using the BlueJ environment. All user input to the system, and system
output to the user, must be done at the BlueJ terminal window. No other graphical interfaces are to be
used (nor assessed) in your program.
The Java source code for this assignment must be implemented according to the FIT9131 Java Coding
Standards.
Any points needing clarification should be discussed with your tutor in your lab classes. You should not
make any assumptions about the program without consulting your tutor.
Learning outcomes
1) Design, construct, test and document small computer programs using Java.
2) Interpret and demonstrate software engineering principles of maintainability, readability, and
modularisation.
3) Explain and apply the concepts of the "object-oriented" style of programming.
Specification
For this assignment you are required to write a program that implements a simple Used Car Warehouse
Database System. This section specifies the required functionality of the program. Only a simple text
interface (using the BlueJ Terminal Window) is required for this program; however, more marks will be
gained for a program that is easy to follow with clear information/error messages to the user.
Even though this program is functionally very different from the program you wrote in Assignment 1, you
should be able to re-use much of your previous code here - if you have designed the classes/logic in your
previous program properly. This is one of the major benefits of an object-oriented program - the ability to
re-use classes.
FIT9131 Semester 1 2021 Assignment 2
25 April 2021 2
The aim of the Used Car Warehouse Database System is for a virtual warehouse to keep a database of the
used cars in the warehouse, and to perform operations such as searching for cars, adding/deleting/editing
cars, displaying the details of cars, etc.
The Used Car Warehouse Database System should provide the following features:
• maintains a list (using a Java Collection class) of Car objects
o each Car object represents a single “car”
o cars can be searched/added/deleted/edited from the list
• maintains a list (using a Java Collection class) of CarMaker objects
o each CarMaker object represents a car "manufacturer" (maker)
• produces a report of cars based on some criteria
• loads a list of cars from a text file; saves the list of current cars to a text file
• loads a list of car makers from a text file
You are to demonstrate the following programming techniques in your program:
• reading/writing data from/to text files
• using appropriate Java Collection classes to store data (including embedded objects)
• manipulating the data in the collection(s)
• performing simple searches, filtered by some given criteria
• using program constructs such as repetitions & selections
• using appropriate classes to represent objects in the program
There will be a description of the Car and CarMaker classes (and the collection classes which store them)
later in this document.
You are also required to produce a partial Test Strategy for your program.