in Algorithms recategorized by
3,184 views
7 votes
7 votes

In linear hashing, if blocking factor $bfr$, loading factor $i$ and file buckets $N$ are known, the number of records will be

  1. $cr= i+bfr+N$
  2. $r=i-bfr-N$
  3. $r=i+bfr-N$
  4. $r=i ^{\ast} bfr ^{\ast} N$
in Algorithms recategorized by
by
3.2k views

2 Answers

7 votes
7 votes

Informal meanings:-

Blocking factor = Number of records in a block (DBMS terminology)

Load factor = Number of keys associated with each cell/slot/bucket (Hashing terminology)

 

Here, blocking factor would mean each block contains how many buckets.

So, $bfr*N$ gives total number of buckets.

And $\text{total number of buckets} * \text{load factor}$ would give the number of records.

 

So, Option D

2 votes
2 votes

Answer is (d)

In linear hashing, if blocking factor bfr, loading factor l and file buckets N are known, the number of records will be

 

r=i∗bfr∗N

2 Comments

Loading factor = i = $\frac{r}{N}$

So, i = r*N.

can't understand what's the contribution of Blocking factor (bfr).
1
1

@arjun0001 I am also not able to understand how this is the answer. Can you please provide any formal proof to this?

1
1
Answer:

Related questions