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

  Draw context diagram level zero and level one

Draw Context diagram, level0 and level1 (if need) for the following: The user submit her/his name to the system, the system will tell the user if he is a boy or a girl or don't know by looking up his name in database of names saved in the system.

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Concepts of software engineering

Explain the software measurement process and state how to implement the software measurement?  List the challenges and difficulties of applying the software metrics?

  Draw aoa network diagram representing project

Draw a AOA network diagram representing the project. Put the node numbers in circles and draw arrows from node to node, labeling each arrow with the activity letter.

  Differentiate between latency and jitter

Describe in details about the Systems Development Life Cycle Costs Differentiate between latency and Jitter The Protocol for Message Standards is divided into three important parts. Briefly describe each one

  Creating context diagram for new system

Create a context diagram for new system. Create a diagram 0 DFD for new system. Write brief memo that describes the significance of leveling a set of DFDs.

  Investigate and analyse the effect of applying cmmi practice

ITECH3501- 6501 Principles of Software Engineering:  Investigate and analyse the effect of applying CMMI practices/processes in an Agile environment in terms of business performance improvement and the limitations/restrictions of using both, and writ..

  Draw the physical data flow diagrams

Draw the physical data flow diagrams. Use Microsoft Visio to prepare examples of flow charts and data flow diagrams.

  Three possible social effects of feasibility study

In context of a feasibility study explain one cost, one benefit and three possible social effects which would be considered.

  Star life cycle model

interface design proces, Star Life Cycle as a model for interface Design, Nielsen's usability principles, Shneiderman's eight golden rules

  Systems analysis and design methodologies

difference between "Requirements Determination" and "Requirements Structuring", deliverables on or after coding, testing and installation, distinction flanked by system documentation and user documentation, pertinent classes, attributes, operations

  Design program using four program development life cycle

Design a program using the four Program Development Life Cycle step (Analyze, Flowchart, Pseudocode, and Test).

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