R05

Code No: R05321904

Set No. 2

1. (a) Explain the strassen’s matrix multiplication.

[8+8]

ld .

(b) Write deletion algorithm of Binary search tree.

in

III B.Tech II Semester Supplementary Examinations,May 2010 DESIGN AND ANALYSIS OF ALGORITHMS Electronics And Computer Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ?????

2. Solve the TSP problem having the following cost matrix using branch and bound technique. [16]

B 5 X 2 6

C 2 1 X 8

D 3 5 3 X



  

or

A B C D

 A X  4   4 7

3. (a) Write the non recursive algorithm for finding the Fibonacci sequence and derive its time complexity.

uW

(b) Show that n3 logn is w(n3 ).

[10+6]

4. (a) Write a pseudocode for finding the strongly connected components of directed graph. Also analyze its time complexity. (b) Explain the Inorder traversal of a tree with an example.

[8+8]

5. (a) Explain about cook’s theorem.

(b) Explain the strategy to prove that a problem is NP hard.

[8+8]

nt

6. (a) Explain the applications of single source shortest path problem. (b) Prove that Kruskal’s algorithm generates a minimum-cost spanning tree for every connected undirected graph G. (c) Write an algorithm of Greedy Knapsack.

[5+6+5]

Aj

7. Write a pseudocode of the dynamic programming algorithm for solving Optimal Binary search tree and determine its time and space efficiencies. [16]

8. (a) Let w = {5, 7, 10, 12, 15, 18, 20} and m=35. Find all possible subsets of w that sum to m. Draw the portion of the state space tree that is generated.

(b) Compare and Contrast Brute force approach and Backtracking. ?????

1

[10+6]

R05

Code No: R05321904

Set No. 4

in

III B.Tech II Semester Supplementary Examinations,May 2010 DESIGN AND ANALYSIS OF ALGORITHMS Electronics And Computer Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. (a) Write a pseudocode for finding the strongly connected components of directed graph. Also analyze its time complexity.

[8+8]

ld .

(b) Explain the Inorder traversal of a tree with an example.

2. (a) Explain the applications of single source shortest path problem.

(b) Prove that Kruskal’s algorithm generates a minimum-cost spanning tree for every connected undirected graph G.

or

(c) Write an algorithm of Greedy Knapsack.

[5+6+5]

3. (a) Explain about cook’s theorem.

(b) Explain the strategy to prove that a problem is NP hard.

[8+8]

A B C D

 A X  4   4 7

uW

4. Solve the TSP problem having the following cost matrix using branch and bound technique. [16] B 5 X 2 6

C 2 1 X 8

D 3 5 3 X



  

5. (a) Let w = {5, 7, 10, 12, 15, 18, 20} and m=35. Find all possible subsets of w that sum to m. Draw the portion of the state space tree that is generated.

nt

(b) Compare and Contrast Brute force approach and Backtracking.

[10+6]

6. (a) Write the non recursive algorithm for finding the Fibonacci sequence and derive its time complexity.

(b) Show that n3 logn is w(n3 ).

Aj

[10+6]

7. Write a pseudocode of the dynamic programming algorithm for solving Optimal Binary search tree and determine its time and space efficiencies. [16]

8. (a) Explain the strassen’s matrix multiplication. (b) Write deletion algorithm of Binary search tree. ?????

2

[8+8]

R05

Code No: R05321904

Set No. 1

in

III B.Tech II Semester Supplementary Examinations,May 2010 DESIGN AND ANALYSIS OF ALGORITHMS Electronics And Computer Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. (a) Let w = {5, 7, 10, 12, 15, 18, 20} and m=35. Find all possible subsets of w that sum to m. Draw the portion of the state space tree that is generated. [10+6]

ld .

(b) Compare and Contrast Brute force approach and Backtracking.

2. (a) Explain the applications of single source shortest path problem.

(b) Prove that Kruskal’s algorithm generates a minimum-cost spanning tree for every connected undirected graph G.

or

