Find cost of sorting the relation in seconds

Assignment Help Data Structure & Algorithms
Reference no: EM1362933

Suppose you need to sort a relation of 40 gigabytes, with 4 kilobyte blocks, using a memory size of 40 megabytes. Suppose the cost of a seek is 5 milliseconds, while the disk transfer rate is 40 megabytes per second.

a. Find the cost of sorting the relation, in seconds, with bb = 1 and with bb = 100.

b. In each case, how many merge passes are required?

c. Suppose a flash storage device is used instead of a disk, and it has a seek time of 1 microsecond, and a transfer rate of 40 megabytes per second. Recompute the cost of sorting the relation, in seconds, with bb = 1 and with bb = 100, in this setting.

Reference no: EM1362933

Questions Cloud

Find the resistance between points a and b : Find the resistance between points A and B. A car starts from rest on a curve with a radius of 130 m and accelerates at 0.500 m/s^2. How many revolutions will the car have gone through as the magnitude of its total acceleration is 2.50 m/s^2.
Determine the persons velocity : guess the force between a proton and an electron at the Bohr radius of 0.5Å (1 Å=10-10 m). The magnitude of the charge of an electron, as well as a proton, is 1.6·10-19 C.
Explain one of the critical sub-steps of this purchasing : Explain One of the critical sub-steps of this purchasing step is the completion of the payment
Nutritional needs of the general population : How do the nutritional needs of an athlete compare to the nutritional needs of the general population?
Find cost of sorting the relation in seconds : Suppose you need to sort a relation of 40 gigabytes, with 4 kilobyte blocks, using a memory size of 40 megabytes. Find the cost of sorting the relation, in seconds, with bb = 1 and with bb = 100.
How long does it take to reach the new equilibrium position : how long does it take to reach the new equilibrium position.
Influencing the price level : The thrifts had their origins in the early 1800s except for the credit unions which began in the early 1900s. All of them were established to provide a place where small savers could place their savings
Describe the various methods of forecasting : Describe the various methods of forecasting to develop an aggregate forecast and describe which type of forecasting method the company should use and why.
Explain how can an organization use technology : Explain How can an organization use technology to facilitate their work in a global environment

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Create a solution algorithm using pseudocode

Algorithm that will receive two integer items from a terminal operator, and display to the screen their sum, difference, product and quotient.

  Decrypting the ciphertext to recover the plaintext

If you get ciphertext message YPHDCRPBEQTAA, decrypt to recover plaintext.

  Algorithm for string of numbers recognize all the substrings

Write down algorithm, using pseudocode, to perform the following task, Given a string of numbers, recognize all of the substrings that form numbers that are divisible by 3.

  Algorithm to read arbitrary number of data records

Write the algorithm to read arbitrary number of data records, each comprising name, age, and code.

  Modify algorithm to always select president of company

How would you modify your algorithm to always select the president of the company (regardless of his fun rating or the consequences on the overall amount of fun we can achieve)?

  Find shortest path tree by bellman-ford-dijkstra algorithm

Find the shortest path tree from every node to node 1for the graph of following figure using Bellman-Ford and Dijkstra algorithm.

  Write algorithm find intersection of two singly-linked list

Write an algorithm (pseudocode) to find the intersection of two singly-linked lists. Assume that the data in each list are in nondecreasing order.

  Computing entropy of plaintext message

Compute the entropy of the plaintext message?

  What are entity-relationship diagrams

What are entity-relationship diagrams, and how are they used? Discuss the ethical issues to consider when planning a database.

  Draw flowchart to print average for each student

Draw a flowchart to print the average for each student in a class. Input. Input consists of student records each containing a student's name(STUDENT-NAME), score for first test(TEST), score for second test(TEST2), and score for third test(TEST3)..

  Js code to prompt the user for integer and print result

Write JS code which prompt the user for an integer and prints the result.

  Determining hash value of modified file

Determine hash value of modified file look like, as compared with original hash value?

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