Ca107 (CP) - Final
Ca107 (CP) - Final
Roll No.
B.C.A.
SECOND SEMESTER EXAMINATION, 2021-22
DATA STRUCTURE USING 'C'
SECTION-A
1. Attempt ALL parts of the following questions: 1 x 10 =
10
(a) What is Data Structure? Write various types of data structure.
[BT-1,
CO-1, PO-2]
(b) Discuss non-linear data structure with example. [BT-2, CO-1, PO-1]
(e) What is a stack? Explain it with its applications. [BT-2, CO-3, PO-3]
CO-3, PO-2]
CO-4, PO-2]
CO-5, PO-2]
(j) Differentiate between searching and sorting. [BT-2,
CO-5, PO-4]
1 P.T.O.
CA107(CP) CA107(CP)
SECTION-B (b) Evaluate the following Postfix expression using stack: [BT-5,
CO-3, PO-7]
2. Attempt any Two of the following questions: 5 x 2 =
2, 3, 10, +, *, 8, 2, /, -
10
(a) What is algorithm? Discuss the complexity of algorithm with
6. Attempt any One of the following questions: 4x1=
example. [BT-4, CO-1, PO-3]
4
(b) What do you mean by Traversing? Write the algorithm of
(a) What is spanning tree? Give any one algorithm for finding the
traversing of a singly linked list.
[BT-3, CO-2, PO-4] minimum spanning tree. [BT-4, CO-4, PO-6]
(c) What do you mean by stack? What are the operations (b) Traverse the following binary tree in Pre, Post, Inorder and
performs over stack? Write the algorithm of push and pop
operation. [BT-4, CO-3, PO-5] level order. [BT-6, CO-4, PO-5]
SECTION-C
3. Attempt any One of the following questions: 4x1=
4 7. Attempt any One of the following questions: 4x1=
(a) What is Asymptotic Notation? Explain all the types of 4
asymptotic notation. (a) Explain selection sort with an example given below. Suppose
[BT-4, CO-1, PO-5]
an Array A contains 8 elements as follows: 77, 33, 44, 11, 88,
(b) What do you understand by Character String? Briefly explain
22, 66, 55. [BT-6, CO-5, PO-5]
the string handling functions. [BT-6,
CO-1, PO-3]
(b) What is quick sort? Write the algorithm of quick sort. [BT-5,
CO-5, PO-3]
CO-2, PO-2]
CO-3, PO-6]
2 3