(c) Write an algorithm of Greedy Knapsack.

[5+6+5]

3. (a) Explain the strassen’s matrix multiplication.

(b) Write deletion algorithm of Binary search tree.

[8+8]

uW

4. (a) Write a pseudocode for finding the strongly connected components of directed graph. Also analyze its time complexity. (b) Explain the Inorder traversal of a tree with an example.

[8+8]

5. Write a pseudocode of the dynamic programming algorithm for solving Optimal Binary search tree and determine its time and space efficiencies. [16] 6. Solve the TSP problem having the following cost matrix using branch and bound technique. [16] B 5 X 2 6

C 2 1 X 8

D 3 5 3 X



nt

A B C D

 A X  4   4 7

  

Aj

7. (a) Write the non recursive algorithm for finding the Fibonacci sequence and derive its time complexity. (b) Show that n3 logn is w(n3 ).

[10+6]

8. (a) Explain about cook’s theorem. (b) Explain the strategy to prove that a problem is NP hard. ?????

3

[8+8]

R05

Code No: R05321904

Set No. 3

in

III B.Tech II Semester Supplementary Examinations,May 2010 DESIGN AND ANALYSIS OF ALGORITHMS Electronics And Computer Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. Write a pseudocode of the dynamic programming algorithm for solving Optimal Binary search tree and determine its time and space efficiencies. [16]

B 5 X 2 6

C 2 1 X 8

D 3 5 3 X

   

or

 A X A  B  4 C  4 7 D

ld .

2. Solve the TSP problem having the following cost matrix using branch and bound technique. [16]

3. (a) Write the non recursive algorithm for finding the Fibonacci sequence and derive its time complexity.

uW

(b) Show that n3 logn is w(n3 ).

[10+6]

4. (a) Let w = {5, 7, 10, 12, 15, 18, 20} and m=35. Find all possible subsets of w that sum to m. Draw the portion of the state space tree that is generated.

(b) Compare and Contrast Brute force approach and Backtracking.

[10+6]

5. (a) Explain the applications of single source shortest path problem. (b) Prove that Kruskal’s algorithm generates a minimum-cost spanning tree for every connected undirected graph G.

nt

(c) Write an algorithm of Greedy Knapsack.

[5+6+5]

6. (a) Explain the strassen’s matrix multiplication. (b) Write deletion algorithm of Binary search tree.

[8+8]

Aj

7. (a) Write a pseudocode for finding the strongly connected components of directed graph. Also analyze its time complexity. (b) Explain the Inorder traversal of a tree with an example.

[8+8]

8. (a) Explain about cook’s theorem. (b) Explain the strategy to prove that a problem is NP hard. ?????

4

[8+8]

R05 Set No. 2

(b) Write deletion algorithm of Binary search tree. [8+8] · 2. Solve the TSP ... (b) Prove that Kruskal's algorithm generates a minimum-cost spanning tree for.

63KB Sizes 1 Downloads 64 Views

Recommend Documents

R05 Set No. 2
[16] · 4. What are channel,circuit and half circuit in the context of satellite telemetry sys- .... 3. Describe the conditions for total internal reflection within a fibre. [16].

R05 Set No. 2
(b) Describe a DC Servo Motor with a neat sketch. [8+8] · 4. (a) What is a timing belt? Discuss the use of Timing belts in power transmission? (b) Discuss various ...

R05 Set No. 2
(b) In a slider crank mechanism the crank is making an angle of 600 with IDC. The crank and connecting rod lengths are 100mm and 300mm respectively.

R05 Set No. 2
Code No: R05412304. R05. Set No. 2. IV B.Tech I Semester Examinations,November 2010 · DOWNSTREAM PROCESSING · Bio-Technology · Time: 3 hours.

R05 Set No. 2
(b) Consider any two networks of your choice which support Circuit switching or ... (b) Which is more efficient, circuit switching or packet switching? Why?

