Document Preview:
Assessment details for ALL students Assessment item 2 Due date: Thursday of Week 11 ASSESSMENT Weighting: 30% 1 Objectives The objective of this assignment is for students to: • Demonstrate an understanding of object-oriented programming concepts, LinkedList/ArrayList, GUI with menus, sorting algorithms, searching algorithms and reading/writing data from/to a file. • Develop and test Java applications. • Evaluate algorithms, data structures and program designs used in developing Java applications. Assessment Task Your task is to develop a Java Application that allows the user to read travel booking data from a text file (inBooking.txt), save data in a file (outBooking.txt), display data in a text area, sort data by booking name and search data by booking name. The application GUI components should consist of a menu bar containing 3 menus (File, Sort Data, Search Data) and a text area (Display Area) as shown below. There are three menus (File, Sort Data, Search Data). The File menu contains 4 items (Open, Show Data, Save Data, Exit), Sort Data menu contains 2 items (Bubble Sort and Merge Sort), Search Data menu contains 2 items (Linear Search and Binary Search). The menu items are described below. File?Open: Open and read data from inBooking.txt (see format of this file below) and store data in a Linked List or an ArrayList. The file contains Booking Id (String), Booking Name (String), Flight (double), Accommodation (double), Meal (double) and Total Expenses (double). A sample file format for inBooking.txt is as follows. 1345, Mike Douglas, 102, 120, 100, 322 1879, John Bobber, 200, 180, 120, 500 2560, Andrew Beck, 150, 300, 150, 600 3212, Rick Water, 200, 100, 140, 440 File?Show Data: Read data from ArrayList/Linked List and show in a display area as shown below. File?Save Data: Read data from ArrayList/LinkedList and save data in outBooking.txt file. The format is same as format in inBooking.txt file. File? Exit: Allows user to exit the application. Sort.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more