Ds-2 Important Questions
Ds-2 Important Questions
4. Explain quick sort. How is it used and useful?Explain its complexity with suitable examples.
5. Write algorithm to perform radix sort.Discuss using an example.
6. Explain Merge-sort algorithm with example.
7. Explain Bubble sort, insertion sort and selection sort with example and complexity
8. Explain linear search and binary search with algorithm and example.what are its advantages
and limitation
9. Write algorithm to perform radix sort
QUESTION(UNIT1)
1. What is binary search tree? Explain in detail the insertion and deletion in binary search tree
with algorithm?
2. What are Threads? What are its advantages and disadvantages?How threads are implementd
in trees? Explain through examples.
3. Explain the role of threads in binary search tree with suitable example
4. What do you mean by AVL tree? How to insert a node into AVL tree? Explain.
QUESTION(UNIT2)
QUESTION(UNIT-IV)
6. Draw flowchart and also write the steps to access a record of a file.
7. What are steps for updating a sequential file?
8. Explain sequential ,random and direct access file organisation.
9. What do you mean by indexed sequential file? Discuss the different techniques for
handling overflow in indexed sequential file?
10. Describe and differentiate multi-list file organization and Inverted list file organization.