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)
20 views
2 pages
DS 2022
Uploaded by
Spidy Xd
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 DS_2022 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
20 views
2 pages
DS 2022
Uploaded by
Spidy Xd
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 DS_2022 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save DS_2022 For Later
You are on page 1
/ 2
Search
Fullscreen
Printed Page: 1 of 2 AVVO U1 Subjet Coder KCSSOL PAPER ID-411677 Roll Ne BTECH (SEM II) THEORY EXAMINATION 2021-22 DATA STRUCTURE. Time: 3 Hours Total Marks: 100 Note: Attempt all Sections. If you require any missing data, then choose suitably. SECTION A 1. Attempt all questions in brief. 2x10=20 ‘QNo ‘Questions CO (a) | Convert the infix expression (AFB) *(C-D) SE*P to postfix, Give the answer | I without eny spaces ()_| Rank the following ypical bounds ta increasing order of growth rate z O(log m), O(n), 00), O(log m) (©) Draw the binary search tree that results from inserting the following numbers im | 3 sequence starting with 11 11,47, 81,9.61, 10, 12, (| What docs the following recursive function do for a given Linked List wits Inst 4 node as head? void fun (struct node* head) { if{head = NULL) funl(bead-next); printi("%ed", head=>data); , T)_| Define = sparse matrix Suggest a space efficient epresentalion Tor space matices, | 5 (_| List the advantages of doubly Tinked Tis over single Tinked Ti T (@)__| Give example of one cach sable and unstable sorting techniques 2 (H)_| Write advantages oFAVI ree over Binary Search Tree (BST) 3 @_| Whats til recursion? Explain witha suitable example 4 @_ | Write different representations of graphs inthe memory 3 SECTION B 2. Attempt any three ofthe following: 10X3=30 QNo ‘Questions co (@) | Write advantages and disadvantages of faked list over arrays. Write a © function | 1 creating new linear linked list by selecting altemate elements of a linear linked lis. (| Write algorithms of insertion sort. Implement che same on the following numbers; | 2 also calculate its time complexity. 13, 16, 10, 11,4, 12, 6,7 ()___| Differentiate between DFS and BFS. Draw the breadth First Tree for the above 3 raph. (@__| Differentiate between liner and binary search algorithm, Write a recursive Function | 4 to implement binary search (| What is the significance of maintaining Uireads in Binary Search Tree? Write an | 5 algorithm to insert ¢ node in thread binary tree, SECTION 3. Attempt any one part ofthe follows 10x: ‘QNo Questions Ta) Suppose a three dimensional array A is declared using A[10, 35, 103) T () Find the length of each dimension and the number of elements in A (ii) Explain Row major order and Column Major Order in detail with explanation formula expression,Printed Page: of AVVO U1 Subjet Coder KCSSOL PAPER ID-411677 Roll Ne BTECH (SEM II) THEORY EXAMINATION 2021-22 DATA STRUCTURE. (©) _] Discuss the representation of polynomial of single variable using inked ist Wate | T 'C’ functions to add two such polynomials represented by linked lis. 4, _Kifempt any one part ofthe followin; x= 10 ‘QNo ‘Questions co ()__| @) Use the merge sor algorithm to sor the Tollowing elements im ascending onder. [2 13, 16, 10, 11,4, 12, 6,7. What is the time and space complexity of merge sort? (ii) Use quick sort algorithm to sort 15,22,30,10,15,64,1,3,9,2. Is ita stable sorting algorithrs? Justify T)_ | The keys 12, 17,13, 2,5, 43, 5 and 15 are inserted ino an initially empty hash | 2 table of length 15 using open addressing with bash function hk) = k mod 10 and linear probing. What i the resultant hash table? (Gi) Differentiae between linear and quadratic probing te 5. __Aitempt any one part of the following: 10K ‘QNo ‘Questions (@)___| Use Dijksta’s algorithm to find the shortest paths fom source t all other vertices in | 3 the following graph, (©)_ | Apply Prim’s algorithm to find @ minimum spanning tree in the folowing weighted | 3 graph as shown below. 6. _Kifempt any one part of the following: TOX1=10 QNo ‘Questions co (| @ Waite an ierative function to search a key in Binary Search Tree (BST). 4 ji) Discuss disadvantages of recursion with some suitable example © _| @) What is Recursion? 7 Gi)Write a C program to calculate factorial of number using recursive and non- scusive functions, 7. Aifempt any one part of the folowing: T0X1 = 10 ‘QNo Questions co (| @ Why does time complexity of search operation in B-Tvee is better than Binary | > Search Tree (BST)? Gi Insert the following keys into an initially empty B-tree of order S 2,8, fb, k, doh, m3, 8,8, 161X610, 0,p Gi) What will be the retultant B-Tree after deleting keys j,tand d in sequence? (|G) Design a method for keeping two slacks within a single Tinear array so tat | 5 neither stack overflow until all the memory i used, Gi) Write a C program to reverse a string using stack.
You might also like
Data Structure
PDF
No ratings yet
Data Structure
39 pages
Data Structure
PDF
No ratings yet
Data Structure
39 pages
DSA - Lab15 Impl of Tree Algos
PDF
No ratings yet
DSA - Lab15 Impl of Tree Algos
7 pages
DS Lab 8 Manual
PDF
No ratings yet
DS Lab 8 Manual
2 pages
NCS301 2021-2022
PDF
No ratings yet
NCS301 2021-2022
2 pages
CSC 120 Exam 2 Review Guide 4
PDF
No ratings yet
CSC 120 Exam 2 Review Guide 4
20 pages
Ds Solved 2021-22
PDF
No ratings yet
Ds Solved 2021-22
54 pages
cs202 hw2
PDF
No ratings yet
cs202 hw2
5 pages
HT TP: //qpa Pe R.W But .Ac .In: 2010-11 Data Structure and Algorithms
PDF
No ratings yet
HT TP: //qpa Pe R.W But .Ac .In: 2010-11 Data Structure and Algorithms
7 pages
CS 302 (3001 (O) ) PDF
PDF
No ratings yet
CS 302 (3001 (O) ) PDF
7 pages
301 Past Questions
PDF
No ratings yet
301 Past Questions
24 pages
DATA STRUCTURE KCS 301 Aktutor
PDF
No ratings yet
DATA STRUCTURE KCS 301 Aktutor
10 pages
DS Previous PPR
PDF
No ratings yet
DS Previous PPR
8 pages
Ds
PDF
No ratings yet
Ds
8 pages
Data Structure and Algorithm Final Paper Momina Moetesum 2021
PDF
No ratings yet
Data Structure and Algorithm Final Paper Momina Moetesum 2021
4 pages
Data Structures and Algorithms Sem-II Re-Exam Year 2021-22 ThInJ3JV0x
PDF
No ratings yet
Data Structures and Algorithms Sem-II Re-Exam Year 2021-22 ThInJ3JV0x
4 pages
Data Structure
PDF
No ratings yet
Data Structure
12 pages
Be Computer Engineering Semester 3 2023 December Data Structurerev 2019 C Scheme
PDF
No ratings yet
Be Computer Engineering Semester 3 2023 December Data Structurerev 2019 C Scheme
2 pages
CSE2001
PDF
No ratings yet
CSE2001
4 pages
Data Structures - Question Set
PDF
No ratings yet
Data Structures - Question Set
3 pages
Btech Oe 3 Sem Basic Data Structure and Algorithms Koe035 2022
PDF
No ratings yet
Btech Oe 3 Sem Basic Data Structure and Algorithms Koe035 2022
2 pages
Final Info2206 en 2023-2024.vers1
PDF
No ratings yet
Final Info2206 en 2023-2024.vers1
12 pages
Data Structure KCS 301
PDF
No ratings yet
Data Structure KCS 301
2 pages
National University of Singapore School of Computing Semester 1 (2014/2015) CS2010 - Data Structures and Algorithms II
PDF
No ratings yet
National University of Singapore School of Computing Semester 1 (2014/2015) CS2010 - Data Structures and Algorithms II
10 pages
CST201 Data Structures, December 2022
PDF
No ratings yet
CST201 Data Structures, December 2022
3 pages
B.Tech/: B.Pharm. Put Odd Semester 2023-24
PDF
No ratings yet
B.Tech/: B.Pharm. Put Odd Semester 2023-24
2 pages
Data Structure KCS 301 2022
PDF
No ratings yet
Data Structure KCS 301 2022
2 pages
Data Structures and Algorithims Sem-II Batch 2021-22 Re Exam cRqMo9bXbd
PDF
No ratings yet
Data Structures and Algorithims Sem-II Batch 2021-22 Re Exam cRqMo9bXbd
3 pages
3rd Semester, B.tech, Data StructuresData Structures and Algorithms, CS 21001CS 2001, Autumn End Semester Examination 2023
PDF
No ratings yet
3rd Semester, B.tech, Data StructuresData Structures and Algorithms, CS 21001CS 2001, Autumn End Semester Examination 2023
6 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
Data Structure KCS301
PDF
No ratings yet
Data Structure KCS301
2 pages
DDS (2022S)
PDF
No ratings yet
DDS (2022S)
3 pages
DATASTRUCTUREALGORITHMS-2017 3rdsem
PDF
No ratings yet
DATASTRUCTUREALGORITHMS-2017 3rdsem
7 pages
Data Structures and Algorithms Sem-II Re-Exam Batch 2020-21 and 2021-22 0h5YzswSFY
PDF
No ratings yet
Data Structures and Algorithms Sem-II Re-Exam Batch 2020-21 and 2021-22 0h5YzswSFY
3 pages
DS 20-21
PDF
No ratings yet
DS 20-21
2 pages
Data Structures and Algorithms Sem 2 Re-Exam 2021-2022 BJy1kpr96T
PDF
No ratings yet
Data Structures and Algorithms Sem 2 Re-Exam 2021-2022 BJy1kpr96T
4 pages
Data Structure KCS 301
PDF
No ratings yet
Data Structure KCS 301
2 pages
Previous Papers DS
PDF
No ratings yet
Previous Papers DS
15 pages
DSA Pyq
PDF
No ratings yet
DSA Pyq
17 pages
Ds Pyq
PDF
No ratings yet
Ds Pyq
14 pages
DS Merged
PDF
No ratings yet
DS Merged
8 pages
Dsa Pyq
PDF
No ratings yet
Dsa Pyq
15 pages
DSA - QB - Units 1-2-3
PDF
No ratings yet
DSA - QB - Units 1-2-3
6 pages
Data Structure Previous Year Question Paper
PDF
No ratings yet
Data Structure Previous Year Question Paper
10 pages
DSA 2022 Question Paper
PDF
100% (1)
DSA 2022 Question Paper
2 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
Screenshot 2024-09-14 at 12.14.47 AM
PDF
No ratings yet
Screenshot 2024-09-14 at 12.14.47 AM
14 pages
DS University Question Papers
PDF
No ratings yet
DS University Question Papers
12 pages
Data Structures Feb 2022
PDF
No ratings yet
Data Structures Feb 2022
4 pages
Boe306 Basics Data Structure Algorithms
PDF
No ratings yet
Boe306 Basics Data Structure Algorithms
2 pages
Data Structure - 4th - 2023-2024
PDF
No ratings yet
Data Structure - 4th - 2023-2024
3 pages
Data Structure Previous Year Question Papers
PDF
No ratings yet
Data Structure Previous Year Question Papers
12 pages
Data Structure Pyqs
PDF
No ratings yet
Data Structure Pyqs
14 pages
Basic Data Structure and Algorithms Koe045
PDF
No ratings yet
Basic Data Structure and Algorithms Koe045
2 pages
Data Structure Nec401
PDF
No ratings yet
Data Structure Nec401
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
DEC 2022 DSA Solution
PDF
No ratings yet
DEC 2022 DSA Solution
21 pages
Data Structures (5 Years PYQ)
PDF
No ratings yet
Data Structures (5 Years PYQ)
12 pages