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, 03.07.2019 15:10
Heat is added to a piston-cylinder device filled with 2 kg of air to raise its temperature 400 c from an initial temperature of t1 27 cand pressure of pi 1 mpa. the process is isobaric process. find a)-the final pressure p2 b)-the heat transfer to the air.
Answers: 1
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
Which from the following instrument is commonly used to detect the high pitch butzing sound in bearings? [clo4] a)-digital ultrasonic meter b)-infrared camera c)-spectroscopic d)-vibrometer
Answers: 2
question
Engineering, 04.07.2019 18:10
An air compression refrigeration system is to have an air pressure of 100 psia in the brine tank and an allowable air temperature increase of 60°f for standard vapor compression cycle temperatures of 77 f entering the expansion cylinder and 14 f entering the compression cylinder, calculate the coefficient of performance a. 2.5 b 3.3 c. 4.0 d. 5.0
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
question
History, 23.03.2021 09:30
question
Computers and Technology, 23.03.2021 09:30
question
Mathematics, 23.03.2021 09:30
question
Health, 23.03.2021 09:30
Questions on the website: 13722363