R05 Set No. 2
(a) What is the difference between logical I/O and device I/O? (b) Explain feed back scheduling policy. [8+8] · 2. (a) How can logical address space be ...

R05 Set No. 2
kerosene, and fuel oil must be limited as also shown in this table. There are no ... equipment is a function of x, the size (horsepower ) of the motor, namely.

R05 Set No. 2
(b) A 30m chain was found to be 15cm too long after chaining 1524m. The same ... 7. (a) Explain compensating and cumulative errors in chain Surveying.

R05 Set No. 2
R05. Set No. 2. II B.Tech I Semester Examinations,MAY 2011 · MATHEMATICS-III · Common to ICE, E.COMP.E, ETM, E.CONT.E, EIE, ECE, EEE · Time: 3 hours.

R05 Set No. 2
(b) What is meant by displacement function? (c) Give the importance of Pascal Triangle. [4+6+6] · 3. Determine the displacements at nodes and the stresses in ...

R05 Set No. 2
The horizontal distance between u/s face and center line of drain holes is 8 m. ... (c) Cut-off trench ... Bed width of parent channel U/S / D/S = 45 m/40 m. [16].

R05 Set No. 2
Also draw the relevant circuit diagram. (b) Draw the resistive model of a CMOS inverter and explain its behavior for. LOW and HIGH outputs. [8+8]. 8. (a) It is necessary to identify the position of mechanical disk, when rotates with a step of 450. Gi

R05 Set No. 2
R05. Set No. 2. II B.Tech I Semester Regular Examinations,November 2010 · MATHEMATICS-III · Common to ICE, E.COMP.E, ETM, E.CONT.E, EIE, ECE, EEE.

R05 Set No. 2
4. Give the syntax for 'awk'. Discuss about the selection criteria in awk. How to · embed action in to this command. Explain with examples. [16] · 5. Write about different Unix locking techniques. [16] · 6. (a) What are the differences between shell

R05 Set No. 2
of Rs. 1,500 would be deposited in this fund under an ordinary annuity plan. All · money in the fund can be .... (b) Discounted cash flow · (c) Net present worth ... would last for 10 years. A worn-out storage tank of capacity equivalent to the new.

R05 Set No. 2
R05. Set No. 2. III B.Tech I Semester Examinations,May 2011 · WEB TECHNOLOGIES · Information Technology ... that describes your college. The paragraph ...

R05 Set No. 2
(b) What is the necessity of heat treatment after carburizing? Explain. On what ... (b) What is the difference in heat treatment between 18% Ni and the 25% Nickel.

R05 Set No. 2
is subjected to a load of 200 kN, find the stresses developed in the two materials. ... Compare the values of max. and minimum hoop stresses for a cast steel ...

R05 Set No. 2
The cores of two identical transformers A and B carry alternating fluxes whose instantaneous values are (0.01 sin 314t)W and 0.012 (1.1 sin 628t+0.1 sin 1884t).

R05 Set No. 2
(a) Explain live node, E-node and dead node with an example. (b) Explain the method of reduction to solve TSP problem using Branch and · Bound. [8+8] · 3. (a) Prove that Prim's algorithm finds a minimum spanning tree. (b) Explain the single source sh

R05 Set No. 2
at 0.8 p.f. lagging and 15A at 0.6 p.f. lagging respectively, both expressed ... (b) A single-phase motor takes a current of 10 amps at a p.f. of 0.707 lagging.

R05 Set No. 2
If the tensile stress is not to exceed 17MPa, find the safe. u.d.l. which the beam can carry. Also find maximum compressive stress. Draw the sketch showing the ...

R05 Set No. 2
beans with the above mentioned beans. [16]. 8. (a) Explain the basic structure of an XML document and highlight the advantages of XML over HTML. 3.

R05 Set No. 2
Code No: R05320201. R05. Set No. 2. III B.Tech II Semester Examinations,December 2010 ... Common to ICE, ETM, E.CONT. ... H(s) = 1/(s + 0.5) (s2 +0.5s+2).