Design and implementation of different methods

Assignment Help JAVA Programming
Reference no: EM132635940

80007 Advanced Java - Swinburne University of Technology

Assignment : Keyword Snippet Analysis

Introduction

The kind of assignments we are seeking is the one that has significant scope for the application of the subject's content. This is quite a challenge since we need a problem that has potential for the nice application of the java IO, data structures, collections, documentation and the computational strength to make performance a significant issue in the quality of the solution.

As a result, we have opted for a keyword snippet analysis problem. The system must be implemented in Java.

Logistics
This is an individual assignment.

The assessment of the assignment will be based on the presence of working features and on submission of the assignment according to the rules and deadlines.

The submission of the assignment will be in electronic form. All assignment files will need to be packaged into a SINGLE zip (such as Your-ID-FirstName-UG/PG-20S2-AJ- Assign1.Zip) file and submitted to the Assignment 1 link in the Canvas. If you are undergraduate student, please mention UG, otherwise PG. Your zip file should contain a text file named "readme.txt" which should be created with a text editor such as notepad++, not a word processor. This file will contain identification information (name, id, and subject id); instructions on how to run the assignment, a list of known bugs, the identification of help you have received from outside the group including code that you have obtained from other sources, an itemization of the assessment items completed with an estimate of what you think you will get for the assignment and any other discussion that is needed. Note that the way you can receive feedback on your progress in the subject is through your progress in the assignment; you should be able to have a fair idea of the mark you will get by what you have completed. You can also receive feedback and comments from your tutor.

Please note that this form of submission is not yet specified in the Assessment Details and Regulations.

Occasionally there will be problems with the submitted zip files; in such cases it is generally obvious whether the student has made a genuine attempt at the assignment and the student will be emailed and asked to resubmit the assignment. All students therefore need to retain a complete electronic copy of their work and maintain an up-to-date email address until they have received an assignment mark.

As an added precaution, check that it is possible to open the uploaded zip file from the Canvas.

A few days after the assignment deadline, the assignments will be marked; and it is expected that it will take at least 2 weeks after the deadline before the assignments will be marked.

The Problem

Keyword search systems have become an integral part of the data centric applications. The contemporary keyword search systems exploits the underlying data source statistics to recommend interesting and relevant content to the users.

The problem takes a list of keywords and a text file that contains pure text. We would like to exploit the so-called New I/O (or NIO) buffers and channels to read the text file content. Then, we copy the sections of the file that contains the defined keywords into the target text file. In fact, we extract the text snippets that contain the keywords of the keyword list.
Include the following methods in your solution:

• FileChannel with direct ByteBuffer
• FileChannel with indirect ByteBuffer
• Buffered Stream I/O
• Programmer-managed Byte-Array

The response time for all methods should be recorded in a separate text file. You should use a batch file to include the java commands and command line arguments (to run the experiments for each method) in addition to the Eclipse. The experiments can be done by varying the buffer size and the text file which is supplied to the java program. There can be 3 command line arguments for setting up the experiments.
For example: java programName methodName bufferSize textFileName.
Also, build an index by using data structures such as hash tables to store each keyword (as the key) with its associated snippets (as the values for the key).

The total mark for the Assignment 1 will be obtained by adding all the marks, dividing by 10, rounding up to the next whole number and then subtracting marks for acknowledged code > 10% of total, any penalties for lateness and the inclusion of unacknowledged code.

The order of the feature list is also designed as a suggestion for the order of development and will guide the order of presentation of the lecture material. Ideally, you should have all the theory before you start the assignment, but this is, of course, not possible. Therefore, we have sequenced the lecture material in order to support the development of the assignment as much as is practicable.

Keyword Snippet Analysis

1. Design and implementation of different methods.

2. Use of batch file containing java commands to do the experiments.

3. Use NIO and advanced java features as far as possible.

4. Use advanced data structure for indexing and exception handling.

5. Recording the time for each method and printing the results in a text file.

6. Include reasonable documentation according to the Javadoc standards.

7. A readme.txt file explaining features completed, expected mark and locating presence of codes from other sources.

Some suggestions

1. Regularly spend time for logic-building, design, codes and overall work.

2. Reflect your regularly explored tasks into your assignment.

3. There is quite a lot of works needed for the assignment. Please do not think you can leave the task until the last week before the deadline.

Attachment:- Advanced Java.rar

Reference no: EM132635940

Questions Cloud

Centers for disease control and prevention : The Centers for Disease Control and Prevention (CDC) is an agency of the Federal Government of the United States
Bacterial concentration in the original : What was the bacterial concentration (per mL) in the original, undiluted suspension?
Calculate the resultant gain or loss on transfer of machine : Machine B and paid cash $40,000 to exchange for Machine C, which costs $300,000. Calculate the resultant gain or loss on the transfer of Machine B.
Difference between grant proposal goal statement-objectives : Discuss the difference between a grant proposal goal statement and objectives.
Design and implementation of different methods : Design and implementation of different methods and Include reasonable documentation according to the Javadoc standards - Use advanced data structure
How does fintech compare to regular banking : How does Fintech compare to regular banking? Discuss R3 and its distributed ledger technology mission. What are some of the applications of cords and strategies
Determine the dividend paid to preferred stockholders : Determine the dividend paid to preferred stockholders and common stockholders. Inmann Corporation has 4,000 shares of 7%, $100 par value preferred stock
Describe the purpose of step in the writing process : Describe a situation where to use positive or negative outcomes that demonstrates why using the writing process is important in any type of writing activity.
How the total mortgage liability should be reported : Prepare a installment payments schedule for the first 5 years. How the total mortgage liability should be reported on the balance sheet at December 31, 2018.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd