DS-Question Bank
DS-Question Bank
UNIT-I
SHORT ANSWER QUESTIONS
1. What is hashing?
2. Define Hash Table and Hash Function.
3. Write a function double hash to resolve collisions using double hashing
4. What is Rehashing
5. What is Extendible hashing?
6. What is separate chaining?
7. What is linear probing?
8. What is quadratic probing?
9. Define dictionaries.
10. What is skip list? List the operations of Skip List.
11. What is Hash Function? List out methods to calculate the hash function.
LONG ANSWER QUESTIONS
{ 36,48,66,27,23,87,10,12}
5. Describe the operations of skip list with an example.
6. Explain about the various hash collision resolution techniques with an example.
7. Explain about:
a)Rehashing
b)Extendible hashing.
8. Define Dictionaries. Explain with an Example.
9. Define Skip List. Explain the operations of Skip List
10. Define hashing. Explain Double hashing with an Example.
UNIT-III
SHORT ANSWER QUESTIONS
1. Define Searching.
2. Define tree traversal
3. How many binary trees are possible with four nodes?
4. Define AVL tree? Give example.
5. What is B-tree of order m? Draw a B-tree of order 3.
6. What are binary trees? Mention different types of binary trees with example
7. What is Red-Black trees
8. What is splay trees
9. What is b-trees.
10. What are the properties of Red-Black tree:
LONG ANSWER QUESTIONS
Preorder traversal: A B C D E F G H I
Inorder traversal: B C A E D G H F I