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

  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

  Implement algorithm for evaluation of arithmetic expression

Implement the following algorithm for the evaluation of arithmetic expressions. Each operator has a precedence. The + and - operators have the lowest precedence.

  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.

  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

  Find fraction of time during which queue grows

Suppose now there are three users. Find the probability that at a given time, all three users are transmitting simultaneously. Find the fraction of time during which the queue grows.

  Explaining use of encryption-virus and vpn

Write down the suitable example of best use of Encryption, Virus, VPN, Firewall securities, when and explain why?

  Sorting arrays of name in descending order

Then sort arrays so that records are in descending order by purchase amount for month. Output lists the names of the top five customers.

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

  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 do you meant by an rfp

Select a specific category of vertical applications to investigate. Use the Internet and any other sources of information you might have to study some of the different products that are available in that category.

  Algorithm for finding smallest element in unsorted array

Consider the following algorithm for finding the smallest element in an unsorted array: RANDOMMIN(A[1 .. n]). What is the exact expected number of executions of line ( )?

  Write down the algorithm to insert an item

Write down the sample code to create a Linked List and allocate storage space for a node Write down the algorithm to insert an item At the beginning of a linked list

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