Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
40 views
2 pages
Data Structure
PYQ
Uploaded by
bansallkoup32
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save DATA STRUCTURE For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
40 views
2 pages
Data Structure
PYQ
Uploaded by
bansallkoup32
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save DATA STRUCTURE For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 2
Search
Fullscreen
i (0) AT AE Note: Printed Page: 1 of2 nie ‘Subject Code: BCS301 a neue: [TT] LEETtt BTECH (SEM 111) THEORY EXAMINATION 2023-24 DATA STRUCTURE HRS M.MARKS: 70 ing data; then choose suitably. 1, Attempt all Sections. If require any mis SECTION A 1. Attempt aif questions in brief. 2x74 [no aeration Mais [CO] — [a __| What are the various asymptotic notations? 2 1 ie Why are parentheses needed to specify the order of operations in infix|2 [2 expressions but not in postfix operations? : ¢ How the choice of pivot element effects the running time of quick son|2 {3 algorithm? a ,__[ What are the 2 different forms of hashing? PE) e | Whatis the significance of binary tree in Huffman algorithm? 2 |4 £.___| What is the number of edges in a regular graph of degree d and n vertices. 2] 5 le Write an algorithm to obtain the connected components of a graph. 2 5 SECTION B 2. Attempt any three of the following: oe 7x3=21 Nb fe ee L lie a Pseudo code that will concatenate two linked lists. Function should have owo parameters, pointers tothe infin ofthe lists and the function oer should link second list at the end ist. iS | Write an algorithm to converta'valid arithmetic infocexpwession inp @t7 | 2] | equivalent postfix expressigh|-Trace your algorithm for Rtowing eae expression. ~ ae : \ \ A+B*C-D/F > + + What are the disadvantages of Tinear probing in hashing? Discuss how |7 E \ quadratic probing canbe used to solve some ofthese probléas. \2* Write C function for non-recursive post order traversal, - 7 a_| 5 fo {¢ "| Consider the following graph and using Dijkstra Alga find the shortest 7 } > | path. A | | | | | 3. Attempt axt=7 [fe Foch clement of in array Data (20}[50) requires 4 bytes of storage. Base] 7 = [1 | | address of Data is 2000. Determine the location of Data [10]|10] when the array in stored us: (i) Row major | Gi) Column major _ A[Page oP-24002_146 | 16 03-2076 13:23:99 | 162.98.189.112Printed Page: 20 (OA AR (Coder BCSSOL ject Code: BCS301 ER ID-311405, fll Not Ll BTEC (SEM Ill) THEORY EXAMINATION 2023-24 DATA STRUCTURE, TIME: 3HRS How will you create link list representation of a polynomial. Explain it the suitable example. Attempt any one part of the following: ‘Write an algorithm to evaluate an arithmelic ex how the expression 3*(5-3) will be evaluate, A double ended Queue (deque) is a linear list in which additions may be made at either end, Obtain a data representation mapping a deque into one dimensional array. Write C function to udd and delete elements from either L | end of deque ‘Attempt any one part of the following: pression using st 7x1=7 Write aC program for sorting 100 integer nunibars wring selection sort fy _E\ rocedure. Discuss the worst-case time complexity of the algorithms. b. Write a program in C language to implement binary search algorithm. Also \ 3 \ discuss the average’ behavior of the algorithm. a ‘Attempt any one part of the following: Z TT a [EEE gn denois te external ad internal elpdehgih ofa binary Wee Raving Pe 1n internal nodes then show that E=I+2n, b Suppose character a, b, ¢, d.¢.f has probpbilities 0.07, 0.09, 0.12, 0.22, 0.23, | By a 0.27 respectively. Find an optional Huffrfian code and draw the Huffman tree t o What is the average code length? > ~_| Oe hs Attempt any one part of the fotipwiny VIxI=7 a Find the minimum spangingétree using Prim’s algorithm for the grag town | 7 5 Vea anny R 10 \ o—__©, © ass I~? @ 9 ex, Sf @ else \L% | ©o—7z_ e te ie a program in C language to compute the indegree and outdegree of 7 | every vertex of a directed graphy, ‘Shen the graph is represented by an adjacency matrix. 2 Page
You might also like
Data Structures (5 Years PYQ)
PDF
No ratings yet
Data Structures (5 Years PYQ)
12 pages
Data Structure Previous Year Question Papers
PDF
No ratings yet
Data Structure Previous Year Question Papers
12 pages
DS 5 Years QP
PDF
No ratings yet
DS 5 Years QP
10 pages
Bcs301 Data Structure
PDF
No ratings yet
Bcs301 Data Structure
2 pages
Boe306 Basics Data Structure Algorithms
PDF
No ratings yet
Boe306 Basics Data Structure Algorithms
2 pages
Data Structure Model Papers (Two) 2425
PDF
No ratings yet
Data Structure Model Papers (Two) 2425
6 pages
Ds Pyq
PDF
No ratings yet
Ds Pyq
14 pages
Rcs305a Data Structures 2023-24
PDF
No ratings yet
Rcs305a Data Structures 2023-24
2 pages
Section-A: Iimt College of Engineering, Greater Noida
PDF
No ratings yet
Section-A: Iimt College of Engineering, Greater Noida
2 pages
DS Previous PPR
PDF
No ratings yet
DS Previous PPR
8 pages
Dsa Pyq
PDF
No ratings yet
Dsa Pyq
15 pages
Btech Cs 3 Sem Data Structures rcs305 2019
PDF
No ratings yet
Btech Cs 3 Sem Data Structures rcs305 2019
2 pages
DATA STRUCTURE KCS 301 Aktutor
PDF
No ratings yet
DATA STRUCTURE KCS 301 Aktutor
10 pages
Time: 3 Hours Total Marks: 70: Printed Pages: 02 Sub Code: RCS405 Paper Id: 110435 Roll No
PDF
No ratings yet
Time: 3 Hours Total Marks: 70: Printed Pages: 02 Sub Code: RCS405 Paper Id: 110435 Roll No
2 pages
Screenshot 2025-02-28 at 3.04.26 AM
PDF
No ratings yet
Screenshot 2025-02-28 at 3.04.26 AM
2 pages
DS 20-21
PDF
No ratings yet
DS 20-21
2 pages
DATA STRUCTURES - Lateral Entry
PDF
No ratings yet
DATA STRUCTURES - Lateral Entry
4 pages
Data Structures KCS 301 1 2021
PDF
No ratings yet
Data Structures KCS 301 1 2021
2 pages
Data Structure Pyqs
PDF
No ratings yet
Data Structure Pyqs
14 pages
Csen 2101
PDF
No ratings yet
Csen 2101
2 pages
Dsa Old Question Collection
PDF
No ratings yet
Dsa Old Question Collection
31 pages
Data Structure Model Papers (Two)
PDF
No ratings yet
Data Structure Model Papers (Two)
6 pages
Adobe Scan 16 Sep 2023
PDF
No ratings yet
Adobe Scan 16 Sep 2023
30 pages
301 Past Questions
PDF
No ratings yet
301 Past Questions
24 pages
DS 2022
PDF
No ratings yet
DS 2022
2 pages
Ds
PDF
No ratings yet
Ds
8 pages
Btech Oe 4 Sem Basic Data Structure Algorithms Koe 045 2023
PDF
No ratings yet
Btech Oe 4 Sem Basic Data Structure Algorithms Koe 045 2023
2 pages
DATASTRUCTUREALGORITHMS-2017 3rdsem
PDF
No ratings yet
DATASTRUCTUREALGORITHMS-2017 3rdsem
7 pages
DS 18 19 Aktu Cse
PDF
No ratings yet
DS 18 19 Aktu Cse
2 pages
CS 302 (3001 (O) ) PDF
PDF
No ratings yet
CS 302 (3001 (O) ) PDF
7 pages
DS University Question Papers
PDF
No ratings yet
DS University Question Papers
12 pages
DSA Question Paper (1374)
PDF
No ratings yet
DSA Question Paper (1374)
12 pages
A Guide To Competitive Programming
PDF
No ratings yet
A Guide To Competitive Programming
8 pages
Data Structure Previous Year Question Paper
PDF
No ratings yet
Data Structure Previous Year Question Paper
10 pages
Bcse202l Fat A1 2023
PDF
No ratings yet
Bcse202l Fat A1 2023
3 pages
Assignment - 2024 (Data Structure)
PDF
No ratings yet
Assignment - 2024 (Data Structure)
4 pages
Data Structures Rcs 305
PDF
No ratings yet
Data Structures Rcs 305
2 pages
KNIT Sultanpur 3rd Semester Question Paper
PDF
No ratings yet
KNIT Sultanpur 3rd Semester Question Paper
25 pages
DS Merged
PDF
No ratings yet
DS Merged
8 pages
HW1 465 Part1
PDF
No ratings yet
HW1 465 Part1
7 pages
Data Structure KCS 301
PDF
No ratings yet
Data Structure KCS 301
2 pages
21CSC201J
PDF
No ratings yet
21CSC201J
2 pages
Dsa 2020
PDF
No ratings yet
Dsa 2020
17 pages
Btech Cs 5 Sem Design and Analysis of Algorithms Rcs 502 2018 19
PDF
No ratings yet
Btech Cs 5 Sem Design and Analysis of Algorithms Rcs 502 2018 19
2 pages
PPS 2023-24 Even Sem - 45385173 - 2025 - 01 - 30 - 11 - 52
PDF
No ratings yet
PPS 2023-24 Even Sem - 45385173 - 2025 - 01 - 30 - 11 - 52
2 pages
CSE Computer Engg Data Structures
PDF
No ratings yet
CSE Computer Engg Data Structures
4 pages
CS (ECE) 301 2017 Model Question
PDF
No ratings yet
CS (ECE) 301 2017 Model Question
3 pages
Btech Cs 3 Sem Data Structures cs205 Dec 2023
PDF
No ratings yet
Btech Cs 3 Sem Data Structures cs205 Dec 2023
3 pages
MCA 102 End Term 2024-2026
PDF
No ratings yet
MCA 102 End Term 2024-2026
2 pages
Sem 5 Put 2022-23
PDF
No ratings yet
Sem 5 Put 2022-23
8 pages
QP 2023
PDF
No ratings yet
QP 2023
14 pages
DS 2k23 Btech-Cs-3-Sem-Data-Structure-Kcs-301-2023
PDF
No ratings yet
DS 2k23 Btech-Cs-3-Sem-Data-Structure-Kcs-301-2023
2 pages
Pps
PDF
No ratings yet
Pps
22 pages
Data Structures and Algorithms: (ESO207A)
PDF
No ratings yet
Data Structures and Algorithms: (ESO207A)
28 pages
Vatly 9
PDF
No ratings yet
Vatly 9
14 pages
DSA Final
PDF
No ratings yet
DSA Final
20 pages
Data Structure 4th semECE, ETC, AERO, AME, AUTO, MECH, MANUTECH, MINERAL, MME, METTA, M413
PDF
No ratings yet
Data Structure 4th semECE, ETC, AERO, AME, AUTO, MECH, MANUTECH, MINERAL, MME, METTA, M413
4 pages
Time: 3 Hours: Roll No
PDF
No ratings yet
Time: 3 Hours: Roll No
3 pages
QP22P2 - 290 - 29-Mar-2022 13:28:49 - 117.55.242.131: Time: 3 Hours Total Marks: 100
PDF
No ratings yet
QP22P2 - 290 - 29-Mar-2022 13:28:49 - 117.55.242.131: Time: 3 Hours Total Marks: 100
2 pages
Image To Audio Content Reader Project
PDF
No ratings yet
Image To Audio Content Reader Project
8 pages
IMLA AI Based Learning Project Report
PDF
No ratings yet
IMLA AI Based Learning Project Report
19 pages
Concurrency Control Notes
PDF
No ratings yet
Concurrency Control Notes
2 pages
Java Slylabus Full Stack Developer
PDF
No ratings yet
Java Slylabus Full Stack Developer
4 pages
Soft Skill
PDF
No ratings yet
Soft Skill
2 pages
Sensor and Instruments
PDF
No ratings yet
Sensor and Instruments
2 pages
Energy Science and Engi..
PDF
No ratings yet
Energy Science and Engi..
2 pages