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)
14 views
Design Analysis of Algorithms Rcs 502
Good
Uploaded by
Shobhit Mishra
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 now
Download
Save Design Analysis of Algorithms Rcs 502 For Later
Download
Save
Save Design Analysis of Algorithms Rcs 502 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
14 views
Design Analysis of Algorithms Rcs 502
Good
Uploaded by
Shobhit Mishra
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 now
Download
Save Design Analysis of Algorithms Rcs 502 For Later
Carousel Previous
Carousel Next
Save
Save Design Analysis of Algorithms Rcs 502 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
Printed Pages: 02 Subject Code: RCSS02 Paper Ia: [ 110502 Roll No: BTECH (SEM V) THEORY EXAMINATION 2018-19 DESIGN & ANALYSIS OF ALGORITHMS Time: 3 Hours Total Marks: 70 Note: 1. Attempt all Sections. If require any missing data; then choose suitably. 2. Any special paper specific instruction SECTION A 1 Attempt all questions in brief. 2x7=14 a. Rank the following by growth rate: rn, 27, jog n, tog (logn), log’n, (Ign), 4, (3/2)", nf b. Prove that if n>=1, then for any n-key B-Tree of height h and minimum degree t >~2, h<= log. ((n+1)/2) ¢. Define principal of optimality. When and how dynamic programming is applicable 4. Explain application of graph coloring problem €. Compare adjacency matrix and linked Adjaceng)J suitable example/diagram £ What are approximation algorithms? Whe meant by P (n) approximation algoritns? g. What do you mean by stability of sai algorithm? Explain is aplication sts representation of a Graph with, nN 2. Attempt any three of the followit 7 & a Use a recursion tree to give‘ah asymptotically tight solution to the r¢curfence Tn) = Tian) + TU - a+ cn, where a is a constant in the mage) *a< 1 and © Vis alsoa consgeane & b. Define BNP, ‘NP hard and NP Complete Problems: Prove that Travelling Salesman Probiem is NP-Complete. ¢. Consider the weights and values of items listed below. Note that there is only one unit of each item. The task is to pick a subset of these items such that their total weight is no more than 11 Kgs and their total value is maximized. Moreover, no item may be split, The total value of items picked by an optimal algorithm is denoted by Vos. A greedy algorithm sorts the items by their value-to-weight ratios in descending order and packs them greedily, starting from the first item in the ordered list. The total value of items picked by the greedy algorithm is denoted by Vgreedy. Find the value of Vopt ~ Vercedy i A PO ~ Ww i0 [7 [4 ]2 Vv 60 128 120 124 4. Insert the following keys in a 2-3-4 B Tree: 40, 35, 22, 90, 12, 45, 58, 78, 67, 60 and then delete key 35 and 22 one after other. . Prove that if the weights on the edge of the connected undirected graph are distinct then there is a unique Minimum Spanning Tree. Give an example in this regard. Also discuss Prim’s Minimum Spanning Tree Algorithm in detail,SECTION C Attempt any one part of the following: 7x17 (a) The recurrence T (n) = 7T (0/3) + n? describes the running time of an algorithm A Another competing algorithm B has a running time of $ (n) = aS (n/ 9) + n?, What is the smallest value of ‘a’ such that A is asymptotically faster than B.? (b) How will you sort following array A of elements using heap sort: A= (23,9, 18, 45, 5, 9. 1, 17, 6). Attempt any one part of the following: 7x1 (a) _ Explain the different conditions of getting union of two existing binomial Heaps. Also write algorithm for union of two Binomial Heaps. What is its complexity? (b) Insert the elements 8, 20, 11, 14, 9, 4, 12 in a Red-Black Tree and delete 12, 4,9, 14 respectively. Attempt any one part of the following: Tx1=7 (a) When do Dijkstra and the Bellman-Ford algorithm both fail to find a shortest path?Can Bellman ford detect all negative weight cycles in a graph? Apply Bellman Ford Algorithm on the following graph (6) Given an integer x and a positive number n, use divide & conquer approach to write @ function that computes x*with time complexity O (logn) Se Attempt any one part of the following: Tx1=7 (a) Solve the Subset sum problem using Backaracking: “where n=4, m=18, w [4] = (5, 10, 8, 13) (b) Give Floyd War shall algorithm to find‘fhe shortest path for all pairs of vertices in a graph. Give the complexity of the alg¢ n. Explain with example. Attempt any one part of the following: Txl=7 (a) | What is the application of Past Fourier Transform (FFT)? Also write the recursive algorithm for FFT. +.» (b) Give a linear time algorithin to determine if a text T is a cycle rotation of another string T° For example, ‘RAJA’ and ‘JARA’ arc cyclic rotations of cach other.
You might also like
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
Time: 3 Hours Total Marks: 70
PDF
No ratings yet
Time: 3 Hours Total Marks: 70
16 pages
21-22 daa
PDF
No ratings yet
21-22 daa
4 pages
DAA 09-Sep-2023 11-16-06
PDF
No ratings yet
DAA 09-Sep-2023 11-16-06
15 pages
DAA Assignment1
PDF
No ratings yet
DAA Assignment1
8 pages
Assignment-DAA_1 (1)
PDF
No ratings yet
Assignment-DAA_1 (1)
4 pages
23CS312 DAA Answer Key
PDF
No ratings yet
23CS312 DAA Answer Key
7 pages
Materi Analisis Dan Design Algoritma
PDF
No ratings yet
Materi Analisis Dan Design Algoritma
4 pages
2011 Daa End-Regular
PDF
No ratings yet
2011 Daa End-Regular
4 pages
daa sem 4
PDF
No ratings yet
daa sem 4
4 pages
Final Spring18
PDF
No ratings yet
Final Spring18
3 pages
DAA Previous Paper
PDF
No ratings yet
DAA Previous Paper
14 pages
Du Daa - QP 2022
PDF
No ratings yet
Du Daa - QP 2022
5 pages
CS C341-Is C361
PDF
No ratings yet
CS C341-Is C361
5 pages
DAA Important Questions-1
PDF
No ratings yet
DAA Important Questions-1
10 pages
CB402 _ DAA
PDF
No ratings yet
CB402 _ DAA
10 pages
DAA Endsem
PDF
No ratings yet
DAA Endsem
4 pages
AMICSE0401
PDF
No ratings yet
AMICSE0401
4 pages
DaaS
PDF
No ratings yet
DaaS
5 pages
Combined Previous Year DAA AKTU Questions Papers
PDF
No ratings yet
Combined Previous Year DAA AKTU Questions Papers
27 pages
Btech 4 Sem Design and Analysis and Algorithms Rcs4c002 2022
PDF
No ratings yet
Btech 4 Sem Design and Analysis and Algorithms Rcs4c002 2022
2 pages
2-1 Algorithm 19 Batch
PDF
No ratings yet
2-1 Algorithm 19 Batch
4 pages
Algorithms
PDF
No ratings yet
Algorithms
14 pages
Btech Cs 4 Sem Design and Analysis of Algorithms Btcoc401 May 2019
PDF
No ratings yet
Btech Cs 4 Sem Design and Analysis of Algorithms Btcoc401 May 2019
3 pages
18IS6C2 - 2021
PDF
No ratings yet
18IS6C2 - 2021
3 pages
Midsem
PDF
No ratings yet
Midsem
7 pages
CS702. 2011-Sol
PDF
No ratings yet
CS702. 2011-Sol
13 pages
Adobe Scan 14-Dec-2024
PDF
No ratings yet
Adobe Scan 14-Dec-2024
15 pages
3rd Mid Sem Pyqs
PDF
No ratings yet
3rd Mid Sem Pyqs
14 pages
Daa Previous Year Paper 2019
PDF
No ratings yet
Daa Previous Year Paper 2019
2 pages
Data Structures Question Paper
PDF
No ratings yet
Data Structures Question Paper
10 pages
DAA Pdf24 Merged
PDF
No ratings yet
DAA Pdf24 Merged
37 pages
DAA 23-24
PDF
No ratings yet
DAA 23-24
4 pages
DAA PYQ
PDF
No ratings yet
DAA PYQ
9 pages
18IS6C2 - 2023
PDF
No ratings yet
18IS6C2 - 2023
3 pages
DAA-2022-AKTU-CSE
PDF
No ratings yet
DAA-2022-AKTU-CSE
2 pages
Btech Cs 5 Sem Design and Analysis of Algorithm Kcs503 2022
PDF
No ratings yet
Btech Cs 5 Sem Design and Analysis of Algorithm Kcs503 2022
2 pages
Design and Analysis of Algorithm - RCS502
PDF
No ratings yet
Design and Analysis of Algorithm - RCS502
2 pages
2019-20 University Paper
PDF
No ratings yet
2019-20 University Paper
2 pages
ADA PYQ (Shivani)
PDF
No ratings yet
ADA PYQ (Shivani)
20 pages
btech-cse-4-sem-design-and-analysis-of-algorithms-105402-2022
PDF
No ratings yet
btech-cse-4-sem-design-and-analysis-of-algorithms-105402-2022
4 pages
Question
PDF
No ratings yet
Question
10 pages
3cs1109 Ir Rpr December 2019
PDF
No ratings yet
3cs1109 Ir Rpr December 2019
3 pages
daa 22-23
PDF
No ratings yet
daa 22-23
4 pages
Daa Question Papers
PDF
No ratings yet
Daa Question Papers
9 pages
Fat RR Nov23 CH2023240101655
PDF
No ratings yet
Fat RR Nov23 CH2023240101655
2 pages
Q.Bank DAA KCS503
PDF
No ratings yet
Q.Bank DAA KCS503
4 pages
SiddharthashankarDaa
PDF
No ratings yet
SiddharthashankarDaa
60 pages
Daapyq
PDF
No ratings yet
Daapyq
8 pages
2017 Algorithm
PDF
No ratings yet
2017 Algorithm
5 pages
DAA 6TH.pyq
PDF
No ratings yet
DAA 6TH.pyq
5 pages
Analysis and Designs of Algorithms: BCS401 Model Question Paper With Effect From 2023-24 (CBCS Scheme)
PDF
0% (1)
Analysis and Designs of Algorithms: BCS401 Model Question Paper With Effect From 2023-24 (CBCS Scheme)
2 pages
BCS401
PDF
100% (1)
BCS401
2 pages
Algorithm Design Analysis
PDF
No ratings yet
Algorithm Design Analysis
11 pages
QP4
PDF
No ratings yet
QP4
28 pages
DAA SEM4
PDF
No ratings yet
DAA SEM4
4 pages
BT0080 - Fundamentals of Algorithms-MQP
PDF
No ratings yet
BT0080 - Fundamentals of Algorithms-MQP
19 pages
btech-cs-5-sem-design-and-analysis-of-algorithms-tcs-503-2011
PDF
No ratings yet
btech-cs-5-sem-design-and-analysis-of-algorithms-tcs-503-2011
3 pages
3rd PRESENTATION
PDF
No ratings yet
3rd PRESENTATION
25 pages
A.D. Hope
PDF
No ratings yet
A.D. Hope
3 pages
Sakshi Result
PDF
No ratings yet
Sakshi Result
2 pages
PG II CC-7 The Theory of Rasa by DR Ravi K Sinha
PDF
No ratings yet
PG II CC-7 The Theory of Rasa by DR Ravi K Sinha
3 pages
Study Materials On A. D. Hope's Australia
PDF
No ratings yet
Study Materials On A. D. Hope's Australia
3 pages