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

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, Talos02
Burgers vector is generally parallel to the dislocation line. a)-true b)-false
Answers: 2
image
Engineering, 04.07.2019 18:10, Candi9697
A-mn has a cubic structure with a0 0.8931 nm and a density of 7.47 g/cm3. b-mn has a different cubic structure, with a0 0.6326 nm and a density of 7.26 g/cm3. the atomic weight of manganese is 54.938 g/mol and the atomic radius is 0.112 nm. determine the percent volume change that would occur if a-mn transforms to b-mn.
Answers: 2
image
Engineering, 04.07.2019 18:10, krystabrewer3
What are the two (02) benefits, which may result from a successful implementation of preventive maintenance (pm) program in an organization? (clo3)a)- lean manufacturing b)-overlapping responsibilities c)-the planner is not qualified d)-accurate contractor information e)-reduction in equipment redundancies f)-accurate stores information
Answers: 3
image
Engineering, 04.07.2019 18:10, QueenLife4869
Awall of 0.5m thickness is to be constructed from a material which has average thermal conductivity of 1.4 w/mk. the wall is to be insulated with a material having an average thermal conductivity of 0.35 w/mk so that heat loss per square meter shall not exceed 1450 w. assume inner wall surface temperature of 1200°c and outer surface temperature of the insulation to be 15°c. calculate the thickness of insulation required.
Answers: 3
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 in other subjects:

Konu
Social Studies, 19.07.2021 14:00