NPTEL The Joy Of Computing Using Python Assignment 11 Answers

NPTEL The Joy of Computing using Python Assignment 11 Answers 2022:- All the Answers are provided here to help the students as a reference, You must submit your assignment at your own knowledge.

What is 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 9Click Here
Assignment 10Click Here
Assignment 11Click Here
Assignment 12Click Here

NPTEL The Joy Of Computing Using Python Assignment 11 Answers 2022:-

Q1. Which library is used for browser automation?

a. nltk 
b. numpy 
c. selenium 
d. PIL

Answer:- c. selenium 

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

NPTEL The Joy Of Computing Using Python Assignment 11 Answers

Q2. time.time() will return?

  • Time in seconds. 
  • Current date and time. 
  • Time in minutes 
  • The current date, time and year.

Answer: a

Q3. Library used to get all timezones?

  • selenium 
  • calender 
  • nltk 
  • pytz

Answer: d

Q4. The output of the following code will be?

  • Date and time in dd- mm-yy hh:MM:ss:ms respectively. 
  • Time and date in hh:MM:ss:ms dd- mm-yy respectively. 
  • Date and time in mm-dd-yy hh:MM:ss:ms respectively. 
  • Date and time in yy- mm-dd hh:MM:ss:ms respectively.

Answer: d

Q5. We can use the same web drivers for different browsers.

  • True 
  • False

Answer: a

👇FOR NEXT WEEK ASSIGNMENT ANSWERS👇

NPTEL The Joy Of Computing Using Python Assignment 11 Answers

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

Answer:- a

Q7. What will be the output if the system date is 10 December 2021(Friday)?

Answer: c

Q8. Which statement will return the calendar for a whole year?

Answer: d

Q9. By which statement we can come out from the loop?

Answer: d

If there are any changes in answers will notify you on telegram so you can get a 100% score, So Join

Q10. How to check for the leap year?

  • calendar.leap(year) 
  • calendar.is_leap(year) 
  • calendar.isleap(year) 
  • calendar.checkleap(year)

Answer: c

Programming Assignment Answers

Q1. Take 3 sides of a triangle as an input and find whether that triangle is a right angled triangle or not. Print ‘YES’ if a triangle is right angled triangle or ‘NO’ if it’s not.

Code:-

a=int(input())
b=int(input())
c=int(input())
L=[a,b,c]
h=max(L)
L.remove(h)
if h**2==L[0]**2+L[1]**2:
  print("YES",end="")
else:
  print("NO",end="")

Q2. Write a program that accepts a hash-separated sequence of words as input and prints the words in a hash-separated sequence after sorting them alphabetically in reverse order.

Code:-

L=sorted(input().split("#"),reverse=True)
print("#".join(L),end="")

Q3. Write a program which takes two integer a and b and prints all composite numbers between a and b.(both numbers are inclusive)

Code:-

prime=[2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 
       59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113,
       127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 
       191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251,
       257, 263, 269, 271, 277, 281, 283, 293]
a=int(input())
b=int(input())
for i in range(a,b+1):
    if i not in prime:
      print(i) 

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

NPTEL The Joy of Computing using Python Assignment 11 Answers 2022:- All the Answers are provided here to help the students as a reference, You must submit your assignment at your own knowledge.

Leave a Comment