Question: Question 2 ( 1 2 ) : You are given 6 runs that have 1 0 0 , 2 0 0 , 3 0 0
Question :
You are given runs that have equallength records to be merged into one, using a loser tree. It takes seconds to read or write one block fromto disk and second of CPU time to merge one block of records. Assume that all input, output, and CPU processing is sequential and there is no waiting time. The block size is records.
a Give an optimal way merging scheme to merge the runs into
b What is the total time taken by the optimal scheme?
Question :
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
