# NPTEL The Joy Of Computing using Python Week 6 Answers

NPTEL The Joy Of Computing using Python Week 6 Answers: In this article, you will find NPTEL The Joy Of Computing using Python Week 6 Assignment 6 Answer , Use “Ctrl+F” To Find Any Questions Answer. & For Mobile User, You Just Need To Click On Three dots In Your Browser & You Will Get A “Find” Option There. Use These Option to Get Any Random Questions Answer.

For Week 7 Answers Join this Group👇

Note: We are trying to give our best so please share with your friends also.

### NPTEL The Joy Of Computing using Python Week 6 Answers 2022 :-

• 0
• 1
• 2
• 3

#### Q.2. Which of the following is true about recursion?

• Recursion always performs better than nonrecursive code.
• Recursive code is easier to debug
• The base case is necessary for recursion.
• Recursive code can be shorter than non-recursive code.

For Week 7 Answers Join this Group👇

• No output
• braKa
• Abra
• rak

#### Q.4. What will be the output of the following program?

• Sum of first 10 natural numbers.
• Sum of first 9 natural numbers
• The program will never end.
• Sum of numbers from 210(Both inclusive).

#### Q.5. What’s the correct code for Binary search?

• Answer: C
NPTEL  All Weeks Assignment Solution: Click Here

• dim(arr)
• shape(arr)
• arr.shape
• arr.shape()

• EJBNPOE
• FKCORPF
• HMERTSH
• HMEQSRH

#### Q.8. Select the correct statement

1) print(‘9a’.isalnum()) will return True. 2) ‘9a’ contains both alphabetic and numeric parts.
• Option 1 is correct, option 2 is correct. Option 2 is the correct explanation for option 1.
• Option 1 is correct, option 2 is incorrect.
• Option 1 is correct, option 2 is correct. Option 2 is not the correct explanation for 1.
• Option 1 is incorrect, option 2 is incorrect.

#### Q.9. What will be the output of the following program?

• A dictionary with the count of each character in s.
• A dictionary with the count of each special character in s.
• A dictionary with the count of letters in s.
• Error

#### Q.10. Let L be a list containing different names of movies. Which statement is correct to select a random movie name from that list L?

• random.choices(L)
• random.select(L)
• random.movie(L)
• random.random(L)

For Any Update in Answers Join this Group👇

This NPTEL The Joy Of Computing using Python Week 6 Answers is provided by us only for discussion purpose if any answer will be getting wrong don’t blame us. If any doubt or suggestions regarding any question kindly comment. The solution is provided by Chase2learn. This tutorial is only for Discussion and Learning purpose.

#### About NPTEL The Joy Of Computing using Python Course:

A fun filled whirlwind tour of 30 hrs, covering everything you need to know to fall in love with the most sought after skill of the 21st century. The course brings programming to your desk with anecdotes, analogies and illustrious examples. Turning abstractions to insights and engineering to art, the course focuses primarily to inspire the learner’s mind to think logically and arrive at a solution programmatically. As part of the course, you will be learning how to practice and culture the art of programming with Python as a language. At the end of the course, we introduce some of the current advances in computing to motivate the enthusiastic learner to pursue further directions. If you have not registered for exam kindly register Through https://examform.nptel.ac.in/ COURSE LAYOUT The course structure and content covers, over a period of 12 weeks:
• Motivation for Computing
• Welcome to Programming!!
• Variables and Expressions : Design your own calculator
• Loops and Conditionals : Hopscotch once again
• Lists, Tuples and Conditionals : Lets go on a trip
• Abstraction Everywhere : Apps in your phone
• Counting Candies : Crowd to the rescue
• Birthday Paradox : Find your twin
• Google Translate : Speak in any Language
• Currency Converter : Count your foreign trip expenses
• Monte Hall : 3 doors and a twist
• Sorting : Arrange the books
• Searching : Find in seconds
• Substitution Cipher : What’s the secret !!
• Sentiment Analysis : Analyse your Facebook data
• 20 questions game : I can read your mind
• Permutations : Jumbled Words
• Spot the similarities : Dobble game
• Count the words : Hundreds, Thousands or Millions.
• Rock, Paper and Scissor : Cheating not allowed !!
• Lie detector : No lies, only TRUTH
• Calculation of the Area : Don’t measure.
• Six degrees of separation : Meet your favourites
• Image Processing : Fun with images
• Tic tac toe : Let’s play
• Snakes and Ladders : Down the memory lane.
• Recursion : Tower of Hanoi
• Page Rank : How Google Works !!
must share NPTEL The Joy Of Computing using Python Week 6 Answers with your friends
Sharing Is Caring