subject
Engineering, 08.06.2021 07:30 gstinson98

Q.1. (10) We have to implement a hash table by initialize a character array of length 15 to store the keys in
it. Show the contents of array when the keys are “characters of your full name” inserted into an
empty hash table with double hashing to resolve collision in it. Take initial 10 letters of your name.
If you have letters less than 10 add X at the end. Use h (k) = k mod 26 and h’ (k) = k mod 10 as
the hash function for the kth letter of the alphabet. (Note: A = 1st letter of alphabet, B= 2nd letter
of alphabet ……. Z = 26th letter of the alphabet).
For e. g. name is “DUR E SHAWAR AGHA”
Keys = D U R E S H A W A R (initial 10 letters)
Keys = 4 21 18 5 19 8 1 23 1 18
Screenshots also required of output

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 16:10
An electrical motor raises a 50kg load at a construct velencity .calculate the power of the motor, if it takes 40sec to raise the load through a height of 24m(take g =9.8n/g)
Answers: 2
question
Engineering, 04.07.2019 18:10
The higher the astm grain size number, the finer the gran is. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:10
Items are similar to the free issue items, but their access is limited. (clo5) a)-bin stock items free issue b)-bin stock controlled issue c)-critical or insurance spares d)-rebuildable spares e)-consumables
Answers: 1
question
Engineering, 04.07.2019 18:10
Ifa component is made of two or more materials with different modulus of elasticity (e), it is called a composite member and we calculate the factor·n". mention the formula for calculating n". also, ifn> 1, explain what will happen to the 1. transformed.gi) ifn 1, what will happen to the material when transformed material when
Answers: 1
You know the right answer?
Q.1. (10) We have to implement a hash table by initialize a character array of length 15 to store t...
Questions