DS Bca (Sci)
DS Bca (Sci)
Samaj’s
Sahakar Maharshi Bhausaheb Santuji Thorat College of
Art’s, Science & Commerce Sangamner -422605, Dist-A.nagar
DEPARTMENT OF BCA[SCI]
Question Bank
Name of Subject – Data Structure Using C
Q Aswer the following question
23. (c) What is difference between Binary Tree and Binary Search Tree ?
29. (i) What is the use of (&) address operator and Dereferencing (*) operator ?
30. (j) What is Pointer ? What are the operations we can perform on the pointer ?
6) Write a ‘C’ function to insert node at middle into singly linked list.
8) Construct the adjacency matrix and adjacency list for the following graph.
22) Write C function to delete last node from singly linked list.
25) Define Graph. Calculate in degree and out-degree for the following graph.
33) What is binary search tree? Show stepwise creation of binary search tree
for the data
10, 20, 15, 5, 1, 7, 13
34) What is topological sort? Explain how to find topological ordering for
graph using suitable example.
37) Define binary tree. Write C structure for binary tree. Find in-order, preorder,
post-order for following tree.
39) Show pass wise sorting of data using bubble sort and discuss its time
complexity.
25, 37, 12, 48, 57, 33
40) Write C function to insert and delete node in doubly linked list.
45) Write a function to delete last node from Singly Linked List.
52) Write a function to remove First Node singly linked list and
59) Explain use of setfill( ) and setiosflags( ) manipulators with the help of suitable
example.
61) Write a program to display the contents of a text file in the reverse order.
65) Explain different types of recursive tree traversing techniques with an example.
67) What is doubly circular linked list ? Explain its node structure.
73) Write a function to remove given node from singly linked list and add it at the
given position in singly linked list.
74) Write a function to create and display circular singly linkedlist.
75) Write a function to add node at the beginning of circular singly linked list
4, 5, 4, 2, ^, +, *, 2, 2, ^, 9, 3, 1, *, -
77) Write a function to remove last node from doubly linked list.
79) Explain Kruskal’s algorithm for minimum spanning tree withan example.
July, Jan, Feb, Dec, Mar, Oct, Nov, Apr, Jun, Aug
83) Write a function to remove first node from singly linked list and display
remaining list.
97) Write a function to create and display circular singly linked list.
108) Write a function to delete first node from singly linked list.