Data blocks accesses to fetch record using linear search

Assignment Help Basic Computer Science
Reference no: EM1387982

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

1. Sequential file
a. What is the blocking factor bfr for file ?
b. How many data blocks b are required to hold records ?
c. How many data blocks accesses on the average are required to fetch the record using linear search ?
d. How many data blocks accesses are required to fetch a record using binary search ?

Reference no: EM1387982

Questions Cloud

Ethical and legal issues in healthcare : As required by law, every health care facility must maintain a medical record for each patient that it treats (Pozgar, 2004). Although the exact specifications may vary slightly across each state,
Asset allocation of the portfolio : The following table describes the asset allocation of your portfolio with the corresponding return in percentage, X, and the proportion of that specific asset in the portfolio, P(X).
Chromosomal complement of the embryo : A species has a diploid number of 2n. Meiosis I fails during spermatogenesis, cytoplasm does not divide and only one daughter cell is manufactured. The resulting sperm fertilizes a normal ovum.
Five areas of negligence for allied health professionals : Mention five areas of negligence for allied health professionals. Discuss the standard of care in each area, and how that standard can be applied to the health care facility.
Data blocks accesses to fetch record using linear search : How many data blocks accesses on the average are required to fetch the record using linear search? How many data blocks accesses are required to fetch a record using binary search?
Five steps of hypothesis testing : Use the five steps of hypothesis testing to determine whether the observed differences in the number of activities in the following table performed by the three groups are statistically significant at the .05 level of significance. Clearly indicat..
Non-prescription samples and ethics : A physician is given non-prescription vitamin samples that are expensive and are to be given to patients of low income. Employees took samples home for their personal use.
Fiber size of cross sectional area and strength : Determine which intracellular change is the most contributor to increases in fiber size of cross-sectional area and strength?
Develop tactical plans to implement established strategies : How is it possible for individuals and organizations to fail to focus on customers? Some functions can have both internal and external customers

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Program for an automatic teller machine

Create a program for an automatic teller machine that dispenses money. The user should insert amount desired and the machine dispenses this amount using least number of bills.

  Write ethical issues involved in eliminating jobs in k-mart

Sears is losing market share, has been acquired by K-Mart, and is eliminating jobs; Wal-mart is gaining market share and hiring. Write ethical issues involved, and which firm has a more ethical position?

  Diagnos application which has changed from original state

How does third-party plug-ins change process of diagnosing and troubleshooting errors within application? What steps would you take in diagnosing the application which has been changed from its original state?

  Explain specific challenges of facing designer

Explain specific challenges of facing the designer, specifically with regard to limitations of hardware, software and interface design two paragraph each.

  Function in programs to print upside down triangles

Apply function in programs to prints triangles, upside down triangles, and diamond.

  Finding vertices of polygon stored in array-clockwise order

Assume that n ≥ 3 and the n vertices of P are stored in an array in clockwise order around P. Describe how to determine efficiently whether exactly one of the points q and r falls within P. Analyze the time for your algorithm.

  Explain the concept of supply chain management

Explain the concept of supply chain management. Although R/Way offers services rather than products, could that concept apply to the design of R/Way's new system? If so, how?

  How success or failure of restoration effort is estimated

Expalin why and how is success or failure of restoration effort estimated? Write down some significant considerations in creating monitoring plan to estimate restoration effort?

  Explain johnson-johnson-s approach for it infrastructure

Discuss Johnson & Johnson's Approach ro providing an IT infrastructure to support its one-face-to-the-customer strategy?

  Banner advertising on web sites trigger realization

Banner advertising on Web sites helps trigger realization that there is gap between reality and desired state which occurs in?

  Software engineering procedure

Can correctness proving solve the problem that the product as delivered to the customer may not be what the consumer really requires?

  Explain what is done to prevent wayward system administrator

Explain what can be done to prevent wayward system administrators from simply looking up user passwords in host machine password file?

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