# NPTEL The Joy of Computing using Python Assignment 5 Answers 2023

Hello NPTEL Learners, In this article, you will find NPTEL The Joy of Computing using Python Assignment 5 Week 5 Answers 2023. All the Answers are provided below to help the students as a reference don’t straight away look for the solutions, first try to solve the questions by yourself. If you find any difficulty, then look for the solutions.

###### NPTEL The Joy of Computing using Python Assignment 6 Answers 2023 Join Group👇

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

## NPTEL The Joy of Computing using Python Assignment 5 Answers 2023:

#### Q.1. Binary search can be applied on ___.

• Sorted list
• Unsorted list
• Both A and B
• Any list with any elements

• Wav
• Wave
• Wv
• Waves

#### Q.3. Which of the following libraries can help us to convert audio into lyrics?

• speech_recognition
• text_to_speech
• speech_to_text
• text_translate

#### Q.4. State True or False: In the monte hall problem, swapping the choice does not increase the chance of winning. (For the large number of experiments)

• Swapping will decrease the chance of winning.
• Swapping will increase the chance of winning.
• Swapping will not affect the chance of winning.
• Swapping may or may not increase the chance of winning.

#### Q.5.What is the correct way to initialize a dictionary?

• D = {a-10, b-20, c-30}
• D = {‘a’-10, ‘b’-20, ‘c’-30}
• D = {a:10, b:20, c:30}
• D = {‘a’:10, ‘b’:20, ‘c’:30}

• d.key()
• d.item()
• d.value()
• d.keys()

#### Q.7. Which of the following is valid?.

• D = {‘a’: {‘a’: 10}, ‘b’: 10}
• D = {‘a’: ‘a’: 10, ‘b’: 10}
• D = {‘a’: {‘a’: 10}, ‘b’: {‘b’: 10}}
• D = {‘a’: ‘a’: 10, ‘b’: ‘b’: 10}

#### Q.8. For bubble sort, which of the following statements is true?

• If the list is sorted, the algorithm won’t work.
• In each iteration consecutive pairs of elements are compared with each other.
• Every element is compared with every other element in the list in each iteration.
• Swapping never happens in bubble sort.

• KeyError
• IndexError
• RunTimeError
• ValueError

#### Q.10.In dictionaries, d.items() will return _

• Pairs of all (key, value) together.
• All (keys) and (values) separately.
• All (values) and (keys) separately.
• Pairs of all (value, key) together.
##### NPTEL The Joy of Computing using Python Assignment 5 Answers Join Group👇

Disclaimer: This answer 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.

##### Course Outcome:
• 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
• 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 !!
• 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 !!
###### CRITERIA TO GET A CERTIFICATE:

Average assignment score = 25% of average of best 8 assignments out of the total 12 assignments given in the course.
Exam score = 75% of the proctored certification exam score out of 100

Final score = Average assignment score + Exam score

YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF AVERAGE ASSIGNMENT SCORE >=10/25 AND EXAM SCORE >= 30/75. If one of the 2 criteria is not met, you will not get the certificate even if the Final score >= 40/100.

If you have not registered for exam kindly register Through https://examform.nptel.ac.in/