Assignment-1
1. What do you mean by data structures? Explain its types.
2. Define the major operations of data structure.
3. What do you mean by Pointer? Explain with the help of an example.
4. Briefly explain Dynamic Memory Allocation with all types and its program.
5. What do you mean by Array? Explain with the help of an example.
6. What do you mean by Structure? Explain with the help of an example.
7. What do you mean by Abstract data type? Explain
8. Write a program to calculate the sum of all elements in an integer array.
9. Define a structure to represent a student with fields for name, roll number, and marks
in three subjects. Write a program to input and display the information for multiple
students.
Assignment-2
1. What do you mean by Algorithm? Explain.
2. What do you mean by Stack? Explain.
3. Write an algorithm for push ( ) and pop ( ) elements in stack?
4. What do you mean by Queue? Explain its types.
5. Write an algorithm for insert and delete elements in queue?
6. Convert a+(b*c(d/e^f)*g)*h) into postfix notation using Stack.
7. Convert (a+(b/c)*(d^e)-f) into prefix notation using stack.
8. Write a program in C to insert, delete and print the elements in stack?
9. Write a program in C to insert, delete and print the elements in queue?