Monday, August 20, 2012

IGNOU MCA -mcs-031 solved assignments 2012 -2013



Course Code : MCS-031


Course Code : MCS-031
Course Title : Design and Analysis of Algorithms
Assignment Number : MCA (3)/031/Assign/2012
Maximum Marks : 100
Weightage : 25%
Last Dates for Submission : 15
th
October, 2012 (For July 2012 Session)
15
th
April, 2013 (For January 2013 Session)
There are ten questions in this assignment, which carries 80 marks. Rest 20 marks
are for viva-voce. Answer all the questions. You may use illustration and diagrams
to enhance the explanations. Please go through the guidelines regarding assignments
given in the MCA Programme Guide for the format of presentation. The examples,
whenever asked to be given, should be different from those that are discussed in the
course material.

Question1: Using Insertion Sort, sort the following sequence in increasing  (10 marks)
order and do the analysis of the algorithm:  35, 37, 18, 15, 40, 12

Question 2: Write a pseudocode for divide and conquer algorithm for
finding the position of an array of n numbers and estimate the
number of key comparisons made by your algorithm.      (10 marks)

Question 3: Apply quicksort to sort the following list: Q U I C K S O R T (10 marks)
         in alphabetical order. Find the element whose position is
unchanged in the sorted list.

Question 4: Write Strassen’s matrix multiplications algorithm for obtaining
the product of two matrices.   (10 marks)

Question 5: (i) Define DFS. Explain briefly how it differs from BFS.  (10 marks)
        (ii) Write pseudocode for DFS and calculate its time complexity

Question 6: Apply Kruskal’s algorithm to find minimal spanning tree with
an example.  (10 marks)

Question7: Arrange the following growth rates in increasing order:
O (3
n
), O (n
2
), O (1), O (n log n)    (4 marks)

Question 8: Using Principle of Mathematical Induction, prove that the
sum 2
0
+ 2
1
+…+ 2
n
  is 2
n +1
– 1 for all n  1.    (6 marks)

Question 9: Define Knapsack Problem and cite one instance of the problem. (5 marks)

Question 10: Explain the essential idea of Dynamic Programming. How
does Dynamic Programming differ from Divide and conquer
approach for solving problems? (5 marks)

 IGNOU Coaching for BCA, MCA, MBA in Jaipur  

BCA Coaching in Jaipur | MCA Coaching in Jaipur



IGNOU JAIPUR
Regional Director,
IGNOU Regional Centre,
70/79,
Sector - 7,
Patel Marg,
Mansarovar
Rajasthan - 302020
India
Ph :+91-0141-2785763 / 2785750
Fax :+91-0141-2784043

2 comments:

Unknown said...

it is not solved

Rajat Sharma said...

I give complete answer.Please some time waiting.

Post a Comment

 
Programming Languages Training
c language coaching in jaipur | c language classes in jaipur | c classes in jaipur | c language training in jaipur | c training in jaipur | c language training institute in jaipur | c language coaching institute in jaipur | c training institute in jaipur | c coaching institute in jaipur | c++ coaching in jaipur | c++ classes in jaipur | c++ training in jaipur | c++ training institute in jaipur | c++ coaching institute in jaipur | Java training in jaipur | Java coaching in jaipur | Java coaching institute in jaipur | Java training institute in jaipur | Core Java training in jaipur | Core Java coaching in jaipur | Python Training in Jaipur | Python Training Institute in Jaipur | python coaching in jaipur | best python coaching in jaipur | Data Structures Training Institute in Jaipur | data structures training in jaipur | data structure coaching in jaipur | data structure training in jaipur | data structure coaching in jaipur | Data Structure coaching Institute in Jaipur | data structure algorithm training in jaipur | data structures algorithm training in jaipur | IGNOU MBA project | coaching in jaipur for java | coaching for java in jaipur | training in jaipur for java | training for java in jaipur | coaching institute in jaipur for java | coaching institute for java in jaipur | training institute in jaipur for java | training institute for java in jaipur

For the Math Subjects Coaching
NA-Numerical Analysis | DM-Discrete Mathematics | ADM- Advanced Discrete Mathematics | TOC-Theory of Computation
BCA Coaching in Jaipur | MCA Coaching in Jaipur

Website: www.spcjaipur.com
Mobile: +91-9680422112
Address: D-300, Near World Trade Park, Malviya Nagar, Jaipur (Rajasthan)