1) For a new record going into location 2, we have 6 slots 7,8,9,10,1,2 as its is by linear probing.
so probability will be 6/10=0.6
2) Consider hashing function that resolves conflict by quadratic probing as,
h(k,i) = [ h1[k] +c1*i+ c2*i^2] mod m
consider c1 as 3 and c2 as 1
We have first collision at location 4, If we find series of probe with above quadratic probing we get sequence which does not include 5.
4) There are n keys, each key can be mapped to m locations. total sample space=m^n
For first slot to be empty n keys will be mapped to remaining m-1 locations.
required probability = (m-1)^n / m^n
I did not get question 3. Anyone wants to give it a try?