How To Exam?

a knowledge trading engine...


Visvesvaraya Technological University (VTU) 2007 M.C.A Computer DESIGN AND ANALYSIS OF ALGORITHMS - exam paper

Thursday, 13 June 2013 11:50Web

PART A - (5 x five = 25 marks)

ans ALL ques..
every ques. carries five marks.

1. (a) Show that if ¦1 (n) = 0 [¦2 (n)], then ¦2 (n) = 0 [¦1 (n)].

Or

(b) discuss the meaning of deterministic algorithms and infinite algorithms.

2. (a) Jot down 4 vertices A,B,C and D and construct all possible spanning trees.

Or

(b) Show that if a tree has n vertices, then it has (n-1) edges.

3. (a) With reference to the travelling salesman problem, is the cost matrix always symmetric? Justify your ans.

Or

(b) What is an Eulerian Walk? Under What conditions, does a multigraph have an Eulerian walk?

4. (a) Why are backtracking algorithms called method of last resort?

Or

(b) provide an efficient algorithm to determine whether or not a graph can be painted with just 2 colours.

5. (a) Determine the probability that a randomly opted tour in an n city travelling salesman problesm is the optimal one.

Or

(b) With reference to the knapsack problem, state the condition under which it is clearly optimal to pack all the objects in the knapsack.

PART B - (5 x 10 = 50 marks)

ans any 5 ques..
every ques. carries 10 marks.

6. Determine the product of 5678 and 349 using divide and conquer technique.

7. With the help of a suitable example, discuss Kruskal's algorithm for determining the minimal spanning tree.

8. Design a dynamic programming algorithm to obtain an optimal binary search tree for a set of keys with provided probabilities of access.

9. How many solutions are there to the 8 queens problem? How many distinct solutions are there if we do not distinguish solutions that can be transferred into 1 a different by rotations and reflections?

10. Prove or provide a counter example : If a graph is bicoherent, then it is biconnected.

11. organize the subsequent numbers in ascending order using 3 way merge-sort: 26,15,47,05,99,47,90,50,70,47,98,26.

12. State the knapsack issue and discuss how it can be solved using a branch and bound algorithm.

13. discuss how you will determine the total number of partitions of a positive integer using a recursive algorithm.


( 1 Vote )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Visvesvaraya Technological University (VTU) 2007 M.C.A Computer DESIGN AND ANALYSIS OF ALGORITHMS - exam paper