We Discuss About That NPTEL Programming Data Structures And Algorithms Using Python Assignment 1 Answer

NPTEL Programming Data Structures And Algorithms Using Python Assignment 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 Programming Data Structures And Algorithms Using Python 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Â **Nation**** al Programme on Technology Enhanced LearningÂ (NPTEL)** Course

**â€śNPTEL Programming Data Structures And Algorithms Using Python Assignment 1 Answerâ€ť**

Table of Contents

## NPTEL Programming Data Structures And Algorithms Using Python Assignment

**INTENDED AUDIENCE:**Â Students in any branch of mathematics/science/engineering, 1st year

**PREREQUISITES:**Â Â Â Â Â School level mathematics.

**INDUSTRY SUPPORT:Â Â**This course should be of value to any company requiring programming skills.

**Next Week Assignment Answers**

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.

- 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.Â**

**CHECK HERE OTHERS NPTEL ASSIGNMENTS ANSWERSÂ **

*BELOW YOU CAN GET YOUR NPTEL Programming Data Structures And Algorithms Using Python Assignment 1 Answer 2022***?** :

**?**:

**1. What doesÂ h(27993)Â return for the following function definition?**

```
def h(x):
(d,n) = (1,0)
while d <= x:
(d,n) = (d*3,n+1)
return(n)
```

Answer:- 10

**2. What isÂ g(60) â€“ g(48), given the definition ofÂ gÂ below?**

```
def g(n):
s=0
for i in range(2,n):
if n%i == 0:
s = s+1
return(s)
```

Answer:-2

**3. Consider the following functionÂ f.**

```
def f(n):
s=0
for i in range(1,n+1):
if n//i == i and n%i == 0:
s = 1
return(s%2 == 1)
```

The functionÂ f(n)Â given above returnsÂ TrueÂ for a positive numberÂ nÂ if and only if:

a. nÂ is an odd number.

b. nÂ is a prime number.

c. nÂ is a perfect square.

d. nÂ is a composite number.

Answer:-c

**4. Consider the following functionÂ foo.**

```
def foo(m):
if m == 0:
return(0)
else:
return(m+foo(m-1))
```

Which of the following is correct?

a. The function always terminates with foo(n) = factorial of n

b. The function always terminates with foo(n) = n(n+1)/2

c. The function terminates for nonÂnegative n with foo(n) = factorial of n

d. The function terminates for nonÂnegative n with foo(n) = n(n+1)/2

Answer:-d

Yhaa You have done it but next? if YOU Want to your OthersNPTEL Programming Data Structures And Algorithms Using Python Assignment 1 AnswerThenÂFollow US HEREÂandÂJoin Telegram.