Learn and practice Aptitude questions and answers with explanation for interview, competitive exam (Pariksha Corner )

Algorithms And Data Structures



Wednesday, January 22, 2020

A hash table contains 10 buckets and uses linear probing to

A hash table contains 10 buckets and uses linear probing to avoid collisions. The key values are integers and hash function used is key mod 10. If the values come as 43. 165. 62, 123 and 142. in what location is 142 inserted ?
A2
B3
C4
D6
View Answer

A linker needs 4 modules of lengths 200. 800. 600 and 500

A linker needs 4 modules of lengths 200. 800. 600 and 500 words. If they are loaded in that order, what are the relocation constants ?
A0. 200. 500. 800
B0. 200. 1000. 1600
C200. 500, 600. 800
D200. 700. 1300, 2100
View Answer

Categories