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

  Product maintenance with a database using jdbc

MITS5502 Developing Enterprise Systems - enhance the application described in the previous Parts by modifying it so it uses a database instead of a text file

  Need to create a pyramid with first name robert

Need to create a pyramid with first name Robert inside of a method named namePyramid and the print out to the console should look like this: Disregard the periods: I needed them to move the pyramid over

  Structures that can be used in programming

There are various selection structures that can be used in programming. What are the different selection structures that can be used in the Java programming

  Distributed systems

Build robust, secure distributed systems using advanced programming techniques

  Write a search method with four parameters

Write a search method with four parameters: the search array, the target, the start subscript, and the finish subscript. The last two parameters indicate.

  Implement a set as a new class that is derived

A set is like a bag, except that a set does not allow multiple copies of any element. If you try to insert a new copy of an item that is already present in a set, then the set simply remains unchanged.

  Create a java class called month

Create a program/project called [YourName]-(replace [YourName] with your actual name) in the same project as the Month.java, Create three objects: Month1 one using the first constructor (with no arguments) and Month2 using the second constructor wi..

  Why is preemptive priority scheduling important

Why is preemptive priority scheduling important? To what extent do ADA95 and JAVA meet this need? Describe the yield method in JAVA.

  Write a program that reads customers information

CSE110 - Write a program that reads customers' information from a file, and creates a movie theatre seating with a number of rows and columns specified

  Build a software simulation of a dvd player

CMPT270 Intersession 2017 Assignment - Design and then build a software simulation of a DVD player that also has WIFI capability

  What does each part of sharedpreferences data pair represent

What does each part of the SharedPreferences data pair represent? Explain each part of the pair. Name five ways to store data in an app. Why should an app not store massive amounts of data using internal storage?

  Create to determine how much either joe or jim

What type of equation would you create to determine how much either Joe or Jim makes separately? What equation is needed in Java (ignoring the $ symbol)? What data type is needed need for this equation?

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