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

Feb 5, 2023

Hello Learners, In this Post, you will find NPTEL The Joy of Computing using Python Assignment 3 Week 3 Answers 2023. All the Answers are provided below to help the students as a reference donâ€™t straight away look for the solutions.

###### NPTEL The Joy of Computing using Python Assignment 4 Answers Join Groupđź‘‡

Note: 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 3 Answers 2023:

#### Q.1. ___________ is the method to insert an item into a specified position in a list.

• Push
• Write
• Insert
• All of the above

• Number of
• Total
• Count
• Length

#### Q.3. The function random.randint(1,100) in python generates.

• A random integer between 1 to 100 with 1 and 100 both inclusive
• A random integer between 1 to 100 with 1 and 100 both exclusive
• A random integer between 1 to 100 with only 100 inclusive
• None of the above

#### Q.4. The method open(â€śfile1.txtâ€ť, r+) opens the file file1.txt in __________________.

• Write only mode
• None of the above

• [2, 3, 5]
• [0, 1, 1]
• [1, 2, 3]
• none

#### Q.6. What is the output of this code?

• 0
• 1
• 2
• This code will raise a runtime error

• False True
• True False
• True True
• False False

#### Q.9. Explain what the output will be when the code given below is executed.

• The program throws an error
• 5
• 5.5
• 4.5

#### Q.10.Which among the following statements is True with respect to the code given below?

• count=50
• The following code throws up an error.
• count=550
• count=450
##### NPTEL The Joy of Computing using PythonAssignment 3 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Â Brokenprogrammers. 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 Layout:
• 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/