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

Bca A0209

This document contains a practice exam for a Data Structures course. It has two sections - Section A contains 15 short answer questions, and Section B contains 9 longer answer questions. Section A questions cover topics like Big-O notation, recursion, queues, linked lists, trees, sorting algorithms, and searches. Section B questions require explanations or programs/algorithms for topics like data structures, algorithm complexity, stacks/queues, infix to postfix conversion, linked lists, heap sort, dynamic memory management, binary search trees, quicksort, and selection sort. The document provides guidelines on time limits, number of questions to attempt, and maximum marks for the exam.

Uploaded by

Kushal Haritash
Copyright
© Attribution Non-Commercial (BY-NC)
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)
36 views2 pages

Bca A0209

This document contains a practice exam for a Data Structures course. It has two sections - Section A contains 15 short answer questions, and Section B contains 9 longer answer questions. Section A questions cover topics like Big-O notation, recursion, queues, linked lists, trees, sorting algorithms, and searches. Section B questions require explanations or programs/algorithms for topics like data structures, algorithm complexity, stacks/queues, infix to postfix conversion, linked lists, heap sort, dynamic memory management, binary search trees, quicksort, and selection sort. The document provides guidelines on time limits, number of questions to attempt, and maximum marks for the exam.

Uploaded by

Kushal Haritash
Copyright
© Attribution Non-Commercial (BY-NC)
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

Roll No. ......................

Total No. of Questions : 13] [Total No. of Pages : 02


Paper ID [A0209]
(Please fill this Paper ID in OMR Sheet)

B.C.A. (204) (OLD/S05) (Sem. - 2nd)


DATA STRUCTURES
Time : 03 Hours Maximum Marks : 75

Instruction to Candidates:
1) Section - A is Compulsory.
2) Attempt any Nine questions from Section - B.

Section - A
(15 × 2 = 30)
Q1)
a) What is Big-O notation?
b) Explain the concept of space-time tradeoff.
c) What is recursion?
d) Write the prefix and postfix equivalent of the following infix expression:
A *B+C.
e) What is the difference between the ordinary and priority queues?
f) What is the condition for the overflow in the linked lists?
g) What do you mean by the term garbage collection?
h) What is the difference between binary search trees and heaps?
i) List any two applications of trees.
j) What is the condition of overflow in the linked list?
k) What do you mean by the term “merging of two arrays”?
l) Consider the following elements. 1,5,3,0,9,17,10,8. Calculate the position
and the element where this list split into two in quick-sort algorithm.
m) Give the average complexity of linear and binary search algorithms.
n) Consider the following list: 1, 5, 8, 12, 15. How many comparisons will
you require using binary search algorithm to find that 12 is at position 4
in the list.
o) What is the average complexity of heap-sort algorithm?

J-8714[S-9700718] P.T.O.
Section - B
(9 × 5 = 45)
Q2) What is the difference between data and information? Explain any 4 data
structures.

Q3) Write short note on: A. Algorithm complexity B. Space-time tradeoff

Q4) What is the difference between stacks and queues? Give algorithm for push
and pop operations of stack.

Q5) Give algorithm to convert infix notation to postfix notation.

Q6) Explain the algorithm to insert a new node at the beginning of a linked list.

Q7) Write a program or give an algorithm to implement heap-sort algorithm.

Q8) Write short notes on:A. dynamic storage management B. Garbage collection.

Q9) Write a program or give an algorithm to delete a node from the end of the
linked list.

Q10)Give algorithm for the pre-order traversal of binary search trees using stacks.

Q11)Give any two differences between linear and binary search algorithm. Explain
binary search algorithm in details.

Q12)Give quick-sort algorithm and write down its average complexity.

Q13)Write an algorithm/program to implement selection sort.

zzzz

J-8714[S-9700718] 2

You might also like