Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JAVA! You should create a user defined object of Tutorial Website type. The object should have three properties: Language Name Website Description Website URL Your

JAVA!

You should create a user defined object of Tutorial Website type. The object should have three properties:

Language Name

Website Description

Website URL

Your object will need to implement the comparable interface for this object. You may choose the property is used to determine the order of your object. Language name would be the best choice.

Your project should read the list of programming language tutorials in from the text data file, and load the data into a Tutorial Website object . In the process it should copy the object into an array. After the array is fully loaded, sort the list in the array. After the list in the array is sorted, write the list to a different output file. Repeat this process for the other sorting algorithm.

After the program executes, there should be two new output files. One file with the list sorted in ascending order and another file with the list in descending order.

Place the two sorting methods that you create into your project, one that performs a ascending selection sort on your object, and the other method will perform a descending insertion sort on the object array . In your main method of the project call the methods so that it repeats the sorting process for the selection sort and then for the insertion sort. In each method, the file should read the original file, sort the data, and then write the data to a new output file. Both methods should write its output file as CSV File. Your program should have two file writing methods in your project. One that processes and writes the sorted ascending array and one that processes and writes the sorted descending array.

Here is the link to the example data file

Tutorial.txt

Java

The Java Tutorials

http://docs.oracle.com/javase/tutorial/

Python

Tutorialspoint Java tutorials

http://www.tutorialspoint.com/python/

Perl

Tutorialspoint Perl tutorials

http://www.tutorialspoint.com/perl/

C++

cplusplus.com C++ tutorials

http://www.cplusplus.com/doc/tutorial/

Objective C

The objective C programming tutorials

http://howtomakeiphoneapps.com/objective-c-tutorial/

C++

The LearnCPP C++ Tutorial

http://www.learncpp.com/

Objectice C

The Objective C tutorial

http://objectivectutorial.org/

Java

LearnJavaOnline.org Interactive Java Tutorial

http://www.learnjavaonline.org/

Objective C

Objective C beginner's Guide

http://www.otierney.net/objective-c.html

C#

Microsoft C#

http://msdn.microsoft.com/en-us/library/aa288436%28v=vs.71%29.aspx

Python

The Python Tutorial

http://docs.python.org/2/tutorial/

Python

Learn Python interactive Tutorial

http://www.learnpython.org/

COBOL

The ZingCOBOL beginners guide to COBOL Programming

http://cobol.404i.com/

Java

Tutorialspoint Java tutorials

http://www.tutorialspoint.com/java/

C++

Tutorialspoint Java tutorials

http://www.tutorialspoint.com/cplusplus/

Ruby

Ruby in Twenty Minutes

https://www.ruby-lang.org/en/documentation/quickstart/

PHP

PHP: a Simple Tutorial

http://php.net/manual/en/tutorial.php

JavaScript

W3 Schools Javascript Tutorial

http://www.w3schools.com/js/default.asp

Ruby

The Ruby DOC Introduction to Ruby

http://ruby-doc.org/docs/Tutorial/

JavaScript

JavaScript for the Total Non-Programmer

http://www.webteacher.com/javascript/

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo, Susan D. Urban, Karen C. Davis

4th Edition

1284231585, 978-1284231588

More Books

Students also viewed these Databases questions

Question

Explain budgetary Control

Answered: 1 week ago

Question

Solve the integral:

Answered: 1 week ago

Question

What is meant by Non-programmed decision?

Answered: 1 week ago

Question

What are the different techniques used in decision making?

Answered: 1 week ago