0% found this document useful (0 votes)
352 views2 pages

Data-Structure-using-C

Previous question paper

Uploaded by

bdevika423
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
352 views2 pages

Data-Structure-using-C

Previous question paper

Uploaded by

bdevika423
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

No.

of Printed Pages : 2 1 21BSC2C2CSL


21BSC2C2CSL
!21BSC2C2CSL!

B.Sc. II Semester Degree Examination, Sept./Oct. - 2024


COMPUTER SCIENCE
DSC3 : Data Structure using C
(NEP)

Time : 2 Hours Maximum Marks : 60

SECTION - A
Answer the following sub-questions, each sub-question carries one mark. 10x1=10
1. (a) Define data structure.
(b) What is Recursion ?
(c) Write any two dynamic memory allocation methods.
(d) Define Array. Write the classifications of array.
(e) What is Stack ?
(f) Expand LIFO and FIFO.
(g) Define queue.
(h) What is a root node ?
(i) Write any two types of sorting techniques.
(j) Define Binary Tree.

SECTION - B
Answer any four of the following questions, each question carries
five marks. 4x5=20
2. Write the differences between static memory allocation and dynamic memory
allocation.

3. Explain bubble sort technique with an example.

4. Write a note on linked lists and its types.

5. Write a short note on garbage collection.

6. Convert Infix to Postfix expression. A*(B−C)/E+F.

7. Write the algorithms for PUSH and POP operations in a stack.

!21BSC2C2CSL! P.T.O.
21BSC2C2CSL 2

SECTION - C

Answer any three of the following questions. Each question carries ten marks.
3x10=30
8. Explain the classification of data structures with a neat diagram.

9. Explain quick sort technique with an example.

10. Explain different stack operations with an example.

11. Write an algorithm to add a new node at the beginning of a singly linked list.

12. Write preorder, in order and post order traversal for the following binary tree.

-o0o-

!21BSC2C2CSL!

You might also like