What is Hashing and how is it done? Pictorial form?
Answers were Sorted based on User's Feedback
Answer / vivin
A hashing function is a key-to-address transformation, which acts upon a given key to compute the relative position of the key in an array.
A simple hash function
HASH(KEY value)=KEYvalue MOD TABLESIZE
(ex) HASH(92)=92 MOD 10
=2
Here 10 is table size associated with records
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / sanjeevkumar.v
hashing table is used on C-language .first to give the
values and these are divide into 3. the values are
individually divided in the 3. the REMAINDER will be
considered at the TABLE . the columns are in
TABLE--0
TABLE--1
TABLE--2
these are in having hashing table........
pictorial diagram is used on the programming languages
and these are used in the .architecture of the function to
be view
| Is This Answer Correct ? | 1 Yes | 4 No |
What is the difference between const int *ptr and int const *ptr???
What is inheritance in simple words?
You attempt to query the data base with this command: SELECT name, salary FROM employee WHERE salary=(SELECT salary FROM employee WHERE last name='Wagner' OR dept no=233) Choose most appropriate option from the following: 1)Sub-queries are not allowed in the where clause. 2)a multiple row sub-query used with a single row comparison operator. 3)a single row query is used with a multiple row comparison operator.
what is runtime polymorphism? For the 5 marks.
what is graphics
Can enum be null?
What does the keyword "static" mean?
There are 2 classes defined as below public class A { class B b; } public class B { class A a; } compiler gives error. How to fix it?
Name an advantage of linked list over array?
How Do you Code Composition and Aggregation in C++ ?
How to call a non virtual function in the derived class by using base class pointer
Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.