in Education by
Consider a hash table of size seven, with starting index zero, and a hash function (3x + 4)mod7. Assuming the hash table is initially empty, which of the following is the contents of the table when the sequence 1, 3, 8, 10 is inserted into the table using closed hashing? Note that ‘_’ denotes an empty location in the table. (a) 8, _, _, _, _, _, 10 (b) 1, 8, 10, _, _, _, 3 (c) 1, _, _, _, _, _,3 (d) 1, 10, 8, _, _, _, 3 I got this question in an online interview. This question is from Hashing techniques in chapter Indexing and Hashing of Database Management Select the correct answer from above options Interview Questions and Answers, Database Interview Questions and Answers for Freshers and Experience

1 Answer

0 votes
by
The correct choice is (b) 1, 8, 10, _, _, _, 3 For explanation: A formula generates the hash, which helps to protect the security of the transmission from unauthorized users.

Related questions

0 votes
    A hash table can store a maximum of 10 records, currently there are records in location 1, 3,4,7, ... Answers, Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    If h is any hashing function and is used to hash n keys in to a table of size m, where n...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    Q.4) According to Lewis structure the number of lone pair \& bond pair of electrons in S O 4 2 − S ion. (1) 12,6 ... (3) 10,8 (4) 8,8 Select the correct answer from above options...
asked Nov 29, 2021 in Education by JackTerrance
0 votes
    Consider a series RLC circuit having resistance = 1Ω, capacitance = 1 F, considering that the capacitor gets charged ... EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked Oct 12, 2021 in Education by JackTerrance
0 votes
    In the circuit given below, the capacitor is initially having a charge of 10 C. 1 second after the switch is ... for GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked Oct 16, 2021 in Education by JackTerrance
0 votes
0 votes
    Consider the impedance function, Z(s)=((s+4)(s+8))/((s+2)(s+6)). Find the value of R1 after ... theory Questions for GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked Oct 12, 2021 in Education by JackTerrance
0 votes
    Consider the impedance function, Z(s)=((s+4)(s+8))/((s+2)(s+6)). Find the value of L2 after ... theory Questions for GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked Oct 12, 2021 in Education by JackTerrance
0 votes
    Consider the impedance function, Z(s)=((s+4)(s+8))/((s+2)(s+6)). Find the value of R2 after ... theory Questions for GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked Oct 12, 2021 in Education by JackTerrance
0 votes
    Consider the impedance function, Z(s)=((s+4)(s+8))/((s+2)(s+6)). Find the value of L3 after ... theory Questions for GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked Oct 12, 2021 in Education by JackTerrance
...