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

  Computing total number of keys needed in symmetric cipher

Determine the total number of keys that are needed for organization if symmetric cipher is used.

  Write recursive version of array-based linear search

Write an algorithm but not code. Write a recursive version of the array-based linear search algorithm. Write a recursive version of the linked-list-based linear search algorithm."""

  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.

  Sort array of elements using the quick sort algorithm

"sort an array of 10,000 elements using quick sort algorithm as follows: sort the array using pivot as middle element of the array

  Different applications of data structure

What are the different applications of Data Structure

  Creating financial tracking program

Acme Inc. is making next generation financial tracking program, and Alice has been provided the task of writing encryption component.

  Algorithm to concatenate string in single binary search tree

Create algorithm which concatenates T1 and T2 into single binary search tree. Worst case running time must be O(h).

  Processor sharing to worse performance than fcfs

Create a second experiment answering the question "Is it possible for processor sharing to have worse performance than FCFS? "

  Data structures and algorithm design

Data Structures and Algorithm Design

  Currency conversion development

Currency Conversion Development

  Create an algorithm to produce list of customers

Create an algorithm to produce list of customers from Glad Rags Clothing Company's customer master file. Each record on customer master file contains the customer's number

  Design algorithm to read a file of employee records

Design an algorithm and souce code C++ that will read a file of employee records and produce a weekly report of gross earnings for those employees.

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