Assessment item 2 – Assignment 2ASSESSMENTObjectivesThe objective of this assignment is for students to: Analyse, develop and implement software solutions. Compare and contrast different algorithms in problem solving. Choose and compare appropriate data structures in program design. Apply classes, inheritance, polymorphism and exception handling.Assessment TaskYour task is to develop a Java Application that allows the user to read the game name, publisher name, developer name and price from a text file (GameData.txt), save data in a file (NewGameData.txt), display data in a text area, sort data by the game name and search data by the game price.The application’s GUI components should consist of a menu bar containing 3 menus (File, Tools and Help) and a text area (Display Area for Games) as shown below.There are 3 menus (File, Tools and Help). The File menu contains 3 items (Read, Save and Exit), the Tools menu has 3 items (Display All Games, Sort Games by Name and Search Games by Price) and the Help menu has 2 items (Help and About). The menu items are described below.FileRead: Reads the data from GameData.txt (see format of this file below) and stores the data in a Linked List or an ArrayList. The application must use appropriate exceptions to deal with problems during the file opening (e.g. what to do if file doesn’t exist).The file contains Game Name (String), Publisher Name (String), Developer Name (String) and Game Price (double). A sample file format for GameData.txt is as follows.Halo 5: Guardians, Microsoft Studios, 343 Industries, 48.90ARK: Survival Evolved, Studio Wildcard, Instinct Games, 29.50Rise of the Tomb Raider, Microsoft Studios, Eidos Montreal, 44.95FileSave: Saves all the data from ArrayList/LinkedList to NewGameData.txt file. The new file only contains game name, developer name and price. It also contains the total number of games. The format for NewGameData.txt file is as follows.Halo 5: Guardians 343 Industries 48.9ARK: Survival Evolved Instinct Games 29.5Rise of the Tomb Raider Eidos Montreal 44.95Total Games: 3The application must use the appropriate exceptions to deal with problems during the file saving.File Exit: Allows the user to exit the application.ToolsDisplay All Games: Displays all the data from ArrayList/LinkedList in the display area as shown below.ToolsSort Games by Name: Sorts data by the game name in ascending order using the best sorting algorithm covered in COIT20256 course and displays sorted data in the display area as shown below. You are not allowed to use any built-in sorting algorithm.ToolsSearch Games by Price: Asks the user to enter a game price via a dialog box as shown below and uses the best searching algorithm covered in COIT20256 course to search for the given game price. It displays appropriate message found or not found in display area.Help Help: Provides instructions to user via a dialog box on how to use the applicationHelp About: Provides the user with your contact details (contact person, email) for further help.Data ValidationInput data validation for the Game Price entered to search is required. If no game price is entered or entered game price is less than $1 and OK button is pressed then the application will pop out a message box with an appropriate message.Data Structures & AlgorithmsYou must use: LinkedList or ArrayList for storing game object. Best searching algorithm (based on your analysis) covered in COIT20256 course for searching. Best sorting algorithm (based on your analysis) covered in COIT20256 course for sorting. Two classes to implement the application. One class, named Game which describes an individual Game (fields such as Publisher, Developer, Name, Price and get and set methods) and anotherclass named GameApplication which contains GUI with components and methods for sorting, searching and file processing. Appropriate fields and methods to store/process game data.Evaluation and Analysis of Data Structures and Algorithms You must justify the reason for selecting the data structure (ArrayList or LinkedList). Why do you think that the data structure used by you is the best data structure for your application? Write maximum 2-3 lines to answer this question in Report.docx. You must justify the reason for selecting the sorting algorithm. Why do you think that the sorting algorithm used by you is the best sorting algorithm for your application? Write maximum 2-3 lines to answer this question in Report.docx. You must justify the reason for selecting the searching algorithm. Why do you think that the searching algorithm used by you is the best searching algorithm for your application? Write maximum 2-3 lines to answer this question in Report.docx. You must run your application 3 times by increasing the data each time (e.g. 5 games, 50 games, 500 games) and compare time for sorting algorithm. Write in Report.docx, the time taken to sort in each case. You must run your application 3 times by increasing the data each time (e.g. 5 games, 50 games, 500 games) and compare time for searching algorithm (use same search key each time). Write in Report.docx, the time taken to search in each case.Implementation PlatformYou must implement your program in Java using TextPad Editor which is available in University’s computing labs and may also be downloaded from the following site: http://textpad.com/download/index.htmlAssignment SubmissionYou MUST show your tutor the progress (Game.java and GameApplication.java files) in Week 9 Tutorial and Week 10 Tutorial. If you are a distance student, you need to contact the course coordinator by e-mail.You MUST submit on 29 September the following files using the Moodle online submission system. Game.java – Source code for Game class (fields, constructor, get and set methods) GameApplication.java – Source code for class with GUI components, sorting method, searching method, reading/writing from/to file methods, etc. Report.docx – Results of comparing data structures and algorithms as mentioned above (see section Evaluation and Analysis of Data Structures and Algorithms).Warning: You must submit your own assignment and correct files.Assessment Item 2 Marking CriteriaTotal Marks – 30Marks Allocated1GUI implementation and presentation (menus, display area, etc.)42Read data23Display data from file24Save data to file25Sort data/algorithm36Search data/algorithm37Help and Exit18Input validation and pop out message box29Design – fields, classes, objects, methods410Quality of code (comments, indentation, naming and readability)211ReportQuality (content, presentation, language) (1 mark)Reason for selecting data structure ArrayList or LinkedList (1 mark)Reason for selecting the best sorting and searching algorithms (1 mark)Time comparison/analysis of sorting and searching algorithms (2 marks)512Late submission penalty is 5% of total mark per day-1.5/day13Penalty for using things not covered in lectures and tutorials-3
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
Ace Writing Center has stood as the world’s leading custom essay writing services providers. Once you enter all the details in the order form under the place order button, the rest is up to us.
Essays
At Ace Writing Center, Nowadays, students normally have extremely busy schedules. You will note that some of them have to take on some evening or weekend jobs in order to get some income that can help them to sustain in college or in the university. This can deny them a chance to write all the essays given. Others usually get bombarded with a lot of work by their lecturers. This can still delay such students from working on all their essays. However, some of them usually try to work on all these essays but end up delivering their work late. This can prevent them from graduating since most lecturers are strict on deadlines. If you want to write a business essay, the wise way is to hire an outstanding essay writing service like us, so that you can get the best results. If you are keen, you will note that many companies usually overcharge their customers. Some of them are there only to make money. And in reality, they really don’t care to build a long term commitment with students. You should not choose such companies. You should take your time and choose a reliable company to work with. Ace Writing Center is the ultimate solution for you. We have been offering our writing service for more than 7 years. This is a clear indication that you will get quality essay writing service. We have a wide range of writers who can work on any business essay that you might have. We believe in doing extensive research so that we can provide quality work to all our clients. .
Admissions
Admission and Business Papers
Have you ever had to write an admission essay for college? The majority of students face the same issues when applying to a university or college and many in such situations decide they need professional help to cope with this matter. They get in a situation when the deadline keeps coming closer but lack motivation to start because they are just not sure if their writing skills are strong enough. We have a solution for you! Ace Writing Center is the best admission essay writing service with a large professional team and years of experience in providing high-quality papers to students of all levels and faculties. The mission of our team is to help students make their dreams of entering a good college come true and that’s what we offer!.
Editing
Editing and Proofreading
Sometimes all the words for your paper just flow out of your mind and into your fingers. You type quickly at your keyboard and there they are, your beautiful words right there on the screen. But you have no idea how to polish it up. You may be wishing there was a paper writing service that offered this type of writing service. Look no more! Here at Ace Writing Center, we offer you an editing and proofreading option that you can't find anywhere else..
Coursework
College Essay Writing
In case you are familiar Ace Writing Center, you know the way to distinguish a better company from a cheap one exactly. First of all, poor service website does not have a sufficient support. We think support team is an essential part of success; it has to answer all clients’ questions and be a connecting link between clients and their writers. On our web-service you will get answers about anything you need and your writer will receive all your instructions, assignments and requirements exactly and swiftly. A writing service that we run has got a flexible pricing system that will save you from senseless wastes and many bonus systems that let you sparing money for something important for you.