WEEK 1 to 8 ASSIGNMENT SOLUTION of Programming, data structures and algorithms using Python Nptel : TCPTUTOR

43
5461



For exam on Sunday, 7th October, 2018 you may check this post for preparation https://rebrand.ly/learnpythontcp for the course Programming, data structures and algorithms using Python of Nptel.

Solution for Programming, data structures and algorithms using Python of Nptel

Week 8 Programming assignment link https://rebrand.ly/pythonwk8asgn (Due on 2018-10-04, 23:59 IST).

Week 7 quiz solution (Due date for this assignment: 2018-09-27, 23:59 IST. )(kindly visit again before 23:59 IST as answer may get updated if found incorrect) :

Q.1 : fjadcbeghi

Q.2 : 1+self.next.length()

Q.3 : c) The length of the longest path from root to leaf in mytree.

Q.4 : d

Week 6 quiz solution (Due date for this assignment: 2018-09-20, 23:59 IST. ) :

Q.1 : b) 

Q.2 : a) This is true for any u and v.

Q.3 : [98,67,89,38,42,54,89,17,25]

Q.4 : [98,97,89,38,67,54,89,17,25,42]

Week 5 Programming assignment link https://rebrand.ly/pythonwk5asgn (Due on 2018-09-16, 23:59 IST).

Week 4 Programming assignment link https://rebrand.ly/pythonwk4assign (Due on 2018-09-13, 23:59 IST).

Week 4 quiz solution (Due date for this assignment: 2018-09-13, 23:59 IST. ) :

Q.1 : [15, 81, 17, 23, 13]

Q.2 : [(0, 0), (1, 2), (2, 1), (3, 0)]

Q.3 : b)

Q.4 : a) d[[1,2]] = 5



Week 3 Programming assignment link https://rebrand.ly/pythonwk3asgn (Due on 2018-09-06, 23:59 IST).

Week 2 quiz solution (Due on 2018-09-06, 23:59 IST):

Q.1 : 6

Q.2 : d) x[1] == 40, y[1] == 40, w[0] == 4, u[0] == 50

Q.3 : “olleh”

Q.4 : [31,24,75]

Week 1 and 2 assignment solution https://rebrand.ly/pythonweek1and2 . Last date of submission of week 1 assignment is 23rd August, 2018 before 23:59 IST and Last date of submission of week 2 assignment is 6th September, 2018 before 23:59 IST.



43 COMMENTS

  1. I’m very much thank full to you.
    This site is very well organised and frequently updated.
    please provide the answers for 7th week quiz (PDSA using python NPTEL) as well.

  2. i appreciate TCP tutor for their efforts. the solutions are really useful to the beginners. providing a explanation to these solutions will be very useful to the newbies.

LEAVE A REPLY

Please enter your comment!
Please enter your name here