data structures 10 marks question
data structures 10 marks question
1. Define data structure. Discuss different types of data structures and their
applications.
2. Distinguish between primitive and non-primitive data structures.
3. Explain classification of data structure and operations on data structure.
4. Explain Abstract Data Type?
5. Explain Time Complexity with their components and examples.
6. What is Performance Analysis? Explain components of Space Complexity.
7. a) What do you mean by Asymptotic Notation?
b) Explain Big Oh Notation. With example.
8. a) Explain Omega Notation. With example.
b) Explain Theta Notation. With example.
9. Explain Linear Data and Non Linear Data structure with examples.
10. What is searching? Explain Binary search algorithm with example
11. Explain Linear search algorithm with example and also find its time complexity.
12. Define Searching. Differentiate the time complexities of Linear and Binary search
with examples.
13. Trace the steps of insertion sort – 12,19,33,26,29,35,22. Find the total number
comparison made?
14. Define sorting? Sort the sequence 3, 1, 4,7,5,9,2,6,5 using Selection sort?
15. Trace Bubble sort using following number: 25, 57, 48, 37, and 72?
UNIT-2
1. Explain the insertion operation in linked list. How nodes are inserted after a
specified node.
2. Discuss deletion operation in circular linked lists.
3. Discuss the insertion operation for a doubly linked list.
4. How to perform deletion operation using linked list?
5. How polynomial expression can be represented using linked list for addition?
6. Discuss the deletion operation for doubly linked list.
7. What is linked list? Write and explain the algorithm for create, insertion and
traverse operations in doubly linked list with example.
8. Define a linked list? Explain different types of linked list, mention the advantages
of linked list?
UNIT-3
What is Stack? and Write about its Representation and implementation
using arrays and linked lists
1. Define stack? Explain operations of stack?
2. Write about stack representation and implementation using arrays and linked list?
3. Write an algorithm for converting infix expression into postfix expression. And
illustrate the each step for the following expression: A-B/(C*D^E).
4. Convert (A-B^C^D) * (E - F/D) into postfix notation using Stack.
5. Write a procedure to evaluate an expression using stacks.
6. Write the algorithm for converting infix expression to postfix (polish) expression?
7. Write the prefix and postfix form for: A+B*(C-D)/(E-F)
8. Apply suitable data structure to covert infix to postifix expression
(a * b) +c/d
(((a / b)-c) + (d * e)) - (a * c).
(A+B)*(C+D)*E^F