Calculate the cost of sorting relation in seconds

Assignment Help Data Structure & Algorithms
Reference no: EM1367210

Suppose you need to sort a relation of 40 GB with a 4KB blocks using a memory size of 40 MB. Suppose the cost of a seek is 5 milliseconds while the disk transfer rate is 40 MB per second/

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

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

c) Suppose a flash storage device is used instead of disk, and it has a seek time of 1 microsecond and a transfer rate of 40 MB per second

Recompute the cost of sorting the relation in seconds with
bb =1 and
bb =100

Reference no: EM1367210

Questions Cloud

Determining pricing problem : Assume a manager of a profitable department store you're confronted with the pricing problem. You've two types of customers
Determine the effect on currency : Venezuela had considerable capital outflows after election of Hugo Chavez. If Venezuela had fixed exchange rates, determine what effect would these flows have had on Venezuela's overall balance and value of the Bolivar
Estimate amount of former foreign-monopoly profit : Estimate amount of former foreign-monopoly profit that is transferred as tariff revenue to home nation when home nation imposes tariff.
What is the unit vector in the direction of blocks momentum : A 0.7 kg block of ice is sliding by you on a very slippery floor at 3.5m/s. As it goes by, you give it a kick perpendicular to its path. Your foot is in contact with ice block for 0.003 seconds.
Calculate the cost of sorting relation in seconds : Assume a flash storage device is used instead of disk, and it has seek time of 1 microsecond and transfer rate of 40 MB per second. Recompute the cost of sorting the relation in seconds.
Illustrate what level of q maximizes net profits : Illustrate what are marginal net profit when Q=1? Q=5. Illustrate what level of Q maximizes net profits, Illustrate what is value of marginal net profits.
Find the height from the top : A flower pot falls from the roof and passes in front of a window of height h as it falls to the ground to smash to pieces. If the flower pot takes a time T to pass from top to bottom in front of window. Find the (as-yet-unknown) height H from the ..
Calculate contribution margin of the product : Ann Page Corporation has fixed expenses of $30,000 per year. Variable expenses per unit are $17. Sales price per unit is $30.
Intra-community territoriality : Territoriality of communities within communities often creates division and conflict. What is an example that reflects such intra-community territoriality?

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Give time algorithm that outputs satisfying assignment

Find out  whether there is an assignment of true/false values to the literals such that at least a*m clauses will be true. Note that 3-SAT(1) is exactly the 3-SAT problem. Give an O(m*n)-time algorithm that outputs a satisfying assignment for 3-S..

  What is the most difficult part of creating the algorithm

Pseudocode algorithm you would write for a simple task. What do you think is the most difficult part of creating the algorithm? What can you do to make this process easier?

  Explain consensus algorithm

"Consensus algorithm": A group of ten people need to decide which one flavor of ice cream they will all order, out of three options.

  Method singleparent returns number of nodes in binary tree

Write a method singleParent, which returns number of nodes in a binary tree that have only one child.

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

  Explaining diffie-hellman public-key algorithm

Use the Diffie-Hellman public-key algorithm to exchange secret keys.

  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.

  Design algorithm determining annual profit for company

Your goal is to solve the following simple programming exercise. You have been asked by your accounting department to design an algorithm determining the annual profit for your company.

  Algorithm to produce schedule for least completion time

What is the best order for sending people out, if one wants whole competition to be over as early as possible? More precisely, provide efficient algorithm which produces schedule whose completion time is as small as possible.

  Design time randomized monte carlo algorithm

You have to design an O(n) time randomized Monte Carlo algorithm which computes an (1 + o)- approximate ham-sandwich cut with probability 1 - n-c for any given constant c > 0.

  Algorithm to produce a list of customers

Draw an algorithm to produce a list of customers from the Glad Rags Clothing Company's customer master file.

  Efficient algorithm to achieve goal using few base stations

Certain points along the road, so that every house is within four miles of one of the base stations. Give an efficient algorithm that achieves this goal using as few base stations as possible.

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