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)
31 views
4 pages
CSE2001
Sjdj
Uploaded by
pirati.yaswanth
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 CSE2001 (6) For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
31 views
4 pages
CSE2001
Sjdj
Uploaded by
pirati.yaswanth
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 CSE2001 (6) For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save CSE2001 (6) For Later
You are on page 1
/ 4
Search
Fullscreen
Say! VIT-AP SS UNIVERSITY Apply Knowledge. Improve Life!” QUESTION PAPER Name of the Examination: Intra Semester 2023-24 - FAT Course Code: CSE2001. Course Title: Data Structures and Algorithms Set number: 01 Date of Exam: e} ay, cA) Duration: 120 Total Marks: 60M Instructions: 1. Assume data wherever necessary. 2. Any assumptions made should be clearly stated. Qi. Explain Big-Oho and Big-Omega notations, Given f(a) = Sné+ 3n?-+2n?+ 4n + 1, Find O(n) and A(fin)). (10 Marks) Q2. Construct and evaluate the post fix ‘expression from the given infix expression S43924(948/4)*6 (10 Marks) 3. Construct the binary seach tee from the given set of elements and write the inorder, preorder and post order trayersals of the binary search tree. Assume root node to be. considered is 45. $9, 37, 22, 82,75, 45, 11, 9, 87, 67,31 (10 Marks) QA. Consider the Array A = [22, 18, 38,27, 40, 36,44, 8]. Apply Selection sort and write the array values after every pass and calculate the time complexity. Compare the number of swaps performed with bubble sort (10 Marks) QS. Given the key elements (32, 15, $5, 47, 30, 66, 24, 88, 99, 54) and hash table of size 11. Apply a. Quadratic Probing 'b. Double Hashing with secondary hash function as Hasha(K) = 7 —(K9%7) to insert the keys. ‘Show the steps for each insertion and resulting hash table, (10 Marks) Q6. Find the minimum spanning tree for the Graph G using Prim’s Algorithm. Starting vertex is 0. seme) ®@-@-@ @® - @®-.+ © @ -_@ - ® [PageQP MAPPING ato, | Module | co mapped iat es PSO Mapped | ~ Marks ai it a 14,12 £2 42 70 @ 2 2 16,12 12 42 10 3 3 3 12,3,6 42 42 10 a 4 4 12,12 12 12 10 cy 3 2 1,612 12 412 10 as 6 3 12,36 12 12 10 2IPagety VIT-AP UNIVERSITY QUESTION PAPER Name of the Examination: Intra Semester 2023-24 FAT Course Code: €S€2001 Course Tite: Data Structures and Algorithms Set number: 02 daeorexam: JQ}{124 CE) Duration: 120 Total Marks: 6om Instructions: 1. Assume data wherever necessary. 2. Any assumptions made should be clearly stated, Qt. Given an array of integers, write an algorithm to find the second-largest element present in the array. Calculate the time complexity and space complexity of the algorithm, Example: Input: art] = {12, 35, 1, 10, 34, 11) Output: The second largest element is 34, (10 Marks) (2. Consider the following doubly linked list in which nodes data is in sorted order. Show the steps {o insert the following data 3, 14 and 25 into the sorted doubly linked list and delete 15 fram the sorted doubly lined list. (10 Marks) heed node Last node | | Xs ow ms kX 3. Construct an AVL tree by inserting the lst of elements (150, 155, 160, 115, 110, 40, 120,145, 130, 147, 170, 180} and write the preorder and post order traversals of the constructed AVL. tree, (10 Marks) Q4 Consider the String Branch = “COMPUTER SCIENCE”, Apply the Merge Sort to sort the characters of the string in alphabetical order and mention the Best-case, Average-case and Worst-case time complexity of Merge Sort algorithm. (10 Marks) QS. Write an algorithm / pseudo code for Binary Search algorithm. Illustrate the working of Binary search on the following set of elements to search for the Keys 86 and 14: 9. 11, 13, 15, 25, 28, 37, 45, 55, 67, 74, 84, 86,94, 95,99 (10 Marks) 11PageQ6. Consider the following Graph G, apply Dijkstra’s’ algorithm to calculate single — source path shortest path from S to every other node, (10 Marks) No, | Mode | co mapped a Meppea | PSOMapped | Marks an i I 14,12 32 a2 70 a2 2 z 16,12 32 aja 10 B 3 3 12,3,6 Lz 42 10 aa 4 4 12,12 12 12 10 as 5 2 1612 12 42 10 a6 é 3 72,3,6 12 22 Fa 2[Page
You might also like
Dsa Old Question Collection
PDF
No ratings yet
Dsa Old Question Collection
31 pages
Mca 2 Sem Data Structures Analysis of Algorithms K - 240217 - 145512
PDF
No ratings yet
Mca 2 Sem Data Structures Analysis of Algorithms K - 240217 - 145512
3 pages
Data Structure Pyqs
PDF
No ratings yet
Data Structure Pyqs
14 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
DSA Final Solution
PDF
No ratings yet
DSA Final Solution
7 pages
DS University Question Papers
PDF
No ratings yet
DS University Question Papers
12 pages
CSC335FinalExam
PDF
No ratings yet
CSC335FinalExam
3 pages
May 2023 Dsa Solution
PDF
No ratings yet
May 2023 Dsa Solution
24 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
CSE2001
PDF
No ratings yet
CSE2001
8 pages
Exercises
PDF
No ratings yet
Exercises
42 pages
فاينل خوارزميات ٢٠٢٣
PDF
No ratings yet
فاينل خوارزميات ٢٠٢٣
4 pages
Data Structure - 4th - 2023-2024
PDF
No ratings yet
Data Structure - 4th - 2023-2024
3 pages
Merged
PDF
No ratings yet
Merged
9 pages
CNS 2102 - Data Structures and Algorithms - July 2022
PDF
No ratings yet
CNS 2102 - Data Structures and Algorithms - July 2022
5 pages
Previous Papers DS
PDF
No ratings yet
Previous Papers DS
15 pages
DS 2022
PDF
No ratings yet
DS 2022
2 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
Dsa 2
PDF
No ratings yet
Dsa 2
3 pages
DS Qbank
PDF
No ratings yet
DS Qbank
19 pages
Mca 2 Sem Data Structures Analysis of Algorithms Kca205 2023
PDF
No ratings yet
Mca 2 Sem Data Structures Analysis of Algorithms Kca205 2023
3 pages
Final Exam Sample
PDF
No ratings yet
Final Exam Sample
4 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
DS
PDF
No ratings yet
DS
2 pages
HT TP: //qpa Pe R.W But .Ac .In: 2009 Data Structure & Algorithm
PDF
No ratings yet
HT TP: //qpa Pe R.W But .Ac .In: 2009 Data Structure & Algorithm
7 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
Gujarat Technological University
PDF
No ratings yet
Gujarat Technological University
2 pages
Mca1002 - Problem Solving Using Data Structures and Algorithms - LTP - 1.0 - 1 - Mca1002
PDF
No ratings yet
Mca1002 - Problem Solving Using Data Structures and Algorithms - LTP - 1.0 - 1 - Mca1002
4 pages
DSA - QB - Units 1-2-3
PDF
No ratings yet
DSA - QB - Units 1-2-3
6 pages
Basic Data Structure and Algorithms Koe045
PDF
No ratings yet
Basic Data Structure and Algorithms Koe045
2 pages
Dsu QP
PDF
No ratings yet
Dsu QP
28 pages
Final - Fall 2020 (Answered)
PDF
No ratings yet
Final - Fall 2020 (Answered)
5 pages
Data Structures Question Bank
PDF
No ratings yet
Data Structures Question Bank
5 pages
CS261 Fundamentals of Data Structures and Algorithm
PDF
No ratings yet
CS261 Fundamentals of Data Structures and Algorithm
3 pages
Algorithms and Data Structures Exercises: Antonio Carzaniga University of Lugano Edition 1.2 January 2009
PDF
No ratings yet
Algorithms and Data Structures Exercises: Antonio Carzaniga University of Lugano Edition 1.2 January 2009
13 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
Ds Pyq
PDF
No ratings yet
Ds Pyq
14 pages
Question For CS102 End Sem Exam July 2021
PDF
No ratings yet
Question For CS102 End Sem Exam July 2021
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
CSI 2110 Midterm 2014
PDF
No ratings yet
CSI 2110 Midterm 2014
11 pages
CC 212 Data Structure & Algorithm
PDF
No ratings yet
CC 212 Data Structure & Algorithm
14 pages
Exercises 1.2
PDF
No ratings yet
Exercises 1.2
13 pages
Dsa Pyq
PDF
No ratings yet
Dsa Pyq
15 pages
Ec2m Dseclzg519 Key
PDF
No ratings yet
Ec2m Dseclzg519 Key
6 pages
B.C.A (SCIENCE) Oct 2022-23-25
PDF
No ratings yet
B.C.A (SCIENCE) Oct 2022-23-25
3 pages
Data Structures and Algorithms
PDF
No ratings yet
Data Structures and Algorithms
8 pages
Data Structure KCS 301 2022
PDF
No ratings yet
Data Structure KCS 301 2022
2 pages
4242 Question Paper
PDF
No ratings yet
4242 Question Paper
2 pages
AugustSeptember 2022
PDF
No ratings yet
AugustSeptember 2022
2 pages
Data Structure KCS 301
PDF
No ratings yet
Data Structure KCS 301
2 pages
SY BCA Data Structure Ques - Bank.
PDF
No ratings yet
SY BCA Data Structure Ques - Bank.
5 pages
Gujarat Technological University
PDF
No ratings yet
Gujarat Technological University
2 pages
Final Info2206 en 2023-2024.vers1
PDF
No ratings yet
Final Info2206 en 2023-2024.vers1
12 pages
Ds Objective
PDF
100% (1)
Ds Objective
307 pages
Advanced Data Structures2015
PDF
No ratings yet
Advanced Data Structures2015
4 pages
Cs205-E S3dec18 Ktuweb
PDF
No ratings yet
Cs205-E S3dec18 Ktuweb
2 pages
Answers AlgoSamplePaper
PDF
No ratings yet
Answers AlgoSamplePaper
9 pages