Login×




My Cart


IGNOU MMTE 2 Solved Assignment 2024
Rs.
Rs. 50

ignou MMTE 2 solved 2024

ignou MMTE 2 solved 2024
Rs.
Rs. 50

Last Date of Submission of IGNOU MMTE-02 (MSCMACS) 2024 Assignment is for January 2024 Session: 30th September, 2024 (for December 2024 Term End Exam).
Semester Wise
January 2024 Session:
30th March, 2024 (for June 2024 Term End Exam).
July 2024 Session: 30th September, 2024 (for December 2024 Term End Exam).

Title NameIGNOU MSCMACS MMTE 2 Solved Assignment 2024
TypeSoft Copy (E-Assignment) .pdf
UniversityIGNOU
DegreeMASTER DEGREE PROGRAMMES
Course CodeMSCMACS
Course NameM.Sc. Mathematics with Applications in Computer Science
Subject CodeMMTE 2
Subject NameDesign & Analysis of Algorithms
Year2024
Session-
LanguageEnglish Medium
Assignment CodeMMTE-02/Assignmentt-1//2024
Product DescriptionAssignment of MSCMACS (M.Sc. Mathematics with Applications in Computer Science) 2024. Latest MMTE 02 2024 Solved Assignment Solutions
Last Date of IGNOU Assignment Submission
Last Date of Submission of IGNOU MMTE-02 (MSCMACS) 2024 Assignment is for January 2024 Session: 30th September, 2024 (for December 2024 Term End Exam).
Semester Wise
January 2024 Session:
30th March, 2024 (for June 2024 Term End Exam).
July 2024 Session: 30th September, 2024 (for December 2024 Term End Exam).

Assignment CodeMMTE 2/2024
Rs.
Rs. 50
Questions Included in this Help Book

Ques 1.

The maximum subsequence sum problem is defined as follows: If a^{_{1}},a_{2},...., a_{n}are in Z, find the maximum value \sum_{K=i}^{J}=a_{i, } for all i,J, 1\leq i\leq j\leq 

Ques 2.

a) With the help of an example, explain the following:
i) Algorithm.
ii) Input and output for an algorithm.
iii) Running time of an algorithm.

Ques 3.

b) Using Fig. 7.1 in page 147 of the book as the model, illustrate the operation of Partition on the array

Ques 4.

a) The maximum subsequence sum problem is defined as follows: If a_1,a_2,...,a_n are in Z, find the maximum value \sum_{k=i}^{j}a_i, for all i,\, j,1\leq i\leq j\leq n. We assume that the answer is 0 if all the a_i are negative or if the sum is empty. The following algorithm finds a solution to the problem. Here, we assume that a_i s are stored in the array A.

Maximum-Subsequence(A,MaxSum)

1      Sum\leftarrow 0,MaxSum\leftarrow0

2      for\, i\leftarrow1\: to\: n

3                   do 

                       Sum=Sum+A[i]

                       if Sum>MaxSum

6                               then MaxSum\leftarrow\, Sum

7                               else\: if\, Sum<0

8                                               then\, Sum=0

State precisely a loop invariant for the for loop in line 2–8. Prove that your loop invariant holds and hence conclude that the algorithm works.

b) Analyse the algorithm and find an upper bound for the run time of the above algorithm.

Ques 5.

a) For the set of keys {3, 7, 9, 4, 6, 8, 12} draw binary search trees of height 2, 3, 4, 5 and 6. 
b) Using Fig. 6.3 in page 134 of the book as a model, illustrate the operation of Build-Max-Heap on the array

Ques 6.

a) Show the results of inserting the keys

Ques 7.

Show how mergesort sorts the array

Ques 8.

 For the following set of points, describe how the closest-pair algorithm finds a closest pair of
points: 
(3, 2), (2, 1), (2, 3), (1, 2), (3, 1), (2, 2), (1, 3), (3, −1), (5, −2)

Ques 9.

) Find an optimal parenthesisation of a matrix chain product whose sequence of dimensions is (3, 5, 7, 3, 4).

Ques 10.

a) In the Coin changing problem, we have to give change for n rupees using the least number of coins of a given set of denominations. It is clear that we cannot give change for any

Ques 11.

Show the

Ques 12.

Use Kruskal’s algorithm to find a minimal spanning tree in the graph given in Fig. 2.

Ques 13.

a) Show the comparisons the naive string matcher makes for the pattern P=0100 with 01100010010100100.

Ques 14.

b) When working modulo q=17,how many spurious hits does the Rabin-Karp matcher encounter in the text T=29103292566473 when looking for the patternT=29103292566473 when looking for the pattern 22?

Ques 15.

c) Compute the values (d,x,y) that the call E_{XTENDED}-E_{UCLID} (10117,11591) returns.

Ques 16.

a) Find all the solutions of the equation 6_X\equiv 4 (mod  114).

Ques 17.

Let  {(-1,-5),(0,-4),(1,-1)} and {(-1,14),(0,7),(1,-4)} be the point-value representation of h(x)

Ques 18.

Compute the DFT of the vector (−1, 3, 1, −1).

Rs.
Rs. 50

Related Assignments

subject
Join Our Facebook Group
IGNOU Doubts & Queries
Call Now
Contact Us
New to IGNOU Login to Get Every Update