NPTEL The Joy Of Computing Using Python Assignment 7 Answers

NPTEL The Joy of Computing using Python Assignment 7 Answers 2022:- In this post, We have provided answers to NPTEL The Joy of Computing using Python Assignment 7. We provided answers here only for reference. Please, do your assignment to your own knowledge.

About The Joy Of Computing Using Python

The Joy Of Computing Using Python is 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. This course includes examples of analytics in a wide variety of industries, and we hope that students will learn how you can use analytics in their careers and life. One of the most important aspects of this course is that you, the student, are getting hands-on experience creating analytics models; we, the course team, urge you to participate in the discussion forums and to use all the tools available to you while you are in the course!

CRITERIA TO GET A CERTIFICATE

Average assignment score = 25% of the 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 THE 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.

NPTEL The Joy of Computing using PythonAnswers
Assignment 1Click Here
Assignment 2Click Here
Assignment 3Click Here
Assignment 4Click Here
Assignment 5Click Here
Assignment 6Click Here
Assignment 7Click Here
Assignment 8Click Here
Assignment 9NA
Assignment 10NA
Assignment 11NA
Assignment 12NA

NPTEL The Joy of Computing using Python Assignment 7 Answers 2022 [July – Dec]

1. How ladders & snakes are represented by the instructor?

a. Through lists.
b. Through dictionaries.
c. Through if and elif conditions.
d. Through sets.

Answer:- c

2. Which of the following is the correct full form of CSV?

a. Comma separated values.
b. Colon separated values.
c. Semi-Colons separated values.
d. Tab separated values.

Answer:- a

Answers will be Uploaded Shortly and it will be Notified on Telegram, So JOIN NOW

NPTEL The Joy Of Computing Using Python Assignment 7 Answers

3. Why do we use functions?

a. To improve readability.
b. To reuse code blocks.
c. For the ease of code debugging.
d. For fun.

Answer:- a, b, c

4. In snakes and ladders, what can be the other ways, except for one used by the instructor, to keep track of ladders and snakes?

a. Maintain a dictionary with snakes or ladder number blocks as keys.
b. Using the if condition to check on every number.
c. Using lists.
d. None of the above

Answer:- a, c

5. Which of the following libraries is used for animation?

a. Matplotlib
b. Turtle
c. Random
d. PIL

Answer:- b

6. The spiral animation problem can be broken down into?

a. A list.
b. A 2D table.
c. A 3D table.
d. A dictionary.

Answer:- b

👇For Week 08 Assignment Answers👇

NPTEL The Joy Of Computing Using Python Assignment 7 Answers

7. What is the purpose of the GPS program shown in the lectures?

a. To show directions to the user.
b. To track the directions of the user.
c. To show the way to the user on maps.
d. None of the above.

Answer:- b

8. What does the following program will do after execution?

NPTEL The Joy Of Computing Using Python Assignment 7 Answers
  • Rename snakesraw.png as snakes.png
  • Make a copy of snakesraw.png with the name snakes.png
  • Make a copy of snakesraw.png with the name snakes.jpeg
  • Throws an error
Answer:- For Answer Click Here

9. Which of the following code will draw a star?

Answer:- For Answer Click Here

10. Which method is used to fill color in shapes drawn by the turtle?

a. color
b. fillcolor
c. changecolor
d. putcolor

Answer:- b

Programming Assignment Week 7

Q1. Given a sqaure matrix M, write a function DiagCalc which calculate the sum of left and right diagonals and print it respectively.(input will be handled by us)

Code:-

Answers will be Uploaded Shortly and it will be Notified on Telegram, So JOIN NOW

Q2. Given a matrix M write a function Transpose which accepts a matrix M and return the transpose of M.
Transpose of a matrix is a matrix in which each row is changed to a column or vice versa.

Code:-

Q3. Given a matrix M write a function snake that accepts a matrix M and returns a list which contain elements in snake pattern of matrix M. (See explanation to know what is snake pattern)

Code:-

Answers will be Uploaded Shortly and it will be Notified on Telegram, So JOIN NOW

NPTEL The Joy Of Computing Using Python Assignment 7 Answers 2022 {Jan – June}

Q1. Values of CSV files are separated by?

a. Commas 
b. Colons 
c. Semi-colons 
d. Slash

Answer:- a. Commas 

👇FOR NEXT WEEK ASSIGNMENT ANSWERS👇

NPTEL The Joy Of Computing Using Python Assignment 7 Answers

Q2. What is the output of the following code?

NPTEL The Joy Of Computing Using Python Assignment 7 Answers
  • 1, 2, 3, 7, 11, 10, 9, 5, 6 
  • 1, 2, 3, 5, 6, 7, 9, 10, 11 
  • 1, 5, 9, 10, 11, 7, 3, 2, 6 
  • 1, 5, 9, 2, 6, 10, 3, 7, 11

Answer: c

Q3. What will be the output of the following code?

NPTEL The Joy Of Computing Using Python Assignment 7 Answers
  • Scalar triangle 
  • Right angle triangle 
  • Equilateral triangle 
  • Isosceles triangle

Answer: c

Q4. Which of the following program will draw a hexagon?

Answer: b

Q5. Which of the following library is used to render data on google maps?

Answer: c

Q6. What is the output of the following code?

Answer:- d

NOTE:- Coding Answers Will be Updated Shortly and will be notified on Telegram, So JOIN NOW

NPTEL The Joy Of Computing Using Python Assignment 7 Answers

Q7. Which turtle command is equivalent to lifting up a pen.

Answer: b

Q8. Why do we use functions?

Answer: d

Q9. Library used to import images?

Answer: a

Q10. In snakes and ladder what can be the ways to track ladders and snakes?

Answer: c

👇FOR NEXT WEEK ASSIGNMENT ANSWERS👇

NPTEL The Joy Of Computing Using Python Assignment 7 Answers

Disclaimer:- We do not claim 100% surety of solutions, these solutions are based on our sole expertise, and by using posting these answers we are simply looking to help students as a reference, so we urge do your assignment on your own.

For More NPTEL Answers:- CLICK HERE

Join Our Telegram:- CLICK HERE

1 thought on “NPTEL The Joy Of Computing Using Python Assignment 7 Answers”

Leave a Comment