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

  Finding equation has no solutions mod m

Let the equation ax = b mod m, where x is unknown and a, b and m are given. Illustrate that this equation has either no solutions mod m, or d solutions mod m.

  Encryption feistel cipher and decryption algorithm

If this is psudocode for encryption feistel cipher determine decryption algorithm?Output: ciphertext = (left[16], right[16]) Explain pseudo-code of corresponding decryption algorithm for this cipher.

  Sort scheduling algorithms according to high throughput

Sort the scheduling algorithms (FCFS, SPF, RR, MLFB) according to each of High throughput (if we take averages of time intervals smaller than the sum of all processes' time)

  Explain solution to recurrence-appealing to recursion tree

Solve the following recurrence relations by the method of your choiceT(n) = 1 for n = 4 and T(n) =pnT(pn) + n for n > 4. Argue that the solution to the recurrence T(n) = T(n=3) + T(2n=3) + cn is (n lg n) by appealing to the recursion tree.

  Algorithm for a bank account

Write algorithm to settle following question: A bank account starts out with $10,000. Interest is compounded monthly at 6 percent per year (0.5 percent per month).

  Process of insertion into a heap-implemented priority queue

Explain the process of insertion into a heap-implemented priority queue, and informally explain its complexity and the process of removal from a heap-implemented priority queue, and informally explain its complexity.

  Determining entropy of encrypted message

If this message is encrypted with DES by using a random 56-bit key, determine encrypted message's entropy?

  Explaining adaptive playout delay algorithm

Consider adaptive playout delay algorithm. Demonstrate through simple example which adjusting playout delay at beginning of each talk spurt results in compressing

  Survey of fault tolerance policy for load balancing scheme o

This paper investigates about fault-tolerance in load balancing schemes in distributed environment. There are some more parameters influencing QOS but our main focus is on fault tolerance and load balancing.

  Determining ciphertext generated by encryption

Determine ciphertext (in binary form) generated by encryption of character X?

  Explaining playout delay algorithm

Let the adaptive playout delay algorithm. Show through simple example that adjusting playout delay at beginning of each talk.

  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)?

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