The Joy of Computing Using Python Week 7 assignment answers ?  Also, we will discuss about the Programming assignment answers of week 7 in next article. In this article we will discuss about the answers of week of joy of computing. The answers shared here will be on our own knowledge. I am answering these questions with Confident. Please use this answers as reference only. I also providing the proofs.Â
Also Read : The Joy Of Computing Week 6 Programming Assignment Answers
About NptelÂ
NPTEL (National Programme on Technology Enhanced Learning) is a project initiated by the Indian government in 2003 to provide free online courses and educational resources in engineering, science, and humanities. It is a joint initiative of seven Indian Institutes of Technology (IITs) and the Indian Institute of Science (IISc) Bangalore. NPTEL offers online courses in various formats, including video lectures, course materials, and assignments, which are accessible to anyone with an internet connection. It has become one of the largest online repositories of educational resources in the world, with millions of registered users from all over the world. NPTEL is committed to enhancing the quality of engineering education in India and promoting lifelong learning.
The Joy Of Computing Using Python Week 7 AssignmentÂ
Last Date: 15-03-2023
Q1. Which of the following will be the uses of functions?Â
a. Gives a higher-level overview of the task to be performed.Â
b. Reusability- uses the same functionality at various places.Â
c. A better understanding of code.Â
d. All of the above.Â
e. None of the above.Â
Answer: [ D ] All the Above
Q2. What is the output of the following spiral print python function?Â
Â
a. 1 2 3 4 5 6 12 18 17 16 15 14 13 7 8 9 10 11
b. 1 2 3 4 5 6 12 18 17 16 15 14 13Â
c. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
d. 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1Â
Answer: [ B ]Â
Q3. Which of the following library shown below moves the turtle backward?
a. turtle.back(distance)
Â
b. turtle.bk(distance)
Â
c. turtle.backward(distance)
Â
d. All of the above
Answer: [ D ] All the Above
Q4. Which of the following library has to be imported to plot the route map using GPS locationsÂ
   Â
    in python?
a. gmplot
Â
b. csv
Â
c. both
Â
d. NoneÂ
Answer: [ C ] Both
Q5. bytes, bytearray, memoryview are type of the ___ data type.
Â
a. Mapping Type
b. Boolean Type
c. Binary Types
Â
d. All of the above
Â
e. None of the aboveÂ
Answer: [ C ]Â Binary Types
Q6. In the Snakes and Ladders game, the least number of times a player has to roll a die withÂ
   the following ladder positions is _____________ ladders =Â
   { 3: 20, 6: 14, 11: 28, 15: 34, 17: 74, 22: 37, 38: 59, 49: 67, 57: 76, 61: 78, 73: 86, 81: 98, 88: 91 }
Â
a. 4
Â
b. 5
Â
c. 6
Â
d. 7Â
Answer: [ B ]Â 5Â Â
Q7. Which of the following code snippet will create a tuple in python?
Â
a. name = (’kiran’,’bhushan’,’madan’)Â
b. name = {’kiran’,’bhushan’,’madan’}
Â
c. name = [’kiran’,’bhushan’,’madan’]
d. None of the aboveÂ
Answer: [ A ]
Q8. What does the following Program Plot?Â
 a. Plots the random number generated in each iteration
Â
b. Plots the number of times the given input matches with the random number generated
Â
c. Plots the input entered for each iteration
Â
d. none of the above
Answer: [ B ]
Q9. Sentiment analysis involves working with ___________
a. a piece of information is useful or not
b. a piece of information is biased or unbiased
Â
c. a piece of information is true or false
Â
d. a piece of information is positive or negative
Answer: [ D ]
Q10. What does the following code in snippet in python compute.Â
a. checks whether the two given texts are the same
b. searches for text2 in text1
c. finds all the occurrences of text2 in text1
d. none of the aboveÂ
Answer: [ C ]
Conclusion:Â
I Request everyone to revisit the website on/before to last date for any re-verification of answers.
Â
If you have any queries, contact us. I am very thankful to answer you.
Â
NOTE:Â I'm answering these questions to the best of my knowledge.