DSA_Assignment-1 Questions
DSA_Assignment-1 Questions
UNIT-1
1 Define an Algorithm? Explain the specification of an algorithm. CO1 L2
2 Explain in detail the performance of the algorithm with an example. CO1 L2
3 Explain different types of Asymptotic notations. CO1 L2
4 Outline an algorithm to find the maximum element in a given array and
CO1 L2
find its complexity.
5 Write a program to find the factorial of n using recursion. CO1 L1
6 Write a pseudo code for summing of N natural numbers. CO1 L1
7 Briefly explain the followings:
CO1 L2
i) Data Abstraction ii) Refinement of coding
8 Determine Big-O notation for the following problems.
CO1 L3
i) Linear Search ii) Binary Search iii) Bubble sort
9 Determine Omega notation for the following problems.
CO1 L3
i) Linear Search ii) Binary Search iii) Bubble sort
10 Write a program to find the Fibonacci series of n number using recursion. CO1 L1
UNIT-2
1 Infer the postfix form for the expression A+B*C-D CO2 L2
2 Illustrate the application of stack with an example. CO2 L3
3 Demonstrate Push and Pop operation of Stack using array. CO2 L3
4 Illustrate the conversion of the following infix expression into postfix
CO2 L3
form: (a*b) +(c*d)/e-f
5 Outline the algorithm for converting infix expression to postfix
CO2 L2
expression? Explain with an example.
6 Illustrate evaluation of the following expression using:
CO2 L3
12 +3 *14 – (5*16) +7
7 Define array. Classify the different types of data structure. CO2 L1
8 Evaluate the expression (a+b)*c to postfix expression. CO2 L3
9 Write the code for the stack function isfull() and isempty() using array. CO2 L1
10 Explain the types of linked list with its representation CO2 L2
11 Explain the operation of queue with example CO2 L2
Faculty In-charge
[Dr Santhosh Kumar S]