Design and implement a digital music streaming

Assignment Help Data Structure & Algorithms
Reference no: EM132403070

Exercise

We have been hired to design and implement a digital music streaming service called Potify, where users can listen to songs and add them as favourite to their personal library. As part of our job, we have to implement the searching and sorting of songs.

Users will only be able to sort songs using the same criteria of song title and author (as in Exercise 3d).

The team of engineers you manage has developed two sorting algorithms that have to be tested. The first one is a variant of MergeSort, whereas the other is a variant of QuickSort. Moreover, the development team also wants to compare these variants with the algorithm already implemented in the Java Arrays class, called parailelSort.

For this exercise you must implement an experimental test about each of the algorithm's computing time:

• You will have to test different array sizes: 10, 100, 1000, 10000, 1000000,10000000.

• For each array size, you must generate 30 distinct array instances of each size (check how you can generate random song collections in the provided class) and calculate the average time the algorithm takes in order to solve problems of that size.

• After executing the experiments (they can take hours), you must determine and justify which of the sorting algorithms works best (you can use charts). On the other hand, you must compare the experimental cost of MergeSort, QuickSort and Arrays.parallelSort with the theoretical temporal cost (for instance, you can plot the theoretical cost as a baseline in the chart).

• Explain how the algorithm used in the Arrays.parallelSort() method works, and justify whether the performance you get in your experiment is the expected in all scenarios. You can take a look at the ArraysParallelSortHelpers class which this method uses.

In order to complete this exercise you will have to modify a code skeleton to achieve your objective. The results of the experiment are automatically stored in the out/test/resources/benchmark resufts.tsv file on your project. The algorithms should compare in the most similar conditions so as the comparison is fair enough.

Verified Expert

The work develops java program to create an application Potify which is digital music streaming service. the developed system wants to sort songs and find the song from the personal library. in connection with the application two sorting algorithms such as Merge sort and Quick sort developed. the performance of the two compared with various array sizes. the work explains the working principle of the array class parallel Sort.

Reference no: EM132403070

Questions Cloud

Earns an annual interest rate : How much will you have in this account at the end of 5 years? Assume that all interest received at the end of the year in reinvested the next year.
Redraw the geographical boundaries of the western canadian : As well as the broader concepts of space, place, and globalization, redraw the geographical boundaries of the Western Canadian provinces.
How much money will be in the account at the end : The first deposit is made today. How much money will be in the account at the end of that time period?
What is the present value of the annuity : What is the present value of the following annuity? $1,062 every year at the end of the year for the next 8 years, discounted back to the present at 11.92
Design and implement a digital music streaming : Design and implement a digital music streaming service called Potify, where users can listen to songs and add them as favourite to their personal library
Determine the new number of shares outstanding in parts : Determine the new number of shares outstanding in parts (a) through (d).
What is the value of operations : a. What is the value of operations? b. Immediately prior to the repurchase, what is the intrinsic value of equity?
What are the data analytics principles : Discuss the ways in which understanding big data and data analytics principles either impact your current work or your career aspirations. APA style format.
Identify one stock to either buy or short sell : Identify one stock to either buy or short sell. You must print out whatever charting you finally use. You can also learn more about technical indicators.

Reviews

len2403070

11/19/2019 1:07:14 AM

After executing the experiments (they can take hours), you must determine and justify which of the sorting algorithms works best (you can use charts). On the other hand, you must compare the experimental cost of MergeSort, QuickSort and Arrays.parallelSort with the theoretical temporal cost (for instance, you can plot the theoretical cost as a baseline in the chart). • Explain how the algorithm used in the Arrays.parallelSort() method works, and justify whether the performance you get in your experiment is the expected in all scenarios. You can take a look at the

len2403070

11/19/2019 1:06:34 AM

must be in java and run in intellij Idea you must complete the next 4 step: For this exercise you must implement an experimental test about each of the algorithm’s computing time: • You will have to test different array sizes: 10, 100, 1000, 10000, 1000000, 10000000. • For each array size, you must generate 30 distinct array instances of each size (check how you can generate random song collections in the provided class) and calculate the average time the algorithm takes in order to solve problems of that size.

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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