# NPTEL Design and analysis of algorithms Assignment 1 Answer

We Discuss About That NPTEL Design and analysis of algorithms Assignment 1 Answer

NPTEL Design and analysis of algorithms Assignment 1 Answer – Here All The Questions and Answers Provided to Help All The Students and NPTEL Candidate as a Reference Purpose, It is Mandetory to Submit Your Weekly Assignment By Your Own Understand Level.

Are you looking for the Assignment Answers to NPTEL Design and analysis of algorithms Assignment 1 Answer? If Yes You are in Our Great Place to Getting Your Solution, This Post Should be help you with the Assignment answer to the National Programme on Technology Enhanced Learning (NPTEL) Course “NPTEL Design and analysis of algorithms Assignment 1 Answer”

## NPTEL Design and analysis of algorithms Assignment

ABOUT THE COURSE :
This course will cover basic concepts in the design and analysis of algorithms.
• Asymptotic complexity, O() notation
• Sorting and search
• Algorithms on graphs: exploration, connectivity, shortest paths, directed acyclic graphs, spanning trees
• Design techniques: divide and conquer, greedy, dynamic programming
• Data structures: heaps, union of disjoint sets, search trees
• Intractability
INTENDED AUDIENCE: Students in BE/BTech Computer Science, 2nd/3rd year.
PRE-REQUISITES: Exposure to introductory courses on programming and data structures.
INDUSTRY SUPPORT: This course should be of value to any company working in the area of software services and products.

This course can have Associate in Nursing unproctored programming communication conjointly excluding the Proctored communication, please check announcement section for date and time. The programming communication can have a weightage of twenty fifth towards the ultimate score.

Final score = Assignment score + Unproctored programming exam score + Proctored Exam score
• Assignment score = 25% of average of best 8 assignments out of the total 12 assignments given in the course.
• ( All assignments in a particular week will be counted towards final scoring – quizzes and programming assignments).
• Unproctored programming exam score = 25% of the average scores obtained as part of Unproctored programming exam – out of 100
• Proctored Exam score =50% of the proctored certification exam score out of 100
YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF ASSIGNMENT SCORE >=10/25 AND
UNPROCTORED PROGRAMMING EXAM SCORE >=10/25 AND PROCTORED EXAM SCORE >= 20/50.
If any one of the 3 criteria is not met, you will not be eligible for the certificate even if the Final score >= 40/100.

## BELOW YOU CAN GET YOUR NPTEL Design and analysis of algorithms Assignment 1 Answer 2022? :

Assignment not submitted
All questions carry equal weightage. You may submit as many times as you like within the deadline. Your final submission will be graded.

How many times is the while condition tested if the following function is called as f(165,15)?

```f(m,n) {
ans = 1;
while (m >= 0) {
ans = ans * (ans + 1);
m = m-n;
}
return(ans)
}
```
2 points
ans – 12
2 points

A new game in the appstore called AmazeMe involves finding a path out of an n-dimensional maze. The authors of the game claim there is a solution with worst case complexity O(n4 log n). where n is the number of dimensions.

From this, we can conclude that:

ans – c
Answers will be Uploaded Shortly and it will be Notified on Telegram, So JOIN NOW
2 points
You are executing an algorithm with worst-case time complexity O(n3) on a CPU that can perform 109 operations per second. What is the most accurate bound for the time required to solve a worst case input of size 30,000?

ans – b
2 points

Suppose f(n) is n √ n.  Consider the following statements.

• (A) f(n) is O(n log n)
• (B) f(n) is O(n2)
• (C) f(n) is O(n4)

Which of the following is true?

ans – d
2 points

In the code fragment below, first and last are integer values and composite(x) is a function that returns true if x is not a prime number and false otherwise.

```i = 0; j = 0; k = 0;
for (m = last; m >= first; m = m - 1){
k = k - m;
if (composite(m)){
i = i - m;
}else{
j = j - m;
}
}```
Answers will be Uploaded Shortly and it will be Notified on Telegram, So JOIN NOW
```if (…) {
print("True");
}else{
print("False");
}
```

Which of the following expressions can we put in place of the missing if condition (…) to ensure that the program prints “True”?

ans – b
`Yhaa You have done it but next? if YOU Want to your Others NPTEL Design and analysis of algorithms Assignment 1 Answer Then Follow US HERE and Join Telegram.`