Number of block to fetch record-single level primary index

Assignment Help Software Engineering
Reference no: EM1360825

Assume one file has r =1000000 records. Each record takes R = 100 bytes, of which 10 bytes are for the key of the record. Suppose the key values range from 1 through 1,000,000, inclusive. Assume the block size B is 1000 bytes for all files, and that an address (block pointer, tree node pointer, or data record pointer) takes 10 bytes.

1. Sequential file:
a. What is the blocking factor bfr for the file?
b. How many data blocks b are needed to hold records?
c. How many data blocks accesses on the average are needed to fetch a record by using linear search?
d. How many data blocks accesses are needed to fetch a record by using binary search?
2. Single Level Index: (15 points)
e. What is the blocking factor bfri for the index?
f. How many index blocks bi are needed to build the single level primary index?
g. How many block accesses on the average are needed to fetch a record by using single level primary index and by doing linear search?
h. What is the least number of block accesses to fetch a record by using single level primary index?

Reference no: EM1360825

Questions Cloud

What type of car should he buy : Many of the miles are on dirt roads. From an asset ownership point of view, what type of car should he buy.
Determine the vertical component : Determine the vertical component. when would a microphone at the other end first detect a disturbance.
Introduction to the u.s. social security system : Contrast of the systems objective differences between the systems and evaluation of the current U.S. system against the other system (subjective analysis)
Show argument using the ad-as model : The economists also argued that the technical level of potential output had risen. Show their argument using the AD-AS model
Number of block to fetch record-single level primary index : Assume one file has r =1000000 records. Each record takes R = 100 bytes, of which 10 bytes are for the key of the record. What is the least number of block accesses to fetch a record by using single level primary index?
Find the expected return and the standard deviation : Share A has an expected return of 15% and standard deviation of 14 percent. Share B has an expected return of 23 percentand a standard deviation of 18 percent. Correlation between Share A & B is 0.3
Similarity of recall : Do you agree with the statement that "two people generally do not remember the same event in the same way"? Why or why not?
Compare marginal revenue product and marginal factor cost : A firm can determine how many resource units to acquire by comparing Marginal Revenue Product and Marginal Factor Cost, then continuing to acquire another unit so long as its MRP exceeds, or at least is no worse than, its MFC.
How far does the car go before it stops : How far does the car go before it stops. A car traveling at 50m/s runs out of gas while traveling up a 30 degree slope. how long will it travel before it rolls back down.

Reviews

Write a Review

Software Engineering Questions & Answers

  Recognize different phases of the sdlc

The systems development life cycle (SDLC) is a framework which consists of distinct sequential processes.  Recognize different phases of the SDLC?

  Software engineering fundamental

Software Engineering Fundamental Assignment:  Moving Pictures is an application that captures information about movies, as well as the rating and reviews of movie fans. Interview transcripts regarding it's functionality have been captured as follows..

  Changes require to make to premiere products database design

Indicate changes (using shorthand representation) which you would require to make to Premiere Products database design to support following requirements.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Explaining software engineering in detail

Select a topic related to some aspect of Software Engineering. Draft a 2500+ word (minimum) paper on that topic - single spaced 12 pt times or times new roman font.

  Benefits rfp in process of purchasing technology

Why do companies use RFPs and what benefits does use of RFP give to process of purchasing technology?

  Create uml collaboration diagrams using microsoft visio

Create UML collaboration diagrams using Microsoft Visio or another drawing tool capable of preparing properly formatted UML collaboration diagrams.

  Consider the following program segment

Consider test cases  t 1 = ( n  = 3) and  t 2 = ( n  = 5). Although these tour the same prime paths in  printPrimes() , they do not necessarily find the same faults. Design a simple fault that  t 2 would be more likely to discover than  ..

  How process modeling might be beneficial

Provide an example of how process modeling might be beneficial, whether specifically for IT system development project or not.

  Steps to follow in evaluation of software packages

Top Sail's owner read an article about software packages, and she asked you, as an IT consultant, for your advice. When you evaluate software packages, what steps will you follow?

  Draw flow chart to enter credit card balance

Draw a flow chart or write the pseudocode for an application that allows a user to enter a credit card balance. Interest rate is 1 percent per month.

  Write an report on a significant software security

Write an report on a significant software security

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