COIT11134 Object Oriented Programming (T2 2017) Assignment Item 2 – Object-Oriented Programming Due date: Week 10 Friday (22-Sep XXXXXXXXXX:45 PM AEST ASSESSMENT2 Weighting:20% Length:NA Objectives...



Objectives



• Develop a Java GUI application using more than one Java classes


• Read and/or write from/to text files


• Use search algorithms and/or sort algorithms


• Use ArrayList or LinkedList or any other data structure




COIT11134 Object Oriented Programming (T2 2017) Assignment Item 2 – Object-Oriented Programming Due date: Week 10 Friday (22-Sep-2017) 11:45 PM AEST ASSESSMENT2 Weighting:20% Length:NA Objectives · Develop a Java GUI application using more than one Java classes · Read and/or write from/to text files · Use search algorithms and/or sort algorithms · Use ArrayList or LinkedList or any other data structure General In assignment 2, you can continue to develop the Java GUI application that you have created in assignment 1. If you would like to modify the codes that you have submitted in assignment 1, you are free to do so. You can adopt any layout pattern as suitable to the requirements of the application in assignment 2. Assignment Task Specifications NQ-Real Estate (NQ-RE) has conducted a market survey and the results show that around 15% of potential customers may extend and/or change their bookings. Having decided to update the initial requirement, NQ-RE approached you again and requested for more functions to be added to the already developed software. The required changes are listed as follows: · When the application starts, it should read all the details of service bookings from the existing text file (“booking.txt”) and display the latest service booking. · The application should provide necessary controls to search and display the details of all booked properties (houses and/or units) by a given owner or customer. If the search criterion is not met, then an appropriate message has to be displayed. · The application should provide appropriate controls to obtain the data for a new or updated service booking; perform error checking and display the details of new or updated service booking. You are allowed to use the relevant codes from your assignment 1 and apply them for these purposes. · The application should have the facility to append/save the details of new booked services or existing service booking updates in the same text file (“booking.txt”). In order to include these additional changes in the Java GUI application, you may need to do any or all of the following: · Develop additional Java classes · Extend the existing Java classes that you have developed for assignment 1 · Implement newly created interface(s) · Use ArrayList or LinkedList or any other data structure. You need additional controls that are required to develop your own layout for assignment 2. Please note that you can create the above-mentioned text file through your application program for storing the service booking data and then that file can be used by your application to read the contents during its subsequent run. Note: If you need to make suitable assumptions for the development of the above Java application, please provide them in the form of comments in the tester class. Assignment submission 1. You have to submit your assignment using the Moodle online submission system. 2. You have to submit a zip file containing the text file “booking.txt” and all Java source code files including the test driver file (any additional library/jar files used, if any). Assignment 2 Marking criteria Item Description Maximum marks 1 GUI displays details of the latest service booking after reading from the file “booking.txt” (2) without any compilation / run time errors (1) 3 2 The application allows to search (2) and displays the details of searched booking(s) performed by customer (1) 3 3 Displays appropriate message when the above search criterion is not met 2 4 GUI displays the controls for updated service booking data entry 2 5 Calculates total charges accurately for the booked services. 2 6 Displays all the details of a new or updated service booking 2 7 Performs input validation and displays appropriate message when there is an input error 2 8 Saves/appends the details of new booking services into the file “booking.txt” 2 9 Quality of code (additional classes, interfaces, generic methods/generic classes, best programming practice- comments, indentation, naming and readability) 2 Less late submission penalty (5% per calendar day) Less Plagiarism Total 20 Note: If the program does not compile/run, partial marks may be given based on the submitted-source codes.
Sep 12, 2019COIT11134Central Queensland University
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here