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

Crystal

Uploaded by

Harshit Munjal
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)
7 views2 pages

Crystal

Uploaded by

Harshit Munjal
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

JB Institute of Technology

Campus : 23 Milestone , NH-07 , Shankarpur , Chakrata Road


Dehradun (UK) - INDIA

B.TECH AI-ML 3 Sem

Question paper set: Set-01 CST 003


Question paper name : Data Structures and Algorithm Total Question : 9
Time : 2 Hours To Be Attempted : 6
Maximmum Marks : 30

First internal examination odd Semester 2024-25

Section - A Total Question 3 To be attempted : 2


Attempt any two

[CO01] [RBT 1]

1 What are advantages and disadvantages of stacks? M.M. :5

[CO01] [RBT 1]

3 List the various operations that can be performed on data structure. M.M. :5

[CO01] [RBT 1]

4 Define data structure. What do you mean by non-linear data structure, Give example? M.M. :5

Section - B Total Question 3 To be attempted : 2


Attempt any two

[CO03] [RBT 1]

4 Create infix to postfix expressions ((A + B) – C * (D / E)) + F M.M. :5

[CO03] [RBT 3]

5 Discuss the procedure to convert infix expression to postfix expression with the following M.M. :5
expression: ((A –(B+C) * D) / (E+F)).

[CO03] [RBT 2]

6 Convert given Infix expression: (a + b * c ^ d) * (e + f / g) to Postfix expression using Stack and M.M. :5
show the details of Stack at each step of conversion. (Note: ^ indicates exponent operator).

Section - C Total Question 3 To be attempted : 2


Attempt any two

[CO02] [RBT 5]

7 Difference between Stack and queue and explain how do you M.M. :5
test for an empty stack?

[CO02] [RBT 1]

8 Write down the function to insert an element into a queue, in which the queue is implemented as an M.M. :5
array.
[CO02] [RBT 1]

9 List any four applications of stack. M.M. :5

You might